function runCycle() {
const instruction = mutable currentInstructionSet[
mutable currentInstructionIndex
];
const f = getInstruction(instruction[0]);
if (!f) {
throw new Error("Invalid instruction", instruction);
}
writeIntoLog(...instruction)
f(instruction[1]);
}