/opcodes/ld

Register and Data manipulation // LD (LoaD)

Description

The contents of any register r' are loaded to any other register r. r, r' identifies any of the registers A, B, C, D, E, H, or L, assembled as follows in the object code: Register r, C A 111 B 000 C 001 D 010 E 011 H 100 L 101

Example

If the H Register contains the number 8Ah, and the E register contains 10h, the instruction LD H, E results in both registers containing 10h.

Opcodes