summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/t11/t11dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/t11/t11dasm.cpp')
-rw-r--r--src/devices/cpu/t11/t11dasm.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/devices/cpu/t11/t11dasm.cpp b/src/devices/cpu/t11/t11dasm.cpp
index 0bb9da4e7ea..5f2e773dd43 100644
--- a/src/devices/cpu/t11/t11dasm.cpp
+++ b/src/devices/cpu/t11/t11dasm.cpp
@@ -15,7 +15,7 @@
static const char *const regs[8] = { "R0", "R1", "R2", "R3", "R4", "R5", "SP", "PC" };
-static const UINT8 *rombase;
+static const uint8_t *rombase;
static offs_t pcbase;
#define PARAM_WORD(v) ((v) = rombase[pc - pcbase] | (rombase[pc + 1 - pcbase] << 8), pc += 2)
@@ -88,9 +88,9 @@ CPU_DISASSEMBLE( t11 )
{
char ea1[32], ea2[32];
unsigned PC = pc;
- UINT16 op, lo, hi, addr;
- INT16 offset;
- UINT32 flags = 0;
+ uint16_t op, lo, hi, addr;
+ int16_t offset;
+ uint32_t flags = 0;
rombase = oprom;
pcbase = pc;
@@ -161,31 +161,31 @@ CPU_DISASSEMBLE( t11 )
sprintf (buffer, "SWAB %s", ea1);
break;
case 0x0100: case 0x0140: case 0x0180: case 0x01c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BR $%04X", pc + offset);
break;
case 0x0200: case 0x0240: case 0x0280: case 0x02c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BNE $%04X", pc + offset);
break;
case 0x0300: case 0x0340: case 0x0380: case 0x03c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BEQ $%04X", pc + offset);
break;
case 0x0400: case 0x0440: case 0x0480: case 0x04c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BGE $%04X", pc + offset);
break;
case 0x0500: case 0x0540: case 0x0580: case 0x05c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BLT $%04X", pc + offset);
break;
case 0x0600: case 0x0640: case 0x0680: case 0x06c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BGT $%04X", pc + offset);
break;
case 0x0700: case 0x0740: case 0x0780: case 0x07c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BLE $%04X", pc + offset);
break;
case 0x0800: case 0x0840: case 0x0880: case 0x08c0:
@@ -342,35 +342,35 @@ CPU_DISASSEMBLE( t11 )
break;
case 0x8000: case 0x8040: case 0x8080: case 0x80c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BPL $%04X", pc + offset);
break;
case 0x8100: case 0x8140: case 0x8180: case 0x81c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BMI $%04X", pc + offset);
break;
case 0x8200: case 0x8240: case 0x8280: case 0x82c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BHI $%04X", pc + offset);
break;
case 0x8300: case 0x8340: case 0x8380: case 0x83c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BLOS $%04X", pc + offset);
break;
case 0x8400: case 0x8440: case 0x8480: case 0x84c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BVC $%04X", pc + offset);
break;
case 0x8500: case 0x8540: case 0x8580: case 0x85c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BVS $%04X", pc + offset);
break;
case 0x8600: case 0x8640: case 0x8680: case 0x86c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BCC $%04X", pc + offset);
break;
case 0x8700: case 0x8740: case 0x8780: case 0x87c0:
- offset = 2 * (INT8)(op & 0xff);
+ offset = 2 * (int8_t)(op & 0xff);
sprintf (buffer, "BCS $%04X", pc + offset);
break;
case 0x8800: case 0x8840: case 0x8880: case 0x88c0: