alias vent d0 alias sensor d1 define HIGHTEMP 303 define TARGETTEMP 293 define TARGETPRESSURE 101 pressurizing: yield l r0 sensor Pressure bgt r0 TARGETPRESSURE steady #s vent PressureExternal TARGETPRESSURE s vent Mode 1 s vent On 1 j pressurizing steady: yield l r0 sensor Temperature bgt r0 HIGHTEMP depressurizing l r0 sensor Pressure sub r0 r0 5 bgt r0 TARGETPRESSURE depressurizing s vent On 0 j steady depressurizing: yield l r0 sensor Pressure mul r0 r0 1.05 blt r0 TARGETPRESSURE pressurizing #l r0 sensor Temperature #blt r0 TARGETTEMP steady s vent Mode 0 s vent On 1 j depressurizing |
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.