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/pdp8/pdp8dasm.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/pdp8/pdp8dasm.cpp')
-rw-r--r-- | src/devices/cpu/pdp8/pdp8dasm.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/pdp8/pdp8dasm.cpp b/src/devices/cpu/pdp8/pdp8dasm.cpp index 01dc3621ffa..cfaadfb78e3 100644 --- a/src/devices/cpu/pdp8/pdp8dasm.cpp +++ b/src/devices/cpu/pdp8/pdp8dasm.cpp @@ -10,12 +10,12 @@ static char *output; -offs_t pdp8_dasm_one(char *buffer, offs_t pc, UINT16 op) +offs_t pdp8_dasm_one(char *buffer, offs_t pc, uint16_t op) { - UINT8 opcode = (op >> 011) & 07; - UINT16 current_page = pc & 07600; - UINT16 zero_addr = op & 0177; - UINT16 current_addr = current_page | zero_addr; + uint8_t opcode = (op >> 011) & 07; + uint16_t current_page = pc & 07600; + uint16_t zero_addr = op & 0177; + uint16_t current_addr = current_page | zero_addr; bool indirect = (op & 0400) ? true : false; bool zero_page = (op & 0200) ? false : true; @@ -168,7 +168,7 @@ offs_t pdp8_dasm_one(char *buffer, offs_t pc, UINT16 op) CPU_DISASSEMBLE( pdp8 ) { - UINT16 op = (*(UINT8 *)(opram + 0) << 8) | - (*(UINT8 *)(opram + 1) << 0); + uint16_t op = (*(uint8_t *)(opram + 0) << 8) | + (*(uint8_t *)(opram + 1) << 0); return pdp8_dasm_one(buffer, pc, op); } |