NEC 78K/0S Series User Manual page 60

8-bit single-chip microcontroller
Table of Contents

Advertisement

MOV
[Instruction format]
[Operation]
[Operand]
Mnemonic
MOV
r, #byte
saddr, #byte
sfr, #byte
A, r
r, A
A, saddr
saddr, A
A, sfr
sfr, A
A, !addr16
Note Except r = A
[Flag]
PSW, #byte and PSW, A
operands
Z
AC
×
×
[Description]
The contents of the source operand (src) specified by the 2nd operand are transferred to the destination
operand (dst) specified by the 1st operand.
No interrupts are acknowledged between the "MOV PSW, #byte" instruction or the "MOV PSW, A" instruction
and the subsequent instruction.
[Description example]
MOV A, #4DH; 4DH is transferred to A register.
60
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
MOV dst, src
dst ← src
Operand (dst, src)
Note
Note
All other operand
combinations
CY
Z
×
User's Manual U11047EJ3V0UM00
Mnemonic
Operand (dst, src)
MOV
!addr16, A
PSW, #byte
A, PSW
PSW, A
A, [DE]
[DE], A
A, [HL]
[HL], A
A, [HL + byte]
[HL + byte], A
AC
CY
Move
Byte Data Transfer

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents