Re: [cc65] strcmp to empty string

From: Mark J. Reed <markjreed1mail.com>
Date: 2010-01-08 19:17:43
On Fri, Jan 8, 2010 at 4:31 AM, Per Olofsson <magervalp@gmail.com> wrote:
>    lda     _str
>    sta     ptr1
>    lda     _str+1
>    sta     ptr1+1
>    ldy     #$00
>    lda     (ptr1),y
> ;
> ; isempty();
> ;
>    jeq     _isempty


What's "jeq"?  Is that a ca65 convenience macro to handle conditional
jumps that don't fit into the branch range?

-- 
Mark J. Reed <markjreed@gmail.com>
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 8 19:17:49 2010

This archive was generated by hypermail 2.1.8 : 2010-01-08 19:17:51 CET