From 06e8b8dbadf769507abf5368caee253ded139adc Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 13 Mar 2025 18:49:41 +0200 Subject: Improvements --- atk16_schasm/bootstrap.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'atk16_schasm/bootstrap.scm') diff --git a/atk16_schasm/bootstrap.scm b/atk16_schasm/bootstrap.scm index d9105f8..30d2324 100644 --- a/atk16_schasm/bootstrap.scm +++ b/atk16_schasm/bootstrap.scm @@ -17,7 +17,7 @@ ;; Set stack pointer to end of heap segment, i.e. one below addr-segment-mmio. ;; Stack grows down. ;; Heap grows up from addr-segment-heap until it meets the stack. - (ld SP ZR (u16 (- addr-segment-mmio 1))) + (%ld SP (u16 (- addr-segment-mmio 1))) ;; Set graphics mode to disabled. - (ld R0 ZR (u16 addr-mmio-graphics-mode)) - (st R0 ZR (u16 graphics-disabled))) + (%ld R0 (u16 addr-mmio-graphics-mode)) + (%st R0 (u16 graphics-disabled))) -- cgit v1.3