Increment/Decrement Instructions - NEC PD75402A User Manual

4-bit single-chip microcomputer
Table of Contents

Advertisement

9.4.5

Increment/Decrement Instructions

INCS reg
Function: reg
reg + 1; Skip if reg = 0
Increments the contents of register reg (X, A, H, L). When the contents of register reg become 0 as the result
of incrementing, skips the next instruction.
INCS mem
Functions: (mem)
(mem) + 1; Skip if (mem) = 0, mem = D
Increments the data memory contents addressed by 8-bit immediate data mem. When the data memory
contents become 0 as a result of incrementing, skips the next instruction.
DECS reg
Function: reg
reg - 1; Skip if reg = FH
Decrements the contents of register reg (X, A, H, L). When the contents of register reg become FH as a result
of decrementing, skips the next instruction.
166
CHAPTER 9. INSTRUCTION SET
to D
7
: 00H to FFH
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd75p402

Table of Contents