From d72b7265b3d6c35a0794407217a973d8ecdbd112 Mon Sep 17 00:00:00 2001 From: jonnosan Date: Wed, 30 Dec 2009 10:53:59 +0000 Subject: [PATCH] FIX: parse_integer was treating digit '9' as marking end of string :-( git-svn-id: http://svn.code.sf.net/p/netboot65/code@244 93682198-c243-4bdb-bd91-e943c89aac3b --- client/ip65/string_utils.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ip65/string_utils.s b/client/ip65/string_utils.s index 9136a1a..64ffe52 100644 --- a/client/ip65/string_utils.s +++ b/client/ip65/string_utils.s @@ -32,7 +32,7 @@ parse_integer: lda (target_string),y cmp #$30 bcc @end_of_int ;any non-decimal char should be treated as end of integer - cmp #$39 + cmp #$3A bcs @end_of_int ;any non-decimal char should be treated as end of integer ldax temp_value