mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
* Chop space for instructions without arguments on udis86
This commit is contained in:
parent
535a2aa713
commit
42aaadb584
@ -225,8 +225,12 @@ extern void ud_translate_intel(struct ud* u)
|
|||||||
mkasm(u, "repne ");
|
mkasm(u, "repne ");
|
||||||
|
|
||||||
/* print the instruction mnemonic */
|
/* print the instruction mnemonic */
|
||||||
mkasm(u, "%s ", ud_lookup_mnemonic(u->mnemonic));
|
|
||||||
|
|
||||||
|
if (u->operand[0].type == UD_NONE) {
|
||||||
|
mkasm(u, "%s", ud_lookup_mnemonic(u->mnemonic));
|
||||||
|
} else {
|
||||||
|
mkasm(u, "%s ", ud_lookup_mnemonic(u->mnemonic));
|
||||||
|
}
|
||||||
/* operand 1 */
|
/* operand 1 */
|
||||||
if (u->operand[0].type != UD_NONE) {
|
if (u->operand[0].type != UD_NONE) {
|
||||||
int cast = 0;
|
int cast = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user