fix(interpreter): add missing continue for jmp %reg instructions
This commit is contained in:
@@ -453,7 +453,10 @@ impl Interpreter {
|
||||
self.set_ip(ptr.word.into());
|
||||
continue;
|
||||
}
|
||||
Mnemonic::JMP_Mod(target) => self.set_ip(self.computer.read_modrm(target)?.into()),
|
||||
Mnemonic::JMP_Mod(target) => {
|
||||
self.set_ip(self.computer.read_modrm(target)?.into());
|
||||
continue;
|
||||
}
|
||||
Mnemonic::CALL_p(ptr) => {
|
||||
self.save_next_instruction_into_stack(¤t_instruction)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user