NEC PD754144 User Manual page 256

4-bit single-chip microcontrollers
Table of Contents

Advertisement

MOV A, @HL
Function: A
(HL)
Transfers the contents of the data memory content addressed by register pair HL is transferred to the A register.
MOV A, @HL+
Function: A
(HL), L
skip if L = 0H
Transfers the contents of the data memory addressed by register pair HL to the A register. Then, the contents
of the L register are automatically incremented by one, and if the contents of the L register become 0H as a result,
the next instruction is skipped.
MOV A, @HL–
Function: A
(HL), L
skip if L = FH
Transfers the contents of the data memory addressed by register pair HL to the A register. Then, the contents
of the L register are automatically decremented by one, and if the contents of the L register become FH as a result
the next instruction is skipped.
MOV A, @rpa1
Function: A
(rpa)
Where rpa = HL+: skip if L = 0
where rpa = HL–: skip if L = FH
Transfers the contents of the data memory addressed by register pair rpa (HL, HL+, HL–, DE, or DL) to the A
register.
If autoincrement (HL+) is specified as rpa, the contents of the L register are automatically incremented by one after
the data has been transferred. If the contents of the L register become 0 as a result, the next instruction is skipped.
If autodecrement (HL–) is specified as rpa, the contents of the L register are automatically decremented by one
after the data has been transferred. If the contents of the L register become FH as a result, the next instruction is
skipped.
256
CHAPTER 11 INSTRUCTION SET
L+1
L–1
User's Manual U10676EJ3V0UM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents