define TANKHASH HASH("StructureTankBig") define DISPHASH HASH("StructureConsoleLED1x2") alias tankhash r15 alias disphash r14 start: yield move tankhash HASH("tank O2") move disphash HASH("disp O2") jal showpressure move tankhash HASH("tank H2o") move disphash HASH("disp H2O") jal showliquid s db Setting r0 move tankhash HASH("tank vol") move disphash HASH("disp vol") jal showpressure move tankhash HASH("tank CO2") move disphash HASH("disp CO2") jal showpressure move tankhash HASH("tank X") move disphash HASH("disp X") jal showpressure move tankhash HASH("tank N2") move disphash HASH("disp N2") jal showpressure move tankhash HASH("tank N2O") move disphash HASH("disp N2O") jal showpressure j start showpressure: lbn r0 TANKHASH tankhash Pressure Average bnan r0 ra sbn DISPHASH disphash Setting r0 j ra showliquid: lbn r0 HASH("StructureLiquidTankBig") tankhash VolumeOfLiquid Average bnan r0 ra sbn DISPHASH disphash Setting 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.