I found myself suddenly needing a Chip-8 assembler, so I figured I'd make a macro package for ca65 that translates Chip-8 mnemonics into .byte statements: .macro jmp arg1 .byte $10 | arg1>>8, arg1 & $ff .endmacro It's working fairly well, but as the 6502 mnemonics are reserved words I can't define macros with the same name (e.g. "jmp"). Is there a workaround for this? If not, would it be possible to add a "none" cpu model that'd free up the reserved mnemonics? -- ___ . . . . . + . . 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 Wed Apr 14 15:42:53 2004
This archive was generated by hypermail 2.1.8 : 2004-04-14 15:42:59 CEST