diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-07-07 09:46:27 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-07-07 09:46:27 +0200 |
commit | d15276557c65de2a1941632ec9024dea261cce26 (patch) | |
tree | a6a71e24e428f40bf2bdc54d2d4efaf4561786c9 /src/emu/cpu.h | |
parent | b5d10e72de8d93a232886f069db9791b85c3e332 (diff) | |
download | swppy-d15276557c65de2a1941632ec9024dea261cce26.tar.gz swppy-d15276557c65de2a1941632ec9024dea261cce26.tar.xz swppy-d15276557c65de2a1941632ec9024dea261cce26.zip |
make instruction 64-bit wide to support more than 32 registers
Diffstat (limited to '')
-rw-r--r-- | src/emu/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/cpu.h b/src/emu/cpu.h index 4867a8a..9294d7d 100644 --- a/src/emu/cpu.h +++ b/src/emu/cpu.h @@ -4,6 +4,8 @@ #include <stdint.h> #include <stdbool.h> +#include "opc.h" + /* cpu traps */ enum { TRP_UNALIGNED, @@ -33,6 +35,6 @@ extern bool N, Z; extern uint32_t *GPR; /* main cpu execution function */ -void execute(uint32_t IR); +void execute(inst_t IR); #endif |