X16 Cheatsheet
Forum rules
Post guides, tutorials, and other instructional content here.
This topic area requires approval, so please be patient while we review content to make sure it fits the expectations for this topic area.
Tech support questions should be asked in Hardware or Software support.
Post guides, tutorials, and other instructional content here.
This topic area requires approval, so please be patient while we review content to make sure it fits the expectations for this topic area.
Tech support questions should be asked in Hardware or Software support.
X16 Cheatsheet
Hello, everyone! I have started learning how to program not only the 65C02,
but the X16 as well. I decided that something to aid me in this adventure of
mine is to create a cheatsheet of various useful information. I have decided
to share what I've made so far with all of you guys: http://xslendi.xyz/65c02.pdf
The reason why I opted for a link is for keeping the file always updated in
one single place. HTTPS is available, if you want to use that.
For now, there is only some basic information about the processor itself, but
it will get updated. I will post here whenever I add new content.
Hope this is going to prove useful to others as well! Enjoy!
- svenvandevelde
- Posts: 488
- Joined: Wed Dec 23, 2020 6:30 am
- Location: Belgium, Antwerpen
- svenvandevelde
- Posts: 488
- Joined: Wed Dec 23, 2020 6:30 am
- Location: Belgium, Antwerpen
X16 Cheatsheet
the cheat sheet contains an error PLA is not a subtract command, it is pull accumulator. Subtract is SBC. Please update it.
-
- Posts: 3
- Joined: Tue Dec 06, 2022 10:37 am
Re: X16 Cheatsheet
Yeah, that's on page 3.svenvandevelde wrote: ↑Sat Nov 12, 2022 8:25 pm the cheat sheet contains an error PLA is not a subtract command, it is pull accumulator. Subtract is SBC. Please update it.
Re: X16 Cheatsheet
PLA is still incorrectly marked as subtraction.
Several group headers say Increment & Decrement, but are something else entirely.
I don’t think the 65C02 has a DEA or INA commands. Those should be removed.
All mnemonics should have address modes listed, since available address modes vary mnemonic.
Several group headers say Increment & Decrement, but are something else entirely.
I don’t think the 65C02 has a DEA or INA commands. Those should be removed.
All mnemonics should have address modes listed, since available address modes vary mnemonic.
Re: X16 Cheatsheet
It has, but generally its `INC` or `DEC`. I have seem them as `INA`, `DEA` as well as `INC A` though, different assemblers different things I guess.
https://www.pagetable.com/c64ref/6502/? ... &tab=2#INC
https://www.pagetable.com/c64ref/6502/? ... &tab=2#INC
Re: X16 Cheatsheet
Ah. You' are corect. $1A and $3A are not part of the 6502 instruction set, but they are in the 65C02 extensions.Yazwho wrote: ↑Sat Mar 04, 2023 7:25 pm It has, but generally its `INC` or `DEC`. I have seem them as `INA`, `DEA` as well as `INC A` though, different assemblers different things I guess.
https://www.pagetable.com/c64ref/6502/? ... &tab=2#INC
The WDC data sheet uses INC and DEC for $1A and $3A, respectively.
The on-board monitor also uses those mnemonics.
ACME uses INC/DEC.
64TASS supports INA and DEA as aliases for INC/DEC.
Considering the data sheet uses INC/DEC, and so far, all the assemblers that document this show INC/DEC as the preferred mnemonic, those should be the mnemonics on any reference material.
-
- Posts: 138
- Joined: Tue Jul 21, 2020 10:08 pm
Re: X16 Cheatsheet
It looks like the links in this thread now point to nothing - I keep getting a 404 error...
Can we get these links fixed and if not, perhaps archive this thread?
Can we get these links fixed and if not, perhaps archive this thread?
Re: X16 Cheatsheet
If you're looking for an opcode reference sheet for the 65C02, this seems to fit the bill pretty nicely while we wait.