From 059fadcca5fa0bc53b135c5dc554f13a49411325 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Mon, 9 Sep 2019 23:52:27 -0700 Subject: [PATCH] Minor changes to `nedasm`. Updated usage and wrapped long line. --- nedasm/nedasm.c | 2 +- nedasm/nedasm_parser.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nedasm/nedasm.c b/nedasm/nedasm.c index 1b64a4d..19da917 100644 --- a/nedasm/nedasm.c +++ b/nedasm/nedasm.c @@ -20,7 +20,7 @@ void print_usage(char ** argv) { printf( "NED Assembler v%d (www.subgeniuskitty.com)\n" - "Usage: %s [option] ...\n" + "Usage: %s -i -o \n" " -h Help (prints this message)\n" " -i Specify file name of assembly code input.\n" " -o Specify file name for assembled output.\n" diff --git a/nedasm/nedasm_parser.h b/nedasm/nedasm_parser.h index 62c247f..d6e104d 100644 --- a/nedasm/nedasm_parser.h +++ b/nedasm/nedasm_parser.h @@ -8,7 +8,9 @@ #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); -- 2.20.1