sim: cr16: convert to common sim memory modules
[deliverable/binutils-gdb.git] / sim / cr16 / simops.c
index b452ee07676db03137f1d7389f7fe761a7e7ee75..db595f1849b4492f3a5e8b7df46344092f39c029 100644 (file)
@@ -5143,7 +5143,7 @@ OP_C_C (SIM_DESC sd, SIM_CPU *cpu)
 
 /* Turn a pointer in a register into a pointer into real memory. */
 
-#define MEMPTR(x) ((char *)(dmem_addr (sd, cpu, x)))
+#define MEMPTR(x) sim_core_trans_addr (sd, cpu, read_map, x)
 
        switch (FUNC)
          {
This page took 0.024186 seconds and 4 git commands to generate.