no need to retrieve value of MOV dst

This commit is contained in:
folkert van heusden 2023-03-24 08:26:58 +01:00
parent 0fd4a70600
commit 3a43e55663
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -449,7 +449,7 @@ bool cpu::double_operand_instructions(const uint16_t instr)
if (word_mode && dst_mode == 0)
setRegister(dst_reg, false, int8_t(g_src.value.value())); // int8_t: sign extension
else {
auto g_dst = getGAM(dst_mode, dst_reg, word_mode, false);
auto g_dst = getGAM(dst_mode, dst_reg, word_mode, false, false);
set_flags = putGAM(g_dst, g_src.value.value());
}
@ -2169,9 +2169,6 @@ void cpu::step_b()
uint16_t instr = b->readWord(temp_pc);
if (temp_pc == 025250)
DOLOG(debug, true, "GREP %06o %06o", temp_pc, instr);
addRegister(7, false, 2);
if (double_operand_instructions(instr))