diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/cpu/mc68hc11/hc11dasm.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/cpu/mc68hc11/hc11dasm.cpp')
-rw-r--r-- | src/devices/cpu/mc68hc11/hc11dasm.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/cpu/mc68hc11/hc11dasm.cpp b/src/devices/cpu/mc68hc11/hc11dasm.cpp index 2594634671f..a696c9069ad 100644 --- a/src/devices/cpu/mc68hc11/hc11dasm.cpp +++ b/src/devices/cpu/mc68hc11/hc11dasm.cpp @@ -1153,7 +1153,7 @@ static const M68HC11_OPCODE opcode_table_page4[256] = /*****************************************************************************/ static char *output; -static const UINT8 *rombase; +static const uint8_t *rombase; static void ATTR_PRINTF(1,2) print(const char *fmt, ...) { @@ -1164,26 +1164,26 @@ static void ATTR_PRINTF(1,2) print(const char *fmt, ...) va_end(vl); } -static UINT8 fetch(void) +static uint8_t fetch(void) { return *rombase++; } -static UINT16 fetch16(void) +static uint16_t fetch16(void) { - UINT16 w; + uint16_t w; w = (rombase[0] << 8) | rombase[1]; rombase+=2; return w; } -static UINT32 decode_opcode(UINT32 pc, const M68HC11_OPCODE *op_table) +static uint32_t decode_opcode(uint32_t pc, const M68HC11_OPCODE *op_table) { - UINT8 imm8, mask; - INT8 rel8; - UINT16 imm16; - UINT8 op2; - UINT32 flags = 0; + uint8_t imm8, mask; + int8_t rel8; + uint16_t imm16; + uint8_t op2; + uint32_t flags = 0; if (!strcmp(op_table->mnemonic, "jsr") || !strcmp(op_table->mnemonic, "bsr")) flags = DASMFLAG_STEP_OVER; @@ -1286,8 +1286,8 @@ static UINT32 decode_opcode(UINT32 pc, const M68HC11_OPCODE *op_table) CPU_DISASSEMBLE( hc11 ) { - UINT32 flags; - UINT8 opcode; + uint32_t flags; + uint8_t opcode; output = buffer; rombase = oprom; |