Incw – NEC 78K/0 Series User Manual

Page 73

Advertising
background image

73

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

User's Manual U12326EJ4V0UM

Increment Word

INCW

Word Data Increment

[Instruction format]

INCW dst

[Operation]

dst

dst + 1

[Operand]

Mnemonic

Operand(dst)

INCW

rp

[Flag]

Z

AC

CY

[Description]

The destination operand (dst) contents are incremented by only one.

Because this instruction is frequently used for increment of a register (pointer) used for addressing, the Z,

AC and CY flag contents are not changed.

[Description example]

INCW HL; The HL register is incremented.

Advertising