Decw – NEC 78K/0 Series User Manual

Page 74

Advertising
background image

74

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

User's Manual U12326EJ4V0UM

Decrement Word

DECW

Word Data Decrement

[Instruction format]

DECW dst

[Operation]

dst

dst – 1

[Operand]

Mnemonic

Operand (dst)

DECW

rp

[Flag]

Z

AC

CY

[Description]

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

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

AC and CY flag contents are not changed.

[Description example]

DECW DE; The DE register is decremented.

Advertising