266
µPD750008 USER'S MANUAL
Then skips the immediately following instruction.
When HL– (automatic decrement) is specified for the register pair, automatically decrements the contents
of the L register by one after the data transfer, and continues the operation until the contents are set to FH.
Then skips the immediately following instruction.
MOV XA,@HL
Function: A <– (HL), X <– (HL+1)
Transfers the data at the data memory location addressed by the HL register pair to the A register, and
transfers the data at the next data memory address to the X register.
However, if the contents of the L register are odd- numbered, an address with the low-order bit ignored
is specified.
Example The data at addresses 3EH and 3FH are transferred to the XA register pair.
MOV HL, #3EH
MOV XA, @HL
MOV @HL,A
Function: (HL) <– A
Transfers the contents of the A register to the data memory location addressed by the HL register pair.
MOV @HL,XA
Function: (HL) <– A, (HL+1) <– X
Transfers the contents of the A register to the data memory location addressed by the HL register pair, and
transfers the contents of the X register to the next memory address.
However, if the contents of the L register are odd- numbered, an address with the low-order bit ignored
is specified
MOV A,mem
Function: A <– (mem) mem = D7-0: 00H-FFH
Transfers the data at the data memory location addressed by the 8-bit immediate data mem to the A register.