From eefc25e592ff4681d6a9806e43cd2fc432721ccb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 11 Mar 1998 12:18:39 +0000 Subject: Allow more than just read, write and exec memory spaces in the core module. --- sim/tic80/alu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sim/tic80/alu.h') diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h index 4def0ee..b5bc7c1 100644 --- a/sim/tic80/alu.h +++ b/sim/tic80/alu.h @@ -39,20 +39,20 @@ with this program; if not, write to the Free Software Foundation, Inc., /* Bring data in from the cold */ #define IMEM32(CIA) \ -(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip)) +(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, exec_map, (CIA).ip)) #define IMEM32_IMMED(CIA, N) \ -(sim_core_read_aligned_4 (STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip + 4 * (N))) +(sim_core_read_aligned_4 (STATE_CPU (sd, 0), CIA, exec_map, (CIA).ip + 4 * (N))) #define MEM(SIGN, EA, NR_BYTES) \ ((SIGN##_##NR_BYTES) sim_core_read_unaligned_##NR_BYTES (STATE_CPU (sd, 0), cia, \ - sim_core_read_map, \ + read_map, \ (EA))) #define STORE(EA, NR_BYTES, VAL) \ do { \ sim_core_write_unaligned_##NR_BYTES (STATE_CPU (sd, 0), cia, \ - sim_core_write_map, \ + write_map, \ (EA), (VAL)); \ } while (0) -- cgit v1.1