Movw – NEC 78K/0 Series User Manual

Page 52

Advertising
background image

52

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

User's Manual U12326EJ4V0UM

Move Word

MOVW

Word Data Transfer

[Instruction format]

MOVW dst, src

[Operation]

dst

src

[Operand]

Mnemonic

Operand(dst,src)

Mnemonic

Operand(dst,src)

MOVW

rp, #word

MOVW

sfrp, AX

saddrp, #word

AX, rp

Note

sfrp, #word

rp, AX

Note

AX, saddrp

AX, !addr16

saddrp, AX

!addr16, AX

AX, sfrp

Note Only when rp = BC, DE or HL

[Flag]

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.

[Description example]

MOVW AX, HL; The HL register contents are transferred to the AX register.

[Caution]

Only an even address can be specified. An odd address cannot be specified.

Advertising