Fixes implementation of hardware multiply/divide peripheral in RL78 G13 cores.
authorNick Clifton <nickc@redhat.com>
Fri, 20 Mar 2015 10:29:46 +0000 (10:29 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Mar 2015 10:30:53 +0000 (10:30 +0000)
commit4819f490bd2bc88bccf636755abf3d50b7f3850f
tree824a00d02e0deefc4732e0f661df8259a4c6f669
parente8ffc436d9d849eed52af64568d9f37aeaddbd9e
Fixes implementation of hardware multiply/divide peripheral in RL78 G13 cores.

* load.c (rl78_load): If the G10, G13 or G14 flag bits are set in
the ELF header use them to select the proper emulation mode.
* mem.c (mem_put_byte): Use mem_put_hi to store a value into the
MDB register.
(mem_get_byte): Use mem_get_hi to extract a value from the MDB
register.
sim/rl78/ChangeLog
sim/rl78/load.c
sim/rl78/mem.c
This page took 0.02609 seconds and 4 git commands to generate.