allow multiplication wrapping

This commit is contained in:
Matthew Berry 2020-10-11 23:56:56 -07:00
parent 3d0408d702
commit 54dcc01487

View file

@ -7,7 +7,7 @@ module ARM
rs = bits(instr, 8..11)
rm = bits(instr, 0..3)
@r[rd] = @r[rm] * @r[rs]
@r[rd] = @r[rm] &* @r[rs]
@r[rd] &+= @r[rn] if accumulate
if set_conditions
@cpsr.zero = @r[rd] == 0