projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use updated MSMASK, MSMASKED macros.
[binutils-gdb.git]
/
sim
/
tic80
/
cpu.h
diff --git
a/sim/tic80/cpu.h
b/sim/tic80/cpu.h
index ca2d3275dc8dbd3c617ac63f5774c23a50d4d08b..e710364d0d1410bfb855549c0ea73f2896861b89 100644
(file)
--- 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])