mirror of
https://github.com/holub/mame
synced 2025-06-19 10:46:35 +03:00
Merge pull request #1354 from npwoods/i860disasm_fix
Fixed an issue on the i860 disassembler that could cause an undefined string to be used
This commit is contained in:
commit
cbe61fe91d
@ -301,7 +301,7 @@ static void int_fldst(char *buf, char *mnemonic, UINT32 pc, UINT32 insn)
|
|||||||
int size;
|
int size;
|
||||||
int auto_inc = (insn & 1);
|
int auto_inc = (insn & 1);
|
||||||
const char *const auto_suff[2] = { "", "++" };
|
const char *const auto_suff[2] = { "", "++" };
|
||||||
int piped = (insn & 0x40000000) >> 29;
|
int piped = (insn & 0x40000000) >> 30;
|
||||||
const char *const piped_suff[2] = { "", "p" };
|
const char *const piped_suff[2] = { "", "p" };
|
||||||
int upper_6bits = (insn >> 26) & 0x3f;
|
int upper_6bits = (insn >> 26) & 0x3f;
|
||||||
int is_load = (upper_6bits == 8 || upper_6bits == 9 || upper_6bits == 24
|
int is_load = (upper_6bits == 8 || upper_6bits == 9 || upper_6bits == 24
|
||||||
|
Loading…
Reference in New Issue
Block a user