# SMBDIS.ASM: a comprehensive Super Mario Bros. disassembly

> SMBDIS.ASM reconstructs the NES game Super Mario Bros. as a single commented 6502 assembly file of about 16,000 lines. It names the PPU, APU and joypad registers and the game RAM variables, comments routines such as the sound engine, player movement and enemy handling, and lays out the metatile graphics table, level, enemy object, area object and music data; it assembles with x816 once the user supplies the character ROM data and an iNES header.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original resource: <https://gist.github.com/1wErt3r/4048722>
- Primary source: <https://gist.github.com/1wErt3r/4048722/59e88c0028a58c6d7b9156749230ccac647bc7d4>
- Catalog page: <https://awesomerea.org/resources/smbdis-super-mario-bros-disassembly-case/>
- Record JSON: <https://awesomerea.org/resources/smbdis-super-mario-bros-disassembly-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/smbdis-super-mario-bros-disassembly-case/index.md)

## Requirements & limits

- **Prerequisites:** The user must provide the character ROM data and an iNES file header.
- **Prerequisites:** The x816 assembler.
- **License:** The file states that it is provided for the user's own use as-is; no licence file in the gist.

## Primary sources

1. <https://gist.github.com/1wErt3r/4048722/59e88c0028a58c6d7b9156749230ccac647bc7d4>
2. <https://gist.githubusercontent.com/1wErt3r/4048722/raw/59e88c0028a58c6d7b9156749230ccac647bc7d4/SMBDIS.ASM>

## More in Games

- [smt-decomp: decompiling Shin Megami Tensei for PlayStation](https://awesomerea.org/resources/smt-decomp-case/index.md) · Case study
- [Snowboard Kids: decompiling the Nintendo 64 game](https://awesomerea.org/resources/sbk-decomp/index.md) · Case study
- [Sonic 3D Blast: a disassembly of game routines](https://awesomerea.org/resources/s3d-blast-disasm/index.md) · Case study
- [Sonic Adventure DX: a multi-version GameCube decompilation](https://awesomerea.org/resources/sadx-gamecube-decomp-case/index.md) · Case study
- [Sonic CD: reconstructing the Sonic Gems Collection version](https://awesomerea.org/resources/sonic-gems-sonic-cd-decomp-case/index.md) · Case study
- [Sonic Mania: a game-code decompilation for the RSDKv5 engine](https://awesomerea.org/resources/sonic-mania-decomp-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
