NEC PD754144 User Manual page 258

4-bit single-chip microcontrollers
Table of Contents

Advertisement

MOV mem, A
Function: (mem)
A mem = D
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)
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').
258
CHAPTER 11 INSTRUCTION SET
: 00H to FFH
7-0
X mem = D
: 00H to FEH
7-0
User's Manual U10676EJ3V0UM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents