From af16b77a3667b6dd4ffd645f27a29c57a1db88cc Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 12 May 2023 17:34:18 +0100 Subject: Fix which opcodes have double lenght --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index aa21275..98f33ef 100644 --- a/vm.c +++ b/vm.c @@ -149,7 +149,7 @@ uint8_t tr8_eval(Tr8 *vm) vm->f &= ~BF; /* JMP imm and CALL imm are double length */ - if (instr == 0x9320 || instr == 0x9220) + if (instr == 0x9220 || instr == 0x9200) vm->pc += 2; continue; -- cgit v1.2.3