Hi Friend here i am written ALP FOR INTERFACING ADC WITH 8085 PROCESSOR
PROGRAM:
MVI A,10
OUT C8
MVI A,18
OUT C8
MVI A,10
OUT D0
XRA A
XRA A
XRA A
MVI A,00
OUT D0
LOOP: IN D8
ANI 01
CPI 01
JNZ LOOP
IN C0
STA 4150
HLT
OBSERVATION:
Compare the data displayed at the LEDs with that stored at location 4150
RESULT:
Thus the ADC was initiated and the digital data was stored at desired location
No comments:
Post a Comment