RosettaCodeData/Task/Pointers-and-references/Z80-Assembly/pointers-and-references-2.z80
2023-07-01 13:44:08 -04:00

2 lines
188 B
Z80 Assembly

ld h,(bc) ;if (bc) or (de) is the operand of a LD command, the other operand must be A.
ld e,(&A000) ;if a constant pointer is the operand of a LD command, the other operand must be A.