alias sorter d0 alias autochef d1 alias inputhash r15 alias unwanted r14 s db Setting -1 start: yield #lr r0 autochef Required HASH("ItemRice") #s db Setting r0 #j start s sorter Mode 2 ls inputhash sorter 0 PrefabHash beqz inputhash start jal doiwant s sorter Output unwanted j start doiwant: move unwanted 0 bne inputhash HASH("ItemRice") over1 lr r0 autochef Contents HASH("Rice") sge unwanted r0 9 j ra over1: bne inputhash HASH("ItemPotato") over2 lr r0 autochef Contents HASH("Potato") sge unwanted r0 3 j ra over2: bne inputhash HASH("ItemCorn") over3 lr r0 autochef Contents HASH("Corn") sge unwanted r0 5 j ra over3: bne inputhash HASH("ItemTomato") over4 lr r0 autochef Contents HASH("Tomato") sge unwanted r0 5 j ra over4: brne inputhash HASH("ItemSoybean") 4 lr r0 autochef Contents HASH("Soy") sge unwanted r0 10 j ra brne inputhash HASH("ItemPumpkin") 4 lr r0 autochef Contents HASH("Pumpkin") sge unwanted r0 5 j ra s db Setting inputhash lr r1 autochef Required inputhash lr r0 autochef Contents inputhash s db Setting r1 sge unwanted r0 r1 move unwanted 1 # stupid reagent hash and item has don't match j ra |
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.