diff options
Diffstat (limited to 'src/devices/cpu/z180/z180tbl.h')
-rw-r--r-- | src/devices/cpu/z180/z180tbl.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/cpu/z180/z180tbl.h b/src/devices/cpu/z180/z180tbl.h index 4884992a5e3..57d1bed3961 100644 --- a/src/devices/cpu/z180/z180tbl.h +++ b/src/devices/cpu/z180/z180tbl.h @@ -1,17 +1,17 @@ // license:BSD-3-Clause // copyright-holders:Juergen Buchmueller /* tmp1 value for ini/inir/outi/otir for [C.1-0][io.1-0] */ -static const UINT8 irep_tmp1[4][4] = { +static const uint8_t irep_tmp1[4][4] = { {0,0,1,0},{0,1,0,1},{1,0,1,1},{0,1,1,0} }; /* tmp1 value for ind/indr/outd/otdr for [C.1-0][io.1-0] */ -static const UINT8 drep_tmp1[4][4] = { +static const uint8_t drep_tmp1[4][4] = { {0,1,0,0},{1,0,0,1},{0,0,1,0},{0,1,0,1} }; /* tmp2 value for all in/out repeated opcodes for B.7-0 */ -static const UINT8 breg_tmp2[256] = { +static const uint8_t breg_tmp2[256] = { 0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1, 0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0, 1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0, @@ -30,7 +30,7 @@ static const UINT8 breg_tmp2[256] = { 1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1 }; -static const UINT8 cc_op[0x100] = { +static const uint8_t cc_op[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 3, 9, 7, 4, 4, 4, 6, 3, 4, 7, 6, 4, 4, 4, 6, 3, 7, 9, 7, 4, 4, 4, 6, 3, 8, 7, 6, 4, 4, 4, 6, 3, @@ -50,7 +50,7 @@ static const UINT8 cc_op[0x100] = { 5, 9, 6, 3, 6,11, 6,11, 5, 4, 6, 3, 6, 0, 6,11 }; -static const UINT8 cc_cb[0x100] = { +static const uint8_t cc_cb[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 7, 7, 7, 7, 7, 7,13, 7, 7, 7, 7, 7, 7, 7,13, 7, 7, 7, 7, 7, 7, 7,13, 7, 7, 7, 7, 7, 7, 7,13, 7, @@ -70,7 +70,7 @@ static const UINT8 cc_cb[0x100] = { 7, 7, 7, 7, 7, 7,13, 7, 7, 7, 7, 7, 7, 7,13, 7 }; -static const UINT8 cc_ed[0x100] = { +static const uint8_t cc_ed[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 12,13, 6, 6, 9, 6, 6, 6,12,13, 6, 6, 9, 6, 6, 6, 12,13, 6, 6, 9, 6, 6, 6,12,13, 6, 6, 9, 6, 6, 6, @@ -90,7 +90,7 @@ static const UINT8 cc_ed[0x100] = { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 }; -static const UINT8 cc_xy[0x100] = { +static const uint8_t cc_xy[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 4, 4, 4, 4, 4, 4, 4, 4, 4,10, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,10, 4, 4, 4, 4, 4, 4, @@ -110,7 +110,7 @@ static const UINT8 cc_xy[0x100] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 7, 4, 4, 4, 4, 4, 4 }; -static const UINT8 cc_xycb[0x100] = { +static const uint8_t cc_xycb[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19, 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19, @@ -131,7 +131,7 @@ static const UINT8 cc_xycb[0x100] = { }; /* extra cycles if jr/jp/call taken and 'interrupt latency' on rst 0-7 */ -static const UINT8 cc_ex[0x100] = { +static const uint8_t cc_ex[0x100] = { /*-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -a -b -c -d -e -f */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* DJNZ */ @@ -151,7 +151,7 @@ static const UINT8 cc_ex[0x100] = { 5, 0, 3, 0,10, 0, 0, 2, 5, 0, 3, 0,10, 0, 0, 2 }; -static const UINT8 *const cc_default[6] = { cc_op, cc_cb, cc_ed, cc_xy, cc_xycb, cc_ex }; +static const uint8_t *const cc_default[6] = { cc_op, cc_cb, cc_ed, cc_xy, cc_xycb, cc_ex }; #define Z180_TABLE_dd Z180_TABLE_xy #define Z180_TABLE_fd Z180_TABLE_xy @@ -218,7 +218,7 @@ const z180_device::opcode_func z180_device::s_z180ops[Z180_PREFIX_COUNT][0x100] ***************************************************************/ #define EXEC_PROTOTYPE(prefix) \ -int z180_device::exec##_##prefix(const UINT8 opcode) \ +int z180_device::exec##_##prefix(const uint8_t opcode) \ { \ (this->*s_z180ops[Z180_PREFIX_##prefix][opcode])(); \ return m_cc[Z180_TABLE_##prefix][opcode]; \ |