Re: [cc65] .cpu none?

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-04-15 15:43:33
>>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:

MV> That could have been useful for the 65j02 (in the C-One boot core)
MV> where certain instructions we unavailable.

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

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

UvB> should do the trick.

Yeah. On a somewhat related note - how do you detect if the (zp,x)
addressing mode is used? The 65j02 doesn't have that one, and I'm not
sure how to .match it.

PS: Wouldn't happen to be a simple patch that I could apply to my cc65
    sources?

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
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 15:44:08 2004

This archive was generated by hypermail 2.1.8 : 2004-04-15 15:44:15 CEST