disassemble

Disassemble 6502 routines from main.bin into human-readable assembly instructions.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/XekriRedmane/ali_baba_reveng --skill disassemble
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disassemble
Source: https://github.com/XekriRedmane/ali_baba_reveng/tree/main/.claude/skills/disassemble
Command: npx skills add https://github.com/XekriRedmane/ali_baba_reveng --skill disassemble

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables precise disassembly and comprehension of 6502 assembly routines, facilitating source understanding and debugging.

Core Features & Use Cases

  • Disassemble 6502 code from specified addresses within main.bin, generating human-readable assembly instructions.
  • Trace logic and control flow, identifying register states, branch conditions, and side effects for protocol verification.
  • Use Case: Reverse engineer a subroutine at address $0C25 to understand its function or verify its assembly output aligns with the original binary.

Quick Start

Use the disassemble skill to analyze a subroutine at address 0C25 in main.bin and view its assembly instructions.

Frequently Asked Questions about disassemble

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I disassemble 6502 assembly routines from an Apple II binary?

To disassemble 6502 assembly routines from an Apple II binary, you need the main.bin binary file and the dasm6502.py script. The Skill processes these files to generate human-readable assembly instructions from specified addresses.

Can I trace the control flow and register states of a 6502 subroutine?

Yes, you can trace control flow and register states of a 6502 subroutine. The Skill identifies register states, branch conditions, and side effects to assist in logical reconstruction and protocol verification during reverse engineering.

How do I reverse engineer a specific subroutine starting at address $0C25?

To reverse engineer a subroutine at address $0C25, specify this address in the Skill to analyze the main.bin file. It provides automated disassembly, end detection, and detailed instruction interpretation for that routine.

Do I need any specific files to start disassembling 6502 game code?

Yes, you need the dasm6502.py script and a binary file named main.bin to start disassembling 6502 game code. These dependencies are required to process the binary and output the assembly instructions.

What is the best way to debug and understand 6502 logic in Apple II games?

The best way to debug and understand 6502 logic in Apple II games is through automated disassembly and logical reconstruction. This approach allows you to verify assembly output against the original binary and accurately trace execution paths.

Does automated disassembly support end detection for 6502 routines?

Yes, automated disassembly supports end detection for 6502 routines. It automatically identifies routine boundaries and provides detailed instruction interpretation to help you understand the full scope of the subroutine.