diff --git a/README.md b/README.md index 5acfb89..930f767 100644 --- a/README.md +++ b/README.md @@ -69,4 +69,5 @@ HLT ## Known bugs -- None for now? If you find one, please open an issue. +- (possibly) JEQ is inop +- If you find one, please open an issue. diff --git a/cpu.c b/cpu.c index 796ab28..3ccd929 100644 --- a/cpu.c +++ b/cpu.c @@ -108,7 +108,6 @@ void cpu_exec(uint8_t opcode) cpu.pc = addr; break; case JEQ: - reg1 = cpu.memory[cpu.pc++]; addr = cpu.memory[cpu.pc++]; if (cpu.equal_flag) { cpu.pc = addr;