Improved asm tool for debugging tricky assembly programs
This commit is contained in:
parent
cec59e8860
commit
2785f8b59f
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue