From: uz Date: Mon, 2 Nov 2009 16:24:26 +0000 (+0000) Subject: The X register must be zero on return. X-Git-Tag: V2.13.1~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1518a4813cc2be16ae929dbdaccbcd345600a044;p=cc65 The X register must be zero on return. git-svn-id: svn://svn.cc65.org/cc65/trunk@4426 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/cbm/toascii.s b/libsrc/cbm/toascii.s index bea7ca880..c44a93278 100644 --- a/libsrc/cbm/toascii.s +++ b/libsrc/cbm/toascii.s @@ -11,6 +11,10 @@ .proc _toascii +; X must be zero on return + + ldx #0 + ; Check for code between 65 and 90 cmp #$41