]> git.sur5r.net Git - cc65/commitdiff
The X register must be zero on return.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Nov 2009 16:24:26 +0000 (16:24 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Nov 2009 16:24:26 +0000 (16:24 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4426 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/toascii.s

index bea7ca880548478bac74fcbe4a90997b04d160c0..c44a93278446f6a25d3a7457f408de2e734d3268 100644 (file)
 
 .proc   _toascii
 
+; X must be zero on return
+
+        ldx     #0
+
 ; Check for code between 65 and 90
 
         cmp     #$41