TSK3000A Generic Instruction - SGE
Frozen Content
Instruction: Set On Greater Than Or Equal To
Assembler Format | Example | Translates to... |
---|---|---|
sge rC, rA, rB | sge $3, $4, $5 | slt rC, rA, rB |
sge rC, rA, IMM32 | sge $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:
slti rC, rA, IMM32
xori rC, rC, 1