mirror of
https://github.com/mattrberry/crab.git
synced 2025-01-05 11:01:33 +01:00
allow multiplication wrapping
This commit is contained in:
parent
3d0408d702
commit
54dcc01487
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module ARM
|
||||||
rs = bits(instr, 8..11)
|
rs = bits(instr, 8..11)
|
||||||
rm = bits(instr, 0..3)
|
rm = bits(instr, 0..3)
|
||||||
|
|
||||||
@r[rd] = @r[rm] * @r[rs]
|
@r[rd] = @r[rm] &* @r[rs]
|
||||||
@r[rd] &+= @r[rn] if accumulate
|
@r[rd] &+= @r[rn] if accumulate
|
||||||
if set_conditions
|
if set_conditions
|
||||||
@cpsr.zero = @r[rd] == 0
|
@cpsr.zero = @r[rd] == 0
|
||||||
|
|
Loading…
Reference in a new issue