aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/v850_sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/v850/v850_sim.h')
-rw-r--r--sim/v850/v850_sim.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/v850/v850_sim.h b/sim/v850/v850_sim.h
index b7402ae..be0f1b6 100644
--- a/sim/v850/v850_sim.h
+++ b/sim/v850/v850_sim.h
@@ -27,8 +27,8 @@ struct simops
struct _state
{
reg_t regs[32]; /* general-purpose registers */
+ reg_t sregs[32]; /* system regsiters, including psw */
reg_t pc;
- reg_t psw;
uint8 *imem;
uint8 *dmem;
int exception;
@@ -38,7 +38,6 @@ extern uint16 OP[4];
extern struct simops Simops[];
#define PC (State.pc)
-#define PSW (State.psw)
#define PSW_NP 0x80
#define PSW_EP 0x40