summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/lh5801
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-16 03:06:55 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-16 03:06:55 +0000
commit91f928d6cd774c9526c7fde7e0860aded24d08a5 (patch)
tree7f41fdb9da8c9de744c08094820eb47c6b21576b /src/emu/cpu/lh5801
parent8d1de4e030e6af94e1bb6c1cbeedb8ca8a18d5b1 (diff)
Enum and union normalization.
Diffstat (limited to 'src/emu/cpu/lh5801')
-rw-r--r--src/emu/cpu/lh5801/5801dasm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/cpu/lh5801/5801dasm.c b/src/emu/cpu/lh5801/5801dasm.c
index 6e6a50bffdf..6d669000490 100644
--- a/src/emu/cpu/lh5801/5801dasm.c
+++ b/src/emu/cpu/lh5801/5801dasm.c
@@ -24,7 +24,7 @@
#include "lh5801.h"
-typedef enum
+enum Adr
{
Imp,
Reg,
@@ -44,9 +44,9 @@ typedef enum
ME1AbsImm,
RelP,
RelM
-} Adr;
+};
-typedef enum
+enum Regs
{
RegNone,
A,
@@ -54,7 +54,7 @@ typedef enum
YL, YH, Y,
UL, UH, U,
P, S
-} Regs;
+};
static const char *const RegNames[]= {
0, "A", "XL", "XH", "X", "YL", "YH", "Y", "UL", "UH", "U", "P", "S"
@@ -64,7 +64,7 @@ static const char *const RegNames[]= {
#undef SEC
#endif
-typedef enum
+enum Ins
{
ILL, ILL2, PREFD, NOP,
@@ -97,7 +97,7 @@ typedef enum
RDP, SDP,// reset display flip flop
RPU, SPU,// flip flop pu off
RPV, SPV,// flip flop pv off
-} Ins;
+};
static const char *const InsNames[]={
"ILL", "ILL", 0, "NOP",