Opcodes:
0x1 - mov (move data to register)
0x2 - add (add register with another)
0x4 - rout (output register)
0x8 - rin (input register)
Registers:
4 (0x1,0x2,0x4,0x8)
Feeding opcodes to the CPU:
First, each instruction is made out of three parts, the Opcode, the first argument, and the second argument.
If you want to feed data to the CPU you have to click the clock signal/step pin, and it will read the data, you must do this three times per instruction, and after you do you must click the step pin one last time for the CPU to execute the instruction. You can visualize this in this order:
[opcode][arg1][arg2][buffer],[opcode][arg1][arg2]....