EasyManua.ls Logo

Infineon TriCore TC1.6P - JNED - Jump if Not Equal and Decrement

Infineon TriCore TC1.6P
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-142
JNED
Jump if Not Equal and Decrement
Description
If the contents of D[a] are not equal to the contents of either D[b] (instruction format BRR) or const4 (instruction
format BRC), then add the value specified by disp15, sign-extended and multiplied by 2, to the contents of PC and
jump to that address. Decrement the value in D[a] by one. The const4 value is sign-extended.
JNEDD[a], const4, disp15 (BRC)
if (D[a] != sign_ext(const4)) then PC = PC + sign_ext(disp15) * 2;
D[a] = D[a] - 1;
The decrement is unconditional.
JNEDD[a], D[b], disp15 (BRR)
if (D[a] != D[b]) then PC = PC + sign_ext(disp15) * 2;
D[a] = D[a] - 1;
The decrement is unconditional.
Status Flags
Examples
jned d1, d2, foobar
jned d1, #6, foobar
See Also
JNEI, LOOP, LOOPU
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.
31
01
H
30
disp15
16 15
const4
12 11
a
8 7
9F
H
0
31
01
H
30
disp15
16 15
b
12 11
a
8 7
1F
H
0

Table of Contents

Related product manuals