X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=disassembler%2Fmain.c;h=76295fd5eb2a836b91c1692827c7fb50405e8033;hb=28703f82744ed3eb122ae33474e9c53f4fe528d3;hp=869a629f4e636d181ccbbbde7e633ed903f8be32;hpb=88eca946bfdcb1ec27b2bae849152bc2a7b6872a;p=b43-tools.git diff --git a/disassembler/main.c b/disassembler/main.c index 869a629..76295fd 100644 --- a/disassembler/main.c +++ b/disassembler/main.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Michael Buesch + * Copyright (C) 2006-2010 Michael Buesch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 @@ -749,7 +749,9 @@ static void emit_asm(struct disassembler_context *ctx) if (err) exit(1); - fprintf(outfile, "%%arch %u\n\n", ctx->arch); + fprintf(outfile, "%%arch %u\n", ctx->arch); + fprintf(outfile, "%%start entry\n\n"); + fprintf(outfile, "entry:\n"); list_for_each_entry(stmt, &ctx->stmt_list, list) { switch (stmt->type) { case STMT_INSN: