alias valve d0 alias sensor d1 alias contingencypump d2 # for cycling the cooled ga define MAXTEMP 290 define VENTHASH -1129453144 define PUMPHASH -321403609 alias cycle r15 start: yield l r0 sensor TotalMoles beqz r0 start l r0 sensor Temperature slt r1 r0 MAXTEMP sgt r2 r0 MAXTEMP bdns valve skipvalve s valve On r1 skipvalve: sb VENTHASH On r2 sb PUMPHASH On r2 sb VENTHASH PressureInternal 18000 bdns contingencypump nocontingency add cycle cycle 1 mod cycle cycle 100 bgt cycle 10 nocontingency s contingencypump On 1 nocontingency: 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.