aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/rl78/ChangeLog5
-rw-r--r--sim/rl78/mem.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index b3bddf7..4bbcfd3 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-03 Nick Clifton <nickc@redhat.com>
+
+ * mem.c (MDBL): Correct value.
+ (MDBH): Correct value.
+
2012-06-15 Joel Brobecker <brobecker@adacore.com>
* config.in, configure: Regenerate.
diff --git a/sim/rl78/mem.c b/sim/rl78/mem.c
index a5c04e4..febbfce 100644
--- a/sim/rl78/mem.c
+++ b/sim/rl78/mem.c
@@ -78,8 +78,8 @@ mem_rom_size (int rom_bytes)
#define MDUC 0xf00e8
#define MDAL 0xffff0
#define MDAH 0xffff2
-#define MDBL 0xffff4
-#define MDBH 0xffff6
+#define MDBL 0xffff6
+#define MDBH 0xffff4
#define MDCL 0xf00e0
#define MDCH 0xf00e2
static long long mduc_clock = 0;