diff --git a/libr/main/rasm2.c b/libr/main/rasm2.c index c26c95f196..2b52664f29 100644 --- a/libr/main/rasm2.c +++ b/libr/main/rasm2.c @@ -204,7 +204,12 @@ static void rasm2_list(RAsmState *as, const char *arch) { bits[0] = 0; if (h->bits == 27) { strcat (bits, "27"); + } else if (h->bits == 0) { + strcat (bits, "any"); } else { + if (h->bits & 4) { + strcat (bits, "4 "); + } if (h->bits & 8) { strcat (bits, "8 "); } diff --git a/test/db/tools/rasm2 b/test/db/tools/rasm2 index f4cdb6c099..33e4e043a7 100644 --- a/test/db/tools/rasm2 +++ b/test/db/tools/rasm2 @@ -1,3 +1,13 @@ +NAME=rasm2 i4004 +FILE=- +CMDS=<