aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/readx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32r/readx.c')
-rw-r--r--sim/m32r/readx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32r/readx.c b/sim/m32r/readx.c
index 0740a2f..ed99bb1 100644
--- a/sim/m32r/readx.c
+++ b/sim/m32r/readx.c
@@ -664,7 +664,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
EXTRACT_FMT_MACWHI_CODE
/* Fetch the input operands for the semantic handler. */
- OPRND (accum) = CPU (h_accum);
+ OPRND (accum) = m32rx_h_accum_get (current_cpu);
OPRND (src1) = CPU (h_gr[f_r1]);
OPRND (src2) = CPU (h_gr[f_r2]);
#undef OPRND