alias reagents r15 define MAXREAGENTS 390 start: yield alias centrifuge d0 jal maybeunload alias centrifuge d1 jal maybeunload j start # maybeunload: l r0 centrifuge On l reagents centrifuge Reagents s db Setting r0 bnez r0 running # powered off bgt reagents 10 unload # empty, spin up s centrifuge Open 0 s centrifuge On 1 j ra unload: s centrifuge Open 1 j ra running: slt r0 reagents MAXREAGENTS #s db Setting reagents s centrifuge On r0 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.