English
Language : 

UPD30102 Datasheet, PDF (661/701 Pages) NEC – 64/32-bit Microprocessor
CHAPTER 27 CPU INSTRUCTION SET DETAILS
TGEU
Trap If Greater Than Or Equal Unsigned
TGEU
31
26 25
21 20
16 15
SPECIAL
000000
rs
rt
6
5
5
code
10
65
0
TGEU
110001
6
Format:
TGEU rs, rt
Description:
The contents of general register rt are compared to the contents of general register rs. Considering both
quantities as unsigned integers, if the contents of general register rs are greater than or equal to the contents of
general register rt, a trap exception occurs.
The code field is available for use as software parameters, but is retrieved by the exception handler only by
loading the contents of the memory word containing the instruction.
Operation:
32, 64 T:
if (0 || GPR [rs]) > (0 || GPR [rt]) then
TrapException
endif
Exceptions:
Trap exception
661