From 5aaa0ffcc4e85af1d0f22e3728b2f73d750dd895 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 28 Feb 2025 13:55:11 +0200 Subject: Add example to main.scm --- atk16_schasm/main.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'atk16_schasm') diff --git a/atk16_schasm/main.scm b/atk16_schasm/main.scm index b9b1111..abdf5d8 100644 --- a/atk16_schasm/main.scm +++ b/atk16_schasm/main.scm @@ -29,5 +29,9 @@ (mov R0 R1) +;; store string data in memory +(def-label 'data + (emit-packed-string "hölynpöly")) + ;; compile to a 128KB image file (write-image-to "out.bin") -- cgit v1.3