Assembler using ca65 dialect

Posted by Robbbates on Mon 29 Apr 2024 09:04 PM — 3 posts, 6,881 views.

#0
As I am more familiar with ca65, I'm thinking about re-coding your assembler to act more like ca65. Yes, I'm a little bit unstable. ;D

Would it be safe to say that the only real differences, assuming you are familiar with them, are the directives?

The rest of the assembly code *should* be the same, yes?

Robb
Australia Forum Administrator #1
I can't think what wouldn't work. The assembler instructions should be the same, and the only things that might differ would be things like the makeHandler macro which, if the worst came to the worst, you would just expand out manually (or use your favourite editor to do it for you).
#2
I've been reading up on Vasm and ca65. Not much difference. Most everything is the same. The directives are similar, just subtle differences. ".byte" instead of "DFB" and such. Others are a bit trickier. "ASSERT" vs ".warning" don't do exactly the same thing, but I probably wouldn't ever use either.

We'll see.

Robb