# Assembly for the SNES

## Assembly for the SNES

- [Introduction](https://ersanio.gitbook.io/assembly-for-the-snes/readme.md)
- [Getting started](https://ersanio.gitbook.io/assembly-for-the-snes/getting-started.md)
- [Contributing](https://ersanio.gitbook.io/assembly-for-the-snes/contributing.md)
- [Hexadecimal](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/hexadecimal.md)
- [Binary](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/binary.md)
- [The SNES memory](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/memory.md)
- [The SNES registers](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/registers.md)
- [Addressing modes](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/addressing.md)
- [Little-endian](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/endian.md)
- [Glossary](https://ersanio.gitbook.io/assembly-for-the-snes/the-fundamentals/glossary.md)
- [Loading and storing](https://ersanio.gitbook.io/assembly-for-the-snes/the-basics/loading-and-storing.md)
- [Shorter addresses](https://ersanio.gitbook.io/assembly-for-the-snes/the-basics/shorter-addresses.md)
- [8-bit and 16-bit mode](https://ersanio.gitbook.io/assembly-for-the-snes/the-basics/816.md)
- [Comparing, branching, labels](https://ersanio.gitbook.io/assembly-for-the-snes/the-basics/branches.md)
- [Jumping to subroutines](https://ersanio.gitbook.io/assembly-for-the-snes/the-basics/subroutine.md)
- [Tables and indexing](https://ersanio.gitbook.io/assembly-for-the-snes/collection-of-values/indexing.md)
- [The stack](https://ersanio.gitbook.io/assembly-for-the-snes/collection-of-values/stack.md)
- [Copying data](https://ersanio.gitbook.io/assembly-for-the-snes/collection-of-values/moves.md)
- [The processor flags](https://ersanio.gitbook.io/assembly-for-the-snes/processor-flags-and-registers/flags.md)
- [Changing the processor flags](https://ersanio.gitbook.io/assembly-for-the-snes/processor-flags-and-registers/repsep.md)
- [Transfers](https://ersanio.gitbook.io/assembly-for-the-snes/processor-flags-and-registers/transfer.md)
- [Stack pointer register](https://ersanio.gitbook.io/assembly-for-the-snes/processor-flags-and-registers/stackpointer.md)
- [Arithmetic operations](https://ersanio.gitbook.io/assembly-for-the-snes/mathemathics-and-logic/arithmetic.md)
- [Bit shifting operations](https://ersanio.gitbook.io/assembly-for-the-snes/mathemathics-and-logic/shift.md)
- [Bitwise operations](https://ersanio.gitbook.io/assembly-for-the-snes/mathemathics-and-logic/logic.md)
- [Hardware math](https://ersanio.gitbook.io/assembly-for-the-snes/mathemathics-and-logic/math.md)
- [Addressing modes revisted](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/addressing.md)
- [Miscellaneous opcodes](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/misc.md)
- [Machine cycles](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/cycles.md)
- [Hardware vectors](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/vector.md)
- [Techniques](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/techniques.md)
- [Common assembler syntax](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/syntax.md)
- [Programming cautions](https://ersanio.gitbook.io/assembly-for-the-snes/deep-dives/cautions.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://ersanio.gitbook.io/assembly-for-the-snes/readme.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
