Thank you, in the spirit of learning less awkward code, I and trying to write a vm for this puzzle https://github.com/Aneurysm9/vm_challenge/blob/main/arch-spec
I thought I could have an array of functions representing my operations. Then I could index the relevant function with and opcode I pull straight from memory. What would a better way be?