Program = [
1, 1, 4, // set reg 1 to 4
2, 2, 0, // moves the value of reg 1 to reg 2
3, 1, // set reg opcode input
6, 2, 2, // adds reg 2 to reg 2, aka just doubling
7 // halts
]
if all he values start at zero nothing will change cuz ya know
0 ** 2 = 0 (aka 2 * 2)
0 + 0 = 0
so ya you only have 0 so you only get 0
i think… i don’t know what you input so ya (like what the values are set to at the start)