mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
gp64 asm.cpu forces asm.bits internally
This commit is contained in:
parent
f26213074b
commit
08f131198f
@ -23,6 +23,8 @@ static int disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len) {
|
||||
mode |= CS_MODE_MIPS32R6;
|
||||
} else if (!strcmp (a->cpu, "v3")) {
|
||||
mode |= CS_MODE_MIPS3;
|
||||
} else if (!strcmp (a->cpu, "gp64")) {
|
||||
a->bits = 64;
|
||||
}
|
||||
}
|
||||
mode |= (a->bits == 64)? CS_MODE_64: CS_MODE_32;
|
||||
|
Loading…
Reference in New Issue
Block a user