[cc65] putting "unknown" opcodes into __asm__()

From: Gábor Lénárt <lgb1lgb.hu>
Date: 2008-08-15 01:02:59
Hi,

I would like to test a self made emulator which knows some "faked" opcodes.
My software is written in C, and I would like to use internal assembler of
CC65 to put these fake opcodes, however cc65 reported that .BYTE is not
supported in internal assembler. However since they're not a valid 6502
opcode, I am not able to do it otherwise. Is there a way to use custom byte
stream as the part of the code in the internal assembler of cc65? I really
wouldn't like to use another assembly source just to separate these stuffs,
since they're short (usually only a single "opcode") but there are many of
them throught the whole source. This is also problem with DTV, by the way,
is there a way to insert new opcodes of DTV's "CPU" with __asm__()?

Thanks!

-- 
- Gábor
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Aug 15 01:03:05 2008

This archive was generated by hypermail 2.1.8 : 2008-08-15 01:03:08 CEST