alias ic d0 define FERNSS 3 define CORNSS 11 move sp 0 push 0 # real count of hydroponics devices poke-d later. push 4 # deposit station push HASH("hydro B1") push 0 # hydro station push FERNSS # seed station push HASH("hydro B2") push 1 # hydro station push FERNSS # seed station push HASH("hydro B3") push 2 # hydro station push FERNSS # seed station push HASH("hydro B4") push 5 # hydro station push FERNSS # seed station push HASH("hydro B5") push 6 # hydro station push FERNSS # seed station push HASH("hydro B6") push 7 # hydro station push FERNSS # seed station move r1 8 push HASH("hydro a3") push r1 # hydro station push CORNSS # seed station add r1 r1 1 push HASH("hydro A2") push r1 # hydro station push CORNSS # seed station add r1 r1 1 push HASH("hydro A1") push r1 # hydro station push CORNSS # seed station move r1 CORNSS add r1 r1 1 push HASH("hydro A4") push r1 # hydro station push CORNSS # seed station add r1 r1 1 push HASH("hydro a5") push r1 # hydro station push CORNSS # seed station add r1 r1 1 push HASH("hydro a6") push r1 # hydro station push CORNSS # seed station s db Setting sp div r0 sp 3 floor r0 r0 poke 0 r0 # set the number of stations based on how much we pushed to the SP # number of hydroponics configurations s db Setting r0 start: # copy stack from this IC to the target move r1 0 loop: get r0 db r1 put ic r1 r0 add r1 r1 1 blt r1 sp loop sleep 2 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.