mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-24 19:32:06 +00:00
A few more small listing tweaks.
This commit is contained in:
parent
859e8dbb1f
commit
2488e02aae
@ -397,6 +397,7 @@ static int assemble(
|
||||
add_sym(label, mstr->nargs, SYMBOLFLAG_DEFINITION | local, &absolute_section,
|
||||
&symbol_st);
|
||||
free(label);
|
||||
list_value(stack->top, mstr->nargs);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ static int store_internal_word(
|
||||
unsigned word)
|
||||
{
|
||||
change_dot(tr, size);
|
||||
list_word(str, DOT, word, size, "");
|
||||
list_word(str, DOT, word, size, "'");
|
||||
return text_internal_word(tr, &DOT, size, word);
|
||||
}
|
||||
|
||||
|
||||
@ -597,7 +597,7 @@ void list_section(
|
||||
int flags = sec->flags;
|
||||
|
||||
fprintf(lstfile, "%-6s %06o %03d ",
|
||||
sec->label, sec->size, sec->sector);
|
||||
sec->label, sec->size & 0177777, sec->sector);
|
||||
fprintf(lstfile, "(%s,%s,%s,%s,%s,%s)\n",
|
||||
(flags & PSECT_RO) ? "RO" : "RW",
|
||||
(flags & PSECT_DATA) ? "D" : "I",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user