print_usage(char ** argv)
{
printf( "NED Assembler v%d (www.subgeniuskitty.com)\n"
- "Usage: %s [option] ...\n"
+ "Usage: %s -i <file> -o <file>\n"
" -h Help (prints this message)\n"
" -i <file> Specify file name of assembly code input.\n"
" -o <file> Specify file name for assembled output.\n"
#include "nedasm_structures.h"
-// TODO: Note that this does not hand back an IR that would be executable. No word alignment or other functions have been performed. It's more like a literal translation of the assembly file with addresses in place of labels.
+// TODO: Note that this does not hand back an IR that would be executable. No
+// word alignment or other functions have been performed. It's more like a
+// literal translation of the assembly file with addresses in place of labels.
void parse_assembly(struct instruction ** instructions, FILE * input);