NEC 78K/0 Series User Manual

Page 49

Advertising
background image

49

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

User's Manual U12326EJ4V0UM

Move

MOV

Byte Data Transfer

[Instruction format]

MOV dst, src

[Operation]

dst

src

[Operand]

Mnemonic

Operand(dst,src)

Mnemonic

Operand(dst,src)

MOV

r, #byte

MOV

A, PSW

saddr, #byte

PSW, A

sfr, #byte

A, [DE]

A, r

Note

[DE], A

r, A

Note

A, [HL]

A, saddr

[HL], A

saddr, A

A, [HL+byte]

A, sfr

[HL+byte], A

sfr, A

A, [HL+B]

A, !addr16

[HL+B], A

!addr16, A

A, [HL+C]

PSW, #byte

[HL+C], A

Note Except r = A

[Flag]

PSW, #byte and PSW,

All other operand

A operands

combinations

Z

AC

CY

Z

AC

CY

Ч

Ч

Ч

[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/MOV PSW, A instruction and the

next instruction.

[Description example]

MOV A, #4DH; 4DH is transferred to the A register.

Advertising