🎮
Assembly for the SNES
  • Introduction
  • Getting started
  • Contributing
  • The fundamentals
    • Hexadecimal
    • Binary
    • The SNES memory
    • The SNES registers
    • Addressing modes
    • Little-endian
    • Glossary
  • The basics
    • Loading and storing
    • Shorter addresses
    • 8-bit and 16-bit mode
    • Comparing, branching, labels
    • Jumping to subroutines
  • Collection of values
    • Tables and indexing
    • The stack
    • Copying data
  • Processor flags and registers
    • The processor flags
    • Changing the processor flags
    • Transfers
    • Stack pointer register
  • Mathemathics and logic
    • Arithmetic operations
    • Bit shifting operations
    • Bitwise operations
    • Hardware math
  • Deep dives
    • Addressing modes revisted
    • Miscellaneous opcodes
    • Machine cycles
    • Hardware vectors
    • Techniques
    • Common assembler syntax
    • Programming cautions
Powered by GitBook
On this page

Getting started

PreviousIntroductionNextContributing

Last updated 1 month ago

Was this helpful?

CtrlK
  • IDE
  • Assemblers

Was this helpful?

IDE

There are no dedicated IDEs for 65c816 assembly. You can use any ASCII editor, such as Notepad or VS Code. However, some people made various plugins for existing code editors to add extra features, such as syntax highlighting:

  • Josh Neta's "65816 Assembly" plugin for VS Code

  • Vice's "65816 SNES Assembly Language Server" plugin for VS Code

  • lx5's "Asar syntax highlight" plugin for VS Code.

  • Telinc1's "65c818 ASM syntax for highlight.js" as a JavaScript plugin

Assembly files are generally saved with the file extension ".asm".

Assemblers

This tutorial uses syntax which is used by an assembler called "Asar", originally written by Alcaro, now maintained by various members of the SMW Central community. This assembler is hosted on SMW Central and can be downloaded here. The GitHub repository of Asar can be found here.