Fix a small but in the emulation of the MSP430 hardware multiply.
authorNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2014 08:00:57 +0000 (09:00 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2014 08:00:57 +0000 (09:00 +0100)
commitaef392c4aee243fe0fe2897d8847aebbbff6abdb
treeef60e8a62f1a3858622cae025fb663c63999f6a4
parent9f445129581f24845c62c4124103f89b43dfd329
Fix a small but in the emulation of the MSP430 hardware multiply.

* msp430-sim.c (get_op): Handle reads of low result register when
in MAC mode.
(put_op): Copy MAC result into result words.
Handle writes to the low result register.
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c