SBC for registers fix
This commit is contained in:
parent
93e7af7705
commit
710cf2bbad
1 changed files with 2 additions and 0 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -1053,6 +1053,8 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
||||||
|
|
||||||
if (IS_0(vo, word_mode) && org_c)
|
if (IS_0(vo, word_mode) && org_c)
|
||||||
setPSW_c(true);
|
setPSW_c(true);
|
||||||
|
|
||||||
|
setRegister(dst_reg, false, v);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
uint16_t a = getGAMAddress(dst_mode, dst_reg, word_mode, false);
|
uint16_t a = getGAMAddress(dst_mode, dst_reg, word_mode, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue