]> git.gag.com Git - fw/sdcc/blobdiff - support/regression/ports/z80/support.asm
Changed to rst based system calls
[fw/sdcc] / support / regression / ports / z80 / support.asm
index 3014728c1af7984af9f63c2ca153a1e7cc683743..2686711ae96e2f69eca88c5745b323b2cb0ef0d3 100644 (file)
@@ -19,11 +19,11 @@ __init::
        ;; Call the main function
        CALL    _main
         ld      a, #0
-        out    (1), a
+        rst     8
 
 __putchar::
-        ld      a,l
-        out     (0xff),a
+        ld      a,#1
+        rst     #8
         ret
 
         ;; Segment order