diff options
Diffstat (limited to 'sim/tic80/cpu.h')
-rw-r--r-- | sim/tic80/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/tic80/cpu.h b/sim/tic80/cpu.h index ca2d327..e710364 100644 --- a/sim/tic80/cpu.h +++ b/sim/tic80/cpu.h @@ -151,6 +151,8 @@ struct _sim_cpu { sim_cpu_base base; }; +#define CPU_CIA(CPU) ((CPU)->cia) + #define GPR(N) ((CPU)->reg[N]) #define GPR_SET(N, VAL) ((CPU)->reg[N] = (VAL)) #define ACC(N) ((CPU)->acc[N]) |