EasyManua.ls Logo

Infineon TriCore TC1.6P - JNE - Jump if Not Equal

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-139
JNE
Jump if Not Equal
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. The const4 value is sign-extended.
JNED[a], const4, disp15 (BRC)
if (D[a] != sign_ext(const4)) then PC = PC + sign_ext(disp15) * 2;
JNED[a], D[b], disp15 (BRR)
if (D[a] != D[b]) then PC = PC + sign_ext(disp15) * 2;
JNED[15], const4, disp4 (SBC)
JNED[15], const4, disp4 (SBC)
JNED[15], D[b], disp4 (SBR)
JNED[15], D[b], disp4 (SBR)
If the contents of D[15] are not equal to the contents of either D[b] (instruction format SBR) or const4 (instruction
format SBC), then add the value specified by either disp4 or disp4 + 16 , zero-extended and multiplied by 2, to
the contents of PC and jump to that address. The const4 value is sign-extended.
if (D[15] != sign_ext(const4)) then PC = PC + zero_ext(disp4) * 2;
if (D[15] != sign_ext(const4)) then PC = PC + zero_ext(disp4 + 16) * 2;
if (D[15] != D[b]) then PC = PC + zero_ext(disp4) * 2;
31
01
H
30
disp15
16 15
const4
12 11
a
8 7
DF
H
0
31
01
H
30
disp15
16 15
b
12 11
a
8 7
5F
H
0
15
const4
12 11
disp4
8 7
5E
H
0
15
const4
12 11
disp4
8 7
DE
H
0
15
b
12 11
disp4
8 7
7E
H
0

Table of Contents

Related product manuals