projects
/
b43-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
asm/dasm: Update selftest to support r15 arch
[b43-tools.git]
/
disassembler
/
main.c
diff --git
a/disassembler/main.c
b/disassembler/main.c
index 86ed1f483b2773cd7754224aabd18d886c55bc15..cf716df8fb9b21bb14812a8428f9549965d792f3 100644
(file)
--- a/
disassembler/main.c
+++ b/
disassembler/main.c
@@
-603,6
+603,9
@@
static void disasm_constant_opcodes(struct disassembler_context *ctx,
}
break;
}
}
break;
}
+ case 0x000:
+ disasm_opcode_raw(ctx, stmt, 1);
+ break;
default:
disasm_opcode_raw(ctx, stmt, (cmdargs.unknown_decode == 0));
break;
default:
disasm_opcode_raw(ctx, stmt, (cmdargs.unknown_decode == 0));
break;
@@
-800,7
+803,7
@@
static void emit_asm(struct disassembler_context *ctx)
switch (stmt->type) {
case STMT_INSN:
if (cmdargs.print_addresses)
switch (stmt->type) {
case STMT_INSN:
if (cmdargs.print_addresses)
- fprintf(outfile, "/* %0
3
X */", addr);
+ fprintf(outfile, "/* %0
4
X */", addr);
fprintf(outfile, "\t%s", stmt->u.insn.name);
first = 1;
for (i = 0; i < ARRAY_SIZE(stmt->u.insn.operands); i++) {
fprintf(outfile, "\t%s", stmt->u.insn.name);
first = 1;
for (i = 0; i < ARRAY_SIZE(stmt->u.insn.operands); i++) {