Re: [cc65] .cpu none?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-04-15 13:14:34
On Thu, Apr 15, 2004 at 11:51:35AM +0200, MagerValp wrote:
> It could be argued that an assembler coder that knows how to use
> macros should be allowed to shoot herself in the foot :)

Yes, that could be argued:-)

> Or maybe something like .remove jsr to just disable certain instruc-
> tions? That could have been useful for the 65j02 (in the C-One boot
> core) where certain instructions we unavailable.

If macros with the names of instructions are allowed, a macro like

        .macro  jsr
                .error  "jsr is unavailable"
        .endmacro

should do the trick.

Sounds like allowing this is really the way to go.

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 Thu Apr 15 13:14:40 2004

This archive was generated by hypermail 2.1.8 : 2004-04-15 13:14:46 CEST