diff --git a/src/vm/instruction.rs b/src/vm/instruction.rs index dd5833d..9883d8b 100644 --- a/src/vm/instruction.rs +++ b/src/vm/instruction.rs @@ -69,20 +69,20 @@ pub fn execute_instruction(vm: &mut VM, instr: u16) { let opcode = get_opcode(instr); match opcode { - OpCode::BR => no_op(vm, instr), - OpCode::ADD => no_op(vm, instr), - OpCode::LD => no_op(vm, instr), - OpCode::ST => no_op(vm, instr), - OpCode::JSR => no_op(vm, instr), - OpCode::AND => no_op(vm, instr), - OpCode::LDR => no_op(vm, instr), - OpCode::STR => no_op(vm, instr), - OpCode::RTI => no_op(vm, instr), - OpCode::NOT => no_op(vm, instr), - OpCode::LDI => no_op(vm, instr), - OpCode::STI => no_op(vm, instr), - OpCode::JMP => no_op(vm, instr), - OpCode::RES => no_op(vm, instr), + OpCode::BR => todo!("BR"), + OpCode::ADD => todo!("ADD"), + OpCode::LD => todo!("LD"), + OpCode::ST => todo!("ST"), + OpCode::JSR => todo!("JSR"), + OpCode::AND => todo!("AND"), + OpCode::LDR => todo!("LDR"), + OpCode::STR => todo!("STR"), + OpCode::RTI => todo!("RTI"), + OpCode::NOT => todo!("NOT"), + OpCode::LDI => todo!("LDI"), + OpCode::STI => todo!("STI"), + OpCode::JMP => todo!("JMP"), + OpCode::RES => todo!("RES"), OpCode::LEA => op_lea(vm, instr), OpCode::TRAP => op_trap(vm, instr), OpCode::NOOP => no_op(vm, instr),