The dimensions are 11x4x10 blocks. It has 4 registers and only one operation that is subtract from the blue register, this is how the registers are laid out:

  • reg1 + reg2: lime (reg1 is the rightmost one)
  • reg3: blue
  • reg4: orange

and it has these instructions:

  • 0x1: wipe + write to reg4 from reg3
  • 0x2: wipe reg3
  • 0x3: sub reg3 by reg2
  • 0x4: write to reg2 from reg4
  • 0x5: wipe reg1
  • 0x7: write to reg1 from reg3
  • 0x8: wipe reg2
  • 0x9: write to reg1 from reg2
  • 0xa: write to reg3 from reg1
  • 0xd: write immediate to reg3

Here it is doing the fibonacci sequence in the gif, look at reg1 and reg2 for the output

by the-forestee

Comments are closed.