Professional Documents
Culture Documents
Add 16-Bit With Carry
Add 16-Bit With Carry
Add 16-Bit With Carry
com
Page No. 1
www.eazynotes.com
Page No. 2
Mnemonics
LHLD
Operand
3000 H
Opcode
2A 00 30 EB 2A 02 30 0E 00 19 D2 0E 20 0C 22 04 30 79 32 06 30 76
Remarks
Load H-L pair with data from 3000 H
XCHG LHLD
3002 H
Exchange H-L pair with D-E pair Load H-L pair with data from 3002 H
C, 00 H D 200E H
Move 0 to C Add D-E pair with H-L pair Jump to location 200E H if no carry
INR SHLD
C 3004 H
MOV STA
A, C 3006 H
HLT
Halt