A mistake in implementing 0xFX55
Closed this issue · 0 comments
khengari77 commented
`
// FX55: Stores V0 through Vx (Vx included) in memory starting
// at addr I.
case 0x0055:
debug_print("[OK] 0x%X: FX55\n", op);
for (int i = 0; i <= x; i++) {
V[i] = memory[I + i];
}
pc += 2;
break;
`
shouldn't this segment of code be like this:
`// FX55: Stores V0 through Vx (Vx included) in memory starting
// at addr I.
case 0x0055:
debug_print("[OK] 0x%X: FX55\n", op);
for (int i = 0; i <= x; i++) {
memory[I + i] = V[i];
}
pc += 2;
break;`