Improved asm tool for debugging tricky assembly programs

This commit is contained in:
Jeremiah Orians 2017-05-14 09:37:33 -04:00
parent cec59e8860
commit 2785f8b59f
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@
* Current * Current
** Added ** Added
Added absolute addresses to High level assembler output to aid in debugging of complex assembly programs
** Changed ** Changed

View File

@ -601,6 +601,10 @@ void print_text(struct Token* p)
{ {
fprintf(stdout, "'"); fprintf(stdout, "'");
} }
else if(':' == p->Text[0])
{
fprintf(stdout, " %x", p->address);
}
if((NULL != p->next) && !((p->type & EOL))) if((NULL != p->next) && !((p->type & EOL)))
{ {