getGAM (for else) had wrong parameter for prev_mode
This commit is contained in:
parent
bcb5305473
commit
69b2651bf7
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -796,7 +796,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
set_flags = putGAM(g_dst, r);
|
||||
}
|
||||
else {
|
||||
auto g_dst = getGAM(dst_mode, dst_reg, word_mode, word_mode, false);
|
||||
auto g_dst = getGAM(dst_mode, dst_reg, word_mode, false, false);
|
||||
|
||||
set_flags = putGAM(g_dst, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue