EasyManua.ls Logo

Infineon TriCore TC1.6P - JGE - Jump if Greater than or Equal; JGE.U - Jump if Greater than or Equal Unsigned

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-127
JGE
Jump if Greater Than or Equal
JGE.U
Jump if Greater Than or Equal Unsigned
Description
If the contents of D[a] are greater than or 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.
Operands are treated as signed (JGE) or unsigned (JGE.U), 32-bit integers. The const4 value is sign-extended
(JGE) or zero-extended (JGE.U).
JGED[a], const4, disp15 (BRC)
if (D[a] >= sign_ext(const4)) then PC = PC + sign_ext(disp15) * 2;
JGED[a], D[b], disp15 (BRR)
if (D[a] >= D[b]) then PC = PC + sign_ext(disp15) * 2;
JGE.UD[a], const4, disp15 (BRC)
if (D[a] >= zero_ext(const4)) then { // unsigned comparison
PC = PC + sign_ext(disp15) * 2;
}
JGE.UD[a], D[b], disp15 (BRR)
if (D[a] >= D[b]) then PC = PC + sign_ext(disp15) * 2; // unsigned comparison
Status Flags
C Not set by these instructions.
V Not set by these instructions.
SV Not set by these instructions.
AV Not set by these instructions.
SAV Not set by these instructions.
31
00
H
30
disp15
16 15
const4
12 11
a
8 7
FF
H
0
31
00
H
30
disp15
16 15
b
12 11
a
8 7
7F
H
0
31
01
H
30
disp15
16 15
const4
12 11
a
8 7
FF
H
0
31
01
H
30
disp15
16 15
b
12 11
a
8 7
7F
H
0

Table of Contents

Related product manuals