TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-124
JEQ
Jump if Equal
Description
If the contents of D[a] are equal to the contents of either D[b] or const4, 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.
JEQD[a], const4, disp15 (BRC)
if (D[a] == sign_ext(const4)) then PC = PC + sign_ext(disp15) * 2;
JEQD[a], D[b], disp15 (BRR)
if (D[a] == D[b]) then PC = PC + sign_ext(disp15) * 2;
JEQD[15], const4, disp4 (SBC)
JEQD[15], const4, disp4 (SBC)
JEQD[15], D[b], disp4 (SBR)
JEQD[15], D[b], disp4 (SBR)
If the contents of D[15] are equal to the contents of either D[b] or const4, 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
00
H
30
disp15
16 15
const4
12 11
a
8 7
DF
H
0
31
00
H
30
disp15
16 15
b
12 11
a
8 7
5F
H
0
15
const4
12 11
disp4
8 7
1E
H
0
15
const4
12 11
disp4
8 7
9E
H
0