mirror of
https://github.com/mattrberry/crab.git
synced 2024-12-31 10:23:42 +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)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue