aboutsummaryrefslogtreecommitdiff
path: root/hello.s
diff options
context:
space:
mode:
Diffstat (limited to 'hello.s')
-rw-r--r--hello.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/hello.s b/hello.s
index 8642218..19d0918 100644
--- a/hello.s
+++ b/hello.s
@@ -144,6 +144,8 @@ end_str: .byte "My code ends at $",0
memlo_str: .byte EOL, "MEMLO is currently set to $",0
relax_str: .byte EOL, EOL, "Watchen das blinkenlights...",EOL,0
+ .out .sprintf("hello.s code size $%04x (%d)", (* - start_addr), (* - start_addr))
+
.ifndef RAW
end_addr:
.word INITAD