alias valve d0 alias sensor d1 define MAXTEMP 290 define VENTHASH -1129453144 define PUMPHASH -321403609 start: l r0 sensor Temperature slt r1 r0 MAXTEMP sgt r2 r0 MAXTEMP bdns valve skipvalve s valve On r1 skipvalve: #sb HASH("Active Vent") On r2 #sb HASH("Volume Pump") On r2 #sb HASH("Active Vent") PressureInternal 18000 sb VENTHASH On r2 sb PUMPHASH On r2 sb VENTHASH PressureInternal 18000 yield j start |
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.