]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/wherex.s
don't use constructor to setup runtime stack
[cc65] / libsrc / apple2 / wherex.s
index cb9be3f0749f7ff39062f3034b79a0a877cc0382..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"
 
-       .include        "apple2.inc"
-
-.proc   _wherex
-
-       lda     CH
+_wherex:
+        lda            CH
         ldx     #$00
-       rts
-
-.endproc
-
+        rts