From 088897c6b47c64cf7dfffc83a7aee3157a328a83 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 24 Nov 2021 17:12:01 -0500 Subject: [PATCH] (uxnasm) Display exact numberof bytes --- src/uxnasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxnasm.c b/src/uxnasm.c index 711d685..f367e97 100644 --- 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