Re: [cc65] macro arguments

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-04-25 10:30:21
On Sun, Apr 25, 2004 at 01:12:14AM +0200, Groepaz wrote:
> i've been trying to write a macro for the illegal opcode "LAX" ....
> i stumbled over the problem that to do this i have to check the
> appearance of either "(" or ")" (braces) and also "," (the comma)
> in the arguments and that seems to be problematic with the current
> implementation somehow.... unless there is some magic that i didnt
> find yet :)

See one of my last mails to the list ... this one:

        http://www.cc65.org/mailarchive/2004-04/4052.html

There is currently no way to .match for braces or the comma. I will add some
facilities to make it possible as soon as I have a good idea how to do that
(probably .comma, .lparen or something similar - or does anybody have a better
idea?).

> ps: any objections against a seperate "6510" cpu type that would have
> the undocumented opcodes enabled?

Since they're undocumented, I would prefer something less official, like a
macro package. If I remember correctly, not more than one or two of these
undocumented instructions are actually useful. 

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 Sun Apr 25 10:30:24 2004

This archive was generated by hypermail 2.1.8 : 2004-04-25 10:30:30 CEST