diff options
Diffstat (limited to 'src/emu/cpu/arm/armdasm.c')
-rw-r--r-- | src/emu/cpu/arm/armdasm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/arm/armdasm.c b/src/emu/cpu/arm/armdasm.c index 21ae9b57c57..aa17861e374 100644 --- a/src/emu/cpu/arm/armdasm.c +++ b/src/emu/cpu/arm/armdasm.c @@ -22,7 +22,7 @@ static char *WriteImmediateOperand( char *pBuf, UINT32 opcode ) static char *WriteDataProcessingOperand( char *pBuf, UINT32 opcode, int printOp0, int printOp1, int printOp2 ) { /* ccccctttmmmm */ - static const char *pRegOp[4] = { "LSL","LSR","ASR","ROR" }; + static const char *const pRegOp[4] = { "LSL","LSR","ASR","ROR" }; if (printOp0) pBuf += sprintf(pBuf,"R%d, ", (opcode>>12)&0xf); @@ -55,7 +55,7 @@ static char *WriteDataProcessingOperand( char *pBuf, UINT32 opcode, int printOp0 static char *WriteRegisterOperand1( char *pBuf, UINT32 opcode ) { /* ccccctttmmmm */ - static const char *pRegOp[4] = { "LSL","LSR","ASR","ROR" }; + static const char *const pRegOp[4] = { "LSL","LSR","ASR","ROR" }; pBuf += sprintf( pBuf, @@ -103,14 +103,14 @@ UINT32 arm_disasm( char *pBuf, UINT32 pc, UINT32 opcode ) { const char *pBuf0; - static const char *pConditionCodeTable[16] = + static const char *const pConditionCodeTable[16] = { "EQ","NE","CS","CC", "MI","PL","VS","VC", "HI","LS","GE","LT", "GT","LE","","NV" }; - static const char *pOperation[16] = + static const char *const pOperation[16] = { "AND","EOR","SUB","RSB", "ADD","ADC","SBC","RSC", |