An arithmetic logic unit operating on unsigned four-bit numbers made (mostly) with scratch equivalents to logic gates 0: Clears output (NOP) 1: Increment (to decrement add 15 and lose the last bit) 2: Add 3: Sub (uses the overflow bit for errors) 4: Shift Right 5: Shift Left 6: Bitwise AND 7: Bitwise OR 8: Bitwise XOR 9: Bitwise NOT (invert) 10: Equals 11: Greater Than 12: Less Than
Note that this isn’t the educational programming language I was talking about. This is an emulation of a physical circuit, while the programming language isn’t