[cc65] New .IDENT function

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-05-09 21:09:42
I've added a new pseudo function named .ident. Its purpose is to make an
identifier from a string. Example:

        .macro  makelabel       arg1, arg2
                .ident (.concat (arg1, arg2)):
        .endmacro

                makelabel       "foo", "bar"

                .word           foobar          ; Valid label

If the argument of .ident starts with the current .localchar, it is converted
into a cheap local identifer.

As usual, feedback is appreciated. A new snapshot is currently building and
should available within 30 minutes from the FTP server.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon May 9 21:09:56 2005

This archive was generated by hypermail 2.1.8 : 2005-05-09 21:09:58 CEST