Page 1 of 2

X16 Cheatsheet

Posted: Thu Oct 27, 2022 9:56 pm
by Slendi

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!


X16 Cheatsheet

Posted: Sat Nov 12, 2022 8:23 pm
by svenvandevelde

X16 Cheatsheet

Posted: Sat Nov 12, 2022 8:25 pm
by svenvandevelde

the cheat sheet contains an error PLA is not a subtract command, it is pull accumulator. Subtract is SBC. Please update it.


X16 Cheatsheet

Posted: Sun Nov 13, 2022 7:11 am
by neutrino

Cheat sheet as link with https:

https://xslendi.xyz/65c02.pdf

( why https? )

Nice work btw.

 


Re: X16 Cheatsheet

Posted: Sat Mar 04, 2023 1:57 pm
by Purple Lady
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.
Yeah, that's on page 3.

Re: X16 Cheatsheet

Posted: Sat Mar 04, 2023 6:05 pm
by TomXP411
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.

Re: X16 Cheatsheet

Posted: Sat Mar 04, 2023 7:25 pm
by Yazwho
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

Re: X16 Cheatsheet

Posted: Sat Mar 04, 2023 11:29 pm
by TomXP411
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
Ah. You' are corect. $1A and $3A are not part of the 6502 instruction set, but they are in the 65C02 extensions.

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.

Re: X16 Cheatsheet

Posted: Tue Jun 27, 2023 10:37 pm
by Martin Schmalenbach
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?

Re: X16 Cheatsheet

Posted: Wed Jun 28, 2023 3:40 pm
by DragWx
If you're looking for an opcode reference sheet for the 65C02, this seems to fit the bill pretty nicely while we wait.