mark RTI and RES as unimplemented

This commit is contained in:
dogeystamp 2024-01-06 16:48:42 -05:00
parent 159ab62ebf
commit 6a25b79d78
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -81,12 +81,12 @@ pub fn execute_instruction(vm: &mut VM, instr: u16) {
OpCode::AND => op_and(vm, instr),
OpCode::LDR => op_ldr(vm, instr),
OpCode::STR => op_str(vm, instr),
OpCode::RTI => todo!("RTI"),
OpCode::RTI => unimplemented!("RTI (privilege violation)"),
OpCode::NOT => op_not(vm, instr),
OpCode::LDI => op_ldi(vm, instr),
OpCode::STI => op_sti(vm, instr),
OpCode::JMP => op_jmp(vm, instr),
OpCode::RES => todo!("RES"),
OpCode::RES => unimplemented!("RES (illegal instruction)"),
OpCode::LEA => op_lea(vm, instr),
OpCode::TRAP => op_trap(vm, instr),
OpCode::NOOP => no_op(vm, instr),