aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/cpu.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-04-24 12:06:27 +0000
committerAndrew Cagney <cagney@redhat.com>1997-04-24 12:06:27 +0000
commitabe293a0c6db0ad1cff41f857248832324d36f67 (patch)
tree3670ef8760b69101a9515e0fa612859a98f0f6bb /sim/tic80/cpu.h
parente5b9ee95f68d936443776321c2260c8d2e5604f9 (diff)
downloadgdb-abe293a0c6db0ad1cff41f857248832324d36f67.zip
gdb-abe293a0c6db0ad1cff41f857248832324d36f67.tar.gz
gdb-abe293a0c6db0ad1cff41f857248832324d36f67.tar.bz2
Enable more instructions.
Diffstat (limited to 'sim/tic80/cpu.h')
-rw-r--r--sim/tic80/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/tic80/cpu.h b/sim/tic80/cpu.h
index 4cb7178..4cfe6d2 100644
--- a/sim/tic80/cpu.h
+++ b/sim/tic80/cpu.h
@@ -1,7 +1,9 @@
typedef struct _sim_cpu {
- unsigned_word reg[32];
- sim_cpu_base base;
+ unsigned32 reg[32];
+ unsigned64 acc[2];
instruction_address cia;
+ sim_cpu_base base;
} sim_cpu;
#define GPR(N) ((CPU)->reg[N])
+#define ACC(N) ((CPU)->acc[N])