summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/am29000/am29dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/am29000/am29dasm.cpp')
-rw-r--r--src/devices/cpu/am29000/am29dasm.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/am29000/am29dasm.cpp b/src/devices/cpu/am29000/am29dasm.cpp
index bd8c6712fd2..039181d65a4 100644
--- a/src/devices/cpu/am29000/am29dasm.cpp
+++ b/src/devices/cpu/am29000/am29dasm.cpp
@@ -29,14 +29,14 @@
#define OP_CE ((op >> 23) & 1)
#define OP_CNTL ((op >> 16) & 0x7f)
-#define OP_SJMP ((INT32)(INT16)OP_I16 << 2)
+#define OP_SJMP ((int32_t)(int16_t)OP_I16 << 2)
/***************************************************************************
CODE
***************************************************************************/
-static const char *dasm_type1(UINT32 op)
+static const char *dasm_type1(uint32_t op)
{
static char buf[32];
@@ -48,7 +48,7 @@ static const char *dasm_type1(UINT32 op)
return buf;
}
-static const char *dasm_type2(UINT32 op)
+static const char *dasm_type2(uint32_t op)
{
static char buf[32];
@@ -57,7 +57,7 @@ static const char *dasm_type2(UINT32 op)
return buf;
}
-static const char *dasm_type3(UINT32 op)
+static const char *dasm_type3(uint32_t op)
{
static char buf[32];
@@ -66,7 +66,7 @@ static const char *dasm_type3(UINT32 op)
return buf;
}
-static const char *dasm_type4(UINT32 op, UINT32 pc)
+static const char *dasm_type4(uint32_t op, uint32_t pc)
{
static char buf[32];
@@ -78,7 +78,7 @@ static const char *dasm_type4(UINT32 op, UINT32 pc)
return buf;
}
-static const char *dasm_type5(UINT32 op)
+static const char *dasm_type5(uint32_t op)
{
static char buf[32];
@@ -90,7 +90,7 @@ static const char *dasm_type5(UINT32 op)
return buf;
}
-static const char *dasm_type6(UINT32 op)
+static const char *dasm_type6(uint32_t op)
{
static char buf[32];
@@ -147,8 +147,8 @@ static const char* get_spr(int spid)
CPU_DISASSEMBLE( am29000 )
{
- UINT32 op = (oprom[0] << 24) | (oprom[1] << 16) | (oprom[2] << 8) | oprom[3];
- UINT32 flags = 0;
+ uint32_t op = (oprom[0] << 24) | (oprom[1] << 16) | (oprom[2] << 8) | oprom[3];
+ uint32_t flags = 0;
switch (op >> 24)
{