Fix arm mode STR insn

Former-commit-id: 80903a9054e9b0dac07a5e2bb3cff7b0e722d438
This commit is contained in:
Michel Heily 2019-07-04 01:56:11 +03:00
parent 923032f8cf
commit 984b17fa39

View file

@ -348,7 +348,7 @@ impl Core {
}
} else {
self.add_cycles(addr, sysbus, NonSeq + MemoryAccess32);
let value = self.get_reg(insn.rn());
let value = self.get_reg(insn.rd());
if insn.transfer_size() == 1 {
// +1N
self.add_cycles(dest, sysbus, NonSeq + MemoryAccess8);