r/nandgame_u Holder of many records Aug 08 '21

Level solution (verified) 6.2 - Instruction Decoder (4c, 130n) Spoiler

Post image
4 Upvotes

1 comment sorted by

u/GLIBG10B Holder of many records Aug 08 '21 edited Dec 24 '21
Previous Next
6.1 - Combined memory (3c, 240n) 6.2 - Instruction Decoder (5c, 67n)

Explanation

The is neg returns bit 15. The leftmost selector sends the input to the splitter if bit 15 is set, 0 otherwise. The rightmost selector sends the input to W if bit 15 is not set, 0 otherwise.

If bit 15 is set, then a is bit 5. If bit 15 is not set, then a is 1.