TSK3000A Generic Instruction - SGEU
Frozen Content
Instruction: Set On Greater Than Or Equal To Unsigned
Assembler Format | Example | Translates to... |
---|---|---|
sgeu rC, rA, rB | sgeu $3, $4, $5 | sltu rC, rA, rB |
sgeu rC, rA, IMM32 | sgeu $3, $4, 0x12345678 | li $at, IMM32 |
Notes
If IMM32 is in the range -215 to 215 - 1 (i.e. from 0000_0000h
to 0000_7FFFh
or from FFFF_8000h
to FFFF_FFFFh
) then the second macro format translates to:
sltiu rC, rA, IMM32
xori rC, rC, 1