sort / 0xC4

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

Instruction hazards · Instruction formats

Source: Technical Spec, p.9