diff options
Diffstat (limited to 'src/devices/cpu/tms9900/9900dasm.cpp')
-rw-r--r-- | src/devices/cpu/tms9900/9900dasm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/tms9900/9900dasm.cpp b/src/devices/cpu/tms9900/9900dasm.cpp index 5daf4a88310..daa4d8cb540 100644 --- a/src/devices/cpu/tms9900/9900dasm.cpp +++ b/src/devices/cpu/tms9900/9900dasm.cpp @@ -213,7 +213,7 @@ static const description_t descriptions[144+3+1] = { "liim", format_liim,/*ps_tms9940*/0 }, { "dca", format_6, /*ps_tms9940*/0 }, { "dcs", format_6, /*ps_tms9940*/0 }, - { NULL, illegal, ps_any } + { nullptr, illegal, ps_any } }; @@ -314,7 +314,7 @@ static const enum opcodes ops_001c_002f_s0[20]= static int PC; -INLINE UINT16 readop_arg(const UINT8 *opram, unsigned pc) +static inline UINT16 readop_arg(const UINT8 *opram, unsigned pc) { UINT16 result = opram[PC++ - pc] << 8; return result | opram[PC++ - pc]; @@ -484,11 +484,11 @@ unsigned Dasm9900 (char *buffer, unsigned pc, int model_id, const UINT8 *oprom, format = descriptions[opc].format; /* bl and blwp instructions are subroutines */ - if (mnemonic != NULL && mnemonic[0] == 'b' && mnemonic[1] == 'l') + if (mnemonic != nullptr && mnemonic[0] == 'b' && mnemonic[1] == 'l') dasmflags = DASMFLAG_STEP_OVER; /* b *r11 and rtwp are returns */ - else if (opc == 0x045b || (mnemonic != NULL && strcmp(mnemonic, "rtwp") == 0)) + else if (opc == 0x045b || (mnemonic != nullptr && strcmp(mnemonic, "rtwp") == 0)) dasmflags = DASMFLAG_STEP_OUT; switch (format) |