Mercurial > hg-old > index.cgi
diff src/list.c @ 49:21ae0fab469b
Added needed infra for useful listing of EQU and ORG type statements
author | lost |
---|---|
date | Sun, 04 Jan 2009 07:37:19 +0000 |
parents | 804d7465e0f9 |
children | e672232caffe |
line wrap: on
line diff
--- a/src/list.c Sun Jan 04 07:31:20 2009 +0000 +++ b/src/list.c Sun Jan 04 07:37:19 2009 +0000 @@ -67,7 +67,14 @@ for (l = as -> lineshead; l; l = l -> next) { - fprintf(lf, "%04X ", l -> codeaddr); + if (l -> addrset == 1 || l -> codelen > 0 || l -> nocodelen > 0) + { + fprintf(lf, "%04X ", l -> codeaddr); + } + else + { + fprintf(lf, " "); + } for (c = 0; c < l -> codelen && c < 5; c++) {