mirror of
https://github.com/holub/mame
synced 2025-05-21 05:08:54 +03:00
armdasm.c: tiny fix for undefined shift behavior (nw)
This commit is contained in:
parent
dd20508cd7
commit
7ebb81112e
@ -15,7 +15,7 @@ static char *WriteImmediateOperand( char *pBuf, UINT32 opcode )
|
||||
|
||||
imm = opcode&0xff;
|
||||
r = ((opcode>>8)&0xf)*2;
|
||||
imm = (imm>>r)|(imm<<(32-r));
|
||||
imm = (imm>>r)|(r?(imm<<(32-r)):0);
|
||||
pBuf += sprintf( pBuf, ", #$%x", imm );
|
||||
return pBuf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user