Removed temp var. Fixed PC.

Changed PC to be 8bits and checking for alignment.
Introduced x/y vars.
This commit is contained in:
2018-10-16 22:25:27 +01:00
parent 0359d4e0b2
commit 40a1add41d
4 changed files with 51 additions and 33 deletions

2
main.c
View File

@@ -13,8 +13,6 @@ int main() {
};
memcpy(&vm->M, data, 6);
printf("%i\n", (uint8_t)0x101);
while(!vm->halted) {
vm_step(vm);
}