-
This commit is contained in:
parent
c075fd02d0
commit
f23e18bae3
1 changed files with 1 additions and 2 deletions
1
cpu.cpp
1
cpu.cpp
|
@ -1606,7 +1606,6 @@ bool cpu::misc_operations(const uint16_t instr)
|
||||||
|
|
||||||
if ((instr & ~0b111111) == 0b0000000001000000) { // JMP
|
if ((instr & ~0b111111) == 0b0000000001000000) { // JMP
|
||||||
int dst_mode = (instr >> 3) & 7;
|
int dst_mode = (instr >> 3) & 7;
|
||||||
|
|
||||||
if (dst_mode == 0) // cannot jump to a register
|
if (dst_mode == 0) // cannot jump to a register
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue