X-Git-Url: https://git.subgeniuskitty.com/ned1/.git/blobdiff_plain/dc87d2445f5e13146058bd672ad8399fad9e73fb..d587e60834a0d4c2944c55fe9c500b878f66db94:/neddis/neddis.c diff --git a/neddis/neddis.c b/neddis/neddis.c index 306666e..957c56b 100644 --- a/neddis/neddis.c +++ b/neddis/neddis.c @@ -323,7 +323,7 @@ main(int argc, char ** argv) uint32_t offset = aout_exec.a_entry; /* Since all NED instructions are one word (4 bytes) wide, read in one word increments. */ uint32_t i = 1; - while (i < text_segment[0]) { + while (i <= text_segment[0]) { if (display_labels) { for (uint32_t i=0; i < symbol_count; i++) { if (offset == symbol_table[i].n_value) {