CHAPTER 11 INSTRUCTION SET
258
User’s Manual U10676EJ3V0UM
MOV mem, A
Function:
(mem)
←
A mem = D
7-0
: 00H to FFH
Transfers the contents of the A register to the data memory addressed by 8-bit immediate data mem.
MOV mem, XA
Function:
(mem)
←
A, (mem+1)
←
X mem = D
7-0
: 00H to FEH
Transfers the contents of the A register to the data memory addressed by 8-bit immediate data mem and the
contents of the X register to the next memory address.
The address that can be specified by mem is an even address.
MOV A, reg
Function:
A
←
reg
Transfers the contents of register reg (X, A, H, L, D, E, B, or C) to the A register.
MOV XA, rp’
Function:
XA
←
rp’
Transfers the contents of register pair rp’ (XA, HL, DE, BC, XA’, HL’, DE’, or BC’) to register pair XA.
Application example
To transfer the data of register pair XA’ to register pair XA
MOV XA, XA’
MOV reg1, A
Function:
reg1
←
A
Transfers the contents of the A register to register reg1 (X, H, L, D, E, B, or C).
MOV rp’1, XA
Function:
rp’1
←
XA
Transfers the contents of register pair XA to register pair rp’1 (HL, DE, BC, XA’, HL’, DE’, or BC’).