add todo! to missing instructions

This commit is contained in:
dogeystamp 2024-01-06 13:47:40 -05:00
parent 7adac34b3e
commit 6fe7dffb4d
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -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),