List of SNES 65816 mnemonics/opcodes?

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
User avatar
pcmantinker
Posts: 108
Joined: Sun Jul 26, 2009 9:03 pm
Location: Columbus, GA
Contact:

List of SNES 65816 mnemonics/opcodes?

Post by pcmantinker » Wed Aug 26, 2009 4:59 pm

I would like to venture into the world of SNES homebrew, but I don't really understand what all of the mnemonics/opcodes do for the 65816 processor. I've tried looking for some documentation via google and found some tutorials, but they seem incomplete for the full set that is supported by an assembler such as WLA-DX or WLA-65816.

I am a second year computer science student and really enjoy programming. Assembly is a bit new to me, but I'm up to the challenge of learning the low level method of programming. I have experience in higher level languages like Java, C, C++, and the .NET framework. Eventually, with enough knowledge of the architecture, I'd like to see about writing a C or C++ compiler for the 65816 processor. I know this has been done in the past, but it would be a fun project to do later. I know for one of my senior projects, I will have to write a compiler and that could be a possible venue for the project.
"Many of life's failures are those who didn't realize how close they were to success when they gave up" - Thomas Alva Edison

User avatar
koitsu
Posts: 4217
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Post by koitsu » Wed Aug 26, 2009 9:54 pm

http://www.westerndesigncenter.com/wdc/ ... tation.cfm

http://www.westerndesigncenter.com/wdc/ ... manual.pdf

http://www.defence-force.org/computing/ ... /annexe_2/ (sub-par if you ask me)

Western Design Center also makes a bound manual for the 65C816. I posted something on this board a looooong time ago (I can't even find my own post! :-) ) about it, and how even recently they still will print you a copy + put it in a 3-ring binder + mail it to you for something like $50. I forget the exact cost. So give them a ring if that interests you (I prefer paper to PDF when it comes to things like this).

Otherwise, try to find a copy of the book titled "Programming the 65816 Including the 6502, 65C02, and 65802" by David Eyes and Ron Lichty, (c) 1986 Brady Books. The ISBN number is 0-89303-789-3. This is the book I've relied on for at least 20 years (so much that the cover is torn off!)

User avatar
pcmantinker
Posts: 108
Joined: Sun Jul 26, 2009 9:03 pm
Location: Columbus, GA
Contact:

Post by pcmantinker » Wed Aug 26, 2009 10:15 pm

Thank you very much for the useful links. I will begin gathering materials fairly soon and start developing my own applications/games. I'm excited to be getting into the homebrew scene for the SNES. The SNES is my favorite classic console.
"Many of life's failures are those who didn't realize how close they were to success when they gave up" - Thomas Alva Edison

User avatar
pcmantinker
Posts: 108
Joined: Sun Jul 26, 2009 9:03 pm
Location: Columbus, GA
Contact:

Post by pcmantinker » Wed Sep 02, 2009 10:34 pm

In my search to find more documentation for SNES homebrew, I found the official SNES Developer's Manual in PDF format on romhacking.net. It has a wealth of information including all of the ins and outs of the SNES hardware. I am looking forward to reading through the books. As far as I know, the official assembler has not been released, but I think that I can adapt concepts from this book to another assembler.
"Many of life's failures are those who didn't realize how close they were to success when they gave up" - Thomas Alva Edison

Post Reply