
A CPU Instruction Set Details

SLTU rd, rs, rt
Description:
The contents of general register rt are subtracted from the contents of general register rs. Considering both quantities as unsigned integers, if the contents of general register rs are less than the contents of general register rt, the result is set to one; otherwise the result is set to zero.
The result is placed into general register rd.
No integer overflow exception occurs under any circumstances. The comparison is valid even if the subtraction used during the comparison overflows.
Exceptions:
None





Generated with CERN WebMaker
![]()