TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-144
JNZ (16-bit)
Jump if Not Equal to Zero (16-bit)
Description
JNZD[15], disp8 (SB)
JNZD[b], disp4 (SBR)
Status Flags
Examples
See Also
JGEZ (16-bit), JGTZ (16-bit), JLEZ (16-bit), JLTZ (16-bit), JZ (16-bit)
If contents of either D[b] (instruction format SBR) or D[15] (instruction format SB) are not equal to zero, then add
value specified by either disp4 (format SBR) or disp8 (format SB), zero-extended (disp4) or sign-extended (disp8)
and multiplied by 2, to the contents of PC and jump to that address.
if (D[15] != 0) then PC = PC + sign_ext(disp8) * 2;
if (D[b] != 0) then PC = PC + zero_ext(disp4) * 2;
C Not set by this instruction.
V Not set by this instruction.
SV Not set by this instruction.
AV Not set by this instruction.
SAV Not set by this instruction.
jnz d2, foobar
jnz d15, foobar