LXI, DAD, instruction

5. LXI: Load register Pair immediate

Eg:- LXI H, 2030H (This instruction loads the memory address in HL register, here it works as memory pointer)


6. DAD: -  Add register pair to HL register. The 16-bit contents of the specified register pair are
added to the contents of the HL register and the sum is stored in the HL register. The contents of the source register pair are not altered. If the result is larger than 16 bits, the CY flag is set. No other flags are affected.

2 comments: