alias nitropump d1 alias o2pump d0 define INPUTPRESSURE 750 define OUTPUTPRESSURE 400 alias pressure r15 alias moles r14 alias ratioother r13 alias ratiocombined r12 alias ration2 r11 alias ratioo2 r10 alias hippo r9 start: yield l pressure db PressureOutput div r0 pressure 100 #s db Setting r0 slt r0 pressure OUTPUTPRESSURE s db Mode r0 #s db On r0 #s db Setting r0 l moles db TotalMoles l ration2 db RatioNitrogenInput l ratioo2 db RatioOxygenInput l pressure db PressureInput blez pressure bootstrap add ratiocombined ration2 ratioo2 sub ratioother 1 ratiocombined s db Setting ratiocombined mul r0 ratiocombined INPUTPRESSURE mul r0 r0 0.5 div hippo r0 pressure #s db Setting pressure slt r0 ration2 hippo slt r1 ratioo2 hippo s nitropump On r0 s o2pump On r1 # more stuff j start bootstrap: s nitropump On 1 s o2pump On 1 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.