Intel 8XC196NT User Manual page 424

Table of Contents

Advertisement

Mnemonic
DJNZW
DECREMENT AND JUMP IF NOT ZERO
WORD. Decrements the value of the word
operand by 1. If the result is 0, control passes
to the next sequential instruction. If the result
is not 0, the instruction adds to the program
counter the offset between the end of this
instruction and the target label, effecting the
jump. The offset must be in the range of –128
to +127
(COUNT)
if (COUNT)
PC
end_if
Z
DPTS
DISABLE PERIPHERAL TRANSACTION
SERVER (PTS). Disables the peripheral
transaction server (PTS).
PTS Disable (PSW.2)
Z
Table A-6. Instruction Set (Continued)
Operation
(COUNT) –1
0 then
PC + 8-bit disp
PSW Flag Settings
N
C
V
VT
0
PSW Flag Settings
N
C
V
VT
INSTRUCTION SET REFERENCE
Instruction Format
DJNZW wreg,cadd
(11100001) (wreg) (disp)
NOTE: The displacement (disp) is sign-
extended to 24 bits.
ST
DPTS
(11101100)
ST
A-15

Advertisement

Table of Contents
loading

Table of Contents