aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-run.c')
-rw-r--r--sim/common/sim-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-run.c b/sim/common/sim-run.c
index 6ab18b1..0bf2e4e 100644
--- a/sim/common/sim-run.c
+++ b/sim/common/sim-run.c
@@ -35,7 +35,7 @@ sim_engine_run (SIM_DESC sd,
sim_cpu *cpu;
SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);
cpu = STATE_CPU (sd, 0);
- cia = CIA_GET (cpu);
+ cia = CPU_PC_GET (cpu);
while (1)
{
instruction_word insn = IMEM32 (cia);
@@ -43,7 +43,7 @@ sim_engine_run (SIM_DESC sd,
/* process any events */
if (sim_events_tick (sd))
{
- CIA_SET (cpu, cia);
+ CPU_PC_SET (cpu, cia);
sim_events_process (sd);
}
}