SN8P2740 Series
ADC, OP-amp, Comparator 8-Bit Micro-Controller
If the destination increased by 1, which results overflow of 0xFF to 0x00, the PC will add 2 steps to skip next
instruction.
INCS instruction:
INCS
JMP
…
…
NOP
BUF0
C0STEP
; Jump to C0STEP if ACC is not zero.
; Jump to C0STEP if BUF0 is not zero.
C0STEP:
INCMS instruction:
INCMS
JMP
…
BUF0
C0STEP
…
C0STEP:
NOP
If the destination decreased by 1, which results underflow of 0x01 to 0x00, the PC will add 2 steps to skip next
instruction.
DECS instruction:
DECS
JMP
…
BUF0
C0STEP
; Jump to C0STEP if ACC is not zero.
…
C0STEP:
NOP
DECMS instruction:
DECMS
JMP
…
BUF0
C0STEP
; Jump to C0STEP if BUF0 is not zero.
…
C0STEP:
NOP
SONiX TECHNOLOGY CO., LTD
Page 27
Version 2.0