]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/wherex.s
don't use constructor to setup runtime stack
[cc65] / libsrc / apple2 / wherex.s
index a7ceb22d8454c329f263d7150bc3c55c9b7e8aae..1d67a2fd9f2f8bb56ebcfe5af438252b456570a8 100644 (file)
@@ -1,17 +1,14 @@
+;
+; Kevin Ruland
+;
+; unsigned char wherex (void);
+;
 
-       ;; Keivn Ruland
-       ;;
-       ;; unsigned char wherex( void );
+        .export                _wherex
 
-       .export         _wherex
-
-       .include        "apple2.inc"
-
-.proc   _wherex
-
-       lda     CH
-        ldx     #0
-       rts
-
-.endproc
+        .include       "apple2.inc"
 
+_wherex:
+        lda            CH
+        ldx     #$00
+        rts