BUG1: Fixed `neddis` failing to print final word of code.
BUG2: Added CC_FLAGS to command line options in Makefiles
for nedsim/nedasm/neddis.
+ $(CC) $(CC_FLAGS) -o $@ $(SRC)
+ $(CC) $(CC_FLAGS) -o $@ $(SRC)
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;
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) {
if (display_labels) {
for (uint32_t i=0; i < symbol_count; i++) {
if (offset == symbol_table[i].n_value) {
+ $(CC) $(CC_FLAGS) -o $@ $(SRC)