Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Electronics
➜ G-Pascal
➜ Assembler using ca65 dialect
Assembler using ca65 dialect
|
Posting of new messages is disabled at present.
Refresh page
Posted by
| Robbbates
(6 posts) Bio
|
Date
| Mon 29 Apr 2024 09:04 PM (UTC) |
Message
| 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 30 Apr 2024 06:59 AM (UTC) |
Message
| 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). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Robbbates
(6 posts) Bio
|
Date
| Reply #2 on Tue 30 Apr 2024 12:31 PM (UTC) |
Message
| 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 | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,621 views.
Posting of new messages is disabled at present.
Refresh page
top