program: Comment
LHLD 3000H -load first 16 bit in HL reg. pair from memory specified
XCHG -Exchange content of HL to DE
LHLD 3002H - load second 16 bit HL reg.-pair
MOV A, L -moved L into A register
ADD E -add two data
MOV L,A -moved A into L register
MOV A,H -moved H into A register
ADC D - add two data
MOV H,A - moved A into h register
SHLD 3004H - store content of HL register
HLT - stop
No comments:
Post a Comment
huhiuh