/*
- * Copyright (C) 2006 Michael Buesch <mb@bu3sch.de>
+ * Copyright (C) 2006-2010 Michael Buesch <mb@bu3sch.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
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: