nomclass is not for arm64

This commit is contained in:
pancake 2017-01-18 15:14:31 +01:00
parent 41602c4212
commit 9467d350cc

View File

@ -26,8 +26,10 @@ static int disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len) {
obits = a->bits;
}
if (!a->features || !strstr (a->features, "no-mclass")) {
mode |= CS_MODE_MCLASS;
if (a->bits != 64) {
if (!a->features || !strstr (a->features, "no-mclass")) {
mode |= CS_MODE_MCLASS;
}
}
if (a->features && strstr (a->features, "v8")) {
mode |= CS_MODE_V8;