commit 088897c6b47c64cf7dfffc83a7aee3157a328a83
parent d7059eccd40325d80b6dfba200fb97e657c931a1
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Wed, 24 Nov 2021 17:12:01 -0500
(uxnasm) Display exact numberof bytes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uxnasm.c b/src/uxnasm.c
@@ -405,7 +405,7 @@ cleanup(char *filename)
continue; /* Ignore capitalized labels(devices) */
else if(!p.labels[i].refs)
fprintf(stderr, "--- Unused label: %s\n", p.labels[i].name);
- fprintf(stderr, "Assembled %s in %.2fkb(%.2f%% used), %d labels, %d macros.\n", filename, (p.length - TRIM) / 1024.0, p.length / 652.80, p.llen, p.mlen);
+ fprintf(stderr, "Assembled %s in %d bytes(%.2f%% used), %d labels, %d macros.\n", filename, p.length - TRIM, p.length / 652.80, p.llen, p.mlen);
}
int