Fix for switching between D and I address space (MFP.)
This commit is contained in:
parent
1e3c686aec
commit
ae0672da11
1 changed files with 1 additions and 2 deletions
3
cpu.cpp
3
cpu.cpp
|
@ -1389,8 +1389,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
addToMMR1(a);
|
||||
|
||||
// read from previous space
|
||||
// FIXME: address space selection (see MTPI/D)
|
||||
v = b->read(a.addr.value(), wm_word, rm_prev);
|
||||
v = b->read(a.addr.value(), wm_word, rm_prev, false, word_mode == wm_byte ? d_space : i_space);
|
||||
}
|
||||
|
||||
setPSW_flags_nzv(v, wm_word);
|
||||
|
|
Loading…
Add table
Reference in a new issue