start: alias sorter d0 jal distribute alias sorter d1 jal distribute alias sorter d2 jal distribute alias sorter d3 jal distribute alias sorter d4 jal distribute alias sorter d5 jal distribute yield j start distribute: bdns sorter ra ls r0 sorter 0 Occupied blez r0 ra # no input ls r0 sorter 2 Occupied bgtz r0 bypass s sorter Output 1 j ra bypass: s sorter Output 0 j ra |
MIPS is the programming language used by IC (integrated circuits) in the game Stationeers. Stationeering web site has a MIPS emulator with syntax highlighting and error detection.