EasyManua.ls Logo

Infineon TriCore TC1.6P - JNEI - Jump if Not Equal and Increment

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-143
JNEI
Jump if Not Equal and Increment
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. Increment the value in D[a] by one. The const4 value is sign-extended.
JNEID[a], const4, disp15 (BRC)
if (D[a] != sign_ext(const4)) then PC = PC + sign_ext(disp15) * 2;
D[a] = D[a] + 1;
The increment is unconditional.
JNEID[a], D[b], disp15 (BRR)
if (D[a] != D[b]) then PC = PC + sign_ext(disp15) * 2;
D[a] = D[a] + 1;
The increment is unconditional.
Status Flags
Examples
jnei d1, d2, foobar
jnei d1, #6, foobar
See Also
JNED, 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
00
H
30
disp15
16 15
const4
12 11
a
8 7
9F
H
0
31
00
H
30
disp15
16 15
b
12 11
a
8 7
1F
H
0

Table of Contents

Related product manuals