From 1518a4813cc2be16ae929dbdaccbcd345600a044 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 2 Nov 2009 16:24:26 +0000 Subject: [PATCH] The X register must be zero on return. git-svn-id: svn://svn.cc65.org/cc65/trunk@4426 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm/toascii.s | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5