fix instruction loading i think

This commit is contained in:
2026-07-16 19:13:03 +10:00
parent 3bf340d9f2
commit c5fc6a8493
4 changed files with 5 additions and 4 deletions

View File

@@ -53,7 +53,6 @@ uint32_t memorySerializeInst(Memory* m, Instruction inst, uint32_t offset) {
void memoryLoadProgram(Memory* m, Instruction program[], size_t numInstructions) {
size_t offset = 0;
for (size_t i = 0; i < numInstructions; i++) {
printf("%zu. %s\n", i, instructionToCStr(program[i]));
offset = memorySerializeInst(m, program[i], offset);
}
}