====== sort / 0xC4 ====== [[risc:opcodes|Opcode map]] ^ Property ^ Definition ^ | OP | ''0xC4'' | | Operands | ''S3,S2,S1'' | | Operation | Sorts register indices into Seg0/1/2 by values. Ties: S1 smallest then S2. Shifts four identical flags into Clip based on ceil(max)-1 < ceil(min). | | Timing | 2 cycles; Seg hazard 3, Clip hazard 2 | [[risc:hazards|Instruction hazards]] ยท [[registers:opcodes:start|Instruction formats]] Source: [[https://verite.3d32.org/_media/source/v2200spec.pdf#page=9|Technical Spec, p.9]]