A 6502 assembler, in your browser.
Assembly is the human-readable form of the individual instructions a CPU executes. go6asm turns 6502 assembly into the exact bytes the chip would run, places them in a target machine's memory, and checks the result for mistakes — all in this page, nothing to install. What is assembly? · Pick an example and press Assemble. Hover any iInfo. A circled i marks a term — hover or focus it for a plain-language definition. for a plain-language definition of a term.
What happens when you press Assemble
text → machine, in six stages.if and .repeat expand.You can write just instructions and let go6asm fill in the rest, or spell out every detail yourself — same language, same result, you decide how much to hand off. The language reference walks through it.
Source
write it · target it · assemble itLoading WebAssembly…
Assembled result
BRK or an illegal opcode. It's honest about what it can't follow
(indirect jumps, self-modifying code).
.byte, not mis-decoded, because the analyzer knows what's code.
addr · bytes · instruction · your comments