aboutsummaryrefslogtreecommitdiff
path: root/src/label.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-05-17 08:38:47 +0100
committerIan C <ianc@noddybox.co.uk>2016-05-17 08:38:47 +0100
commit393556d2fc70dc0def5a6bb0463daf234ef23e36 (patch)
treeffeac76300a03bb6e4e34479d11ec2a64afcacfd /src/label.c
parent34eab58c9a01b90beb0ce23a2a0f6c2156e8d4fd (diff)
Added support for 24 bit address labels.
* Also fixes bug where bank wasn't reset between passes.
Diffstat (limited to 'src/label.c')
-rw-r--r--src/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/label.c b/src/label.c
index 449f4d0..440ea8d 100644
--- a/src/label.c
+++ b/src/label.c
@@ -503,7 +503,7 @@ void LabelDump(FILE *fp, int dump_private)
for(f = 0; f < g->no_locals; f++)
{
- fprintf(fp, "; .%-*s = $%4.4x (%d)\n", MAX_LABEL_SIZE,
+ fprintf(fp, "; .%-*s = $%8.8x (%d)\n", MAX_LABEL_SIZE,
g->locals[f].name,
(unsigned)g->locals[f].value,
g->locals[f].value);