Artifact ยท Utilities

6502 Emulator

65026502 emulator6502 simulator6502 assembler6502 assemblyassembly language

6502 Emulator lets you write 6502 assembly and run it on a simulated 6502 chip, the processor inside the Apple II, Commodore 64 and NES. Press Run to assemble and start, or Step to run one instruction at a time and watch the registers, flags and memory change.

Use 6502 Emulator together on your board.

Programs draw on a 32 by 32 pixel screen, read keys and random numbers, and follow the same memory map as easy6502, so tutorial code from there runs unchanged. Teachers can present a run to the whole room or set an assignment that students write, check and hand in.

It runs on a shared MockFlow board, so everyone on the board uses the same tile at once and nothing needs to be installed.

  • A complete 6502 CPU. All 56 official instructions and their addressing modes, decimal mode and the stack, with BRK ending the program. The CPU passes Klaus Dormann's well known 6502 functional test.
  • Screen, keys and random numbers. A 32 by 32 pixel screen at $0200 to $05FF with 16 colours, the last key pressed at $FF and a new random byte at $FE, the same map easy6502 uses.
  • Friendly assembler. Labels, define, .byte and DB with text, EQU, org and local labels, with hex, binary and decimal numbers. Mistakes are explained in plain words, with suggestions for misspelt instructions and labels.
  • Step, breakpoints and memory views. Step one instruction at a time, stop at breakpoints, see changed registers and bytes highlighted, browse memory by page and read the assembled listing.
  • Present to the room. One person presents and every other tile replays the same run, the same random numbers and the same key presses, so the whole class sees the same thing on their own screen.
  • Assignments with automatic checks. Four kinds: write a program, fix the bug, predict the result and a free project. Checks set starting values and compare registers, flags, memory or the whole screen with your answer. Optional rules limit the size or forbid an instruction.
  • Review with line comments and scores. See who is ready to review, how each answer did on every check, leave comments under exact lines, and send a score suggested from the checks. You can let a student fix it and hand in again.

How to use 6502 Emulator.

1

Add it to a board

Open Add anything with the plus button in the bottom toolbar, choose Artifacts and add 6502 Emulator. Use on a board on this page opens a new board with it already on.

2

Write or pick a program

Type 6502 assembly in Code, or start from one of six examples: Three pixels, Add two numbers, Count with X, Bouncing ball, Draw with keys and Random colours. Problems show while you type, in plain words with the fix.

3

Run, step and set breakpoints

Run assembles the code, loads it at $0600 and runs it at Slow, Normal or Fast speed. Step runs one instruction and highlights the next line. Click a line number to stop there.

4

Look inside the machine

The registers A, X, Y, PC and SP and the flags N, V, B, D, I, Z and C update as the program runs. Memory shows any page, and Assembled lists every line with its address and bytes.

5

Present a run to everyone

Choose Present to everyone in the menu. Every other tile on the board follows your Run, Pause, Step and key presses until you stop, and anyone can choose Stop following.

6

Set an assignment

Choose Set an assignment, pick the kind, write the task and your own answer, then add checks such as start with $10 = 7 and look at $12. The expected value fills in from your answer, and Give to class sends it to every student on the tile.

7

Review and send feedback

Students check their code and hand it in. Open each answer from Ready to review, run it, comment on any line, adjust the suggested score and choose Send. The next answer opens by itself.

Who uses 6502 Emulator.

A computer architecture lecture

A teacher explaining how a CPU works steps through a loop live, presents the run to the class, and points at the registers, flags and stack as they change.

Assembly homework for a class

A lecturer sets a write a program or fix the bug task with hidden checks, students hand in on the board, and the lecturer reviews and scores every answer in one place.

Quick understanding checks

A tutor gives a predict the result task: students read short code without running it and say what ends up in A, X or memory, and the tile marks their answers.

Bootcamps and workshops

A workshop introducing low level programming starts everyone on the examples, then has pairs write a small program that draws on the screen.

Retro programming sessions

Hobbyists who work through easy6502 style tutorials paste in their code, try a game like Snake, and sketch ideas together next to their notes.

Interview and study groups

A study group walks through what does this code leave in A puzzles, stepping each line together to check the answer.

Add 6502 Emulator to your board.

Use on a board opens a new board with 6502 Emulator already on it. To add it to a board you already have, follow these steps. Each copy keeps its own data, so a vote on one board never changes another.

1

Open your board

Open the MockFlow board you want to use it on.

2

Add it from the Artifact Library

Click Add anything (the plus button) in the toolbar at the bottom of the board, switch to Artifacts and pick 6502 Emulator under Utilities. Adding it does not use AI credits.

3

Use it together

Click Interact with Component (the hand button), or switch the board to Play mode. Everyone on the board uses the same app, and Reset shared data clears it for the next session.

Questions about 6502 Emulator.

What is the 6502?
The 6502 is an 8 bit processor from 1975 used in the Apple II, Commodore 64, Atari 2600 and NES. Its small instruction set makes it a popular way to learn how assembly language and CPUs work.
Does code from easy6502 work here?
Yes. The screen, the key at $FF, the random byte at $FE and the start address $0600 follow easy6502, and its tutorial programs, including Snake, run unchanged.
Does it emulate the Apple II, Commodore 64 or NES?
No. It simulates the 6502 processor with a simple 32 by 32 pixel screen and a keyboard byte. It does not reproduce those machines' graphics chips, sound or ROMs.
Can I step through code one instruction at a time?
Yes. Step runs one instruction, highlights the next line and marks the registers and flags that changed. You can also set breakpoints by clicking line numbers and run at Slow, Normal or Fast speed.
How do assignments get checked?
Each check sets starting values, runs your answer and the student's code, and compares the places you list, such as A, a flag, an address, a range of memory or the whole screen. You never type expected values by hand.
Can students see the hidden checks or my answer?
No. Students see the task and the checks you mark as visible. Hidden checks run when they hand in, and your answer is never shown in their view.
Do I need to install anything?
No. It runs in the browser on a MockFlow board. Artifacts are included on the Plus and Max plans, and anyone can sign up free and start a board.
Can I clear the tile for the next class?
Yes. End assignment returns the tile to free play, and Reset shared data clears everything for the next session. Each board's copy keeps its own data.
Get started

Use 6502 Emulator with your team.

Included on Plus and MaxChange it with AI on Max
New to MockFlow

Sign up free, open a board and see what your team can use together.

MCPBrainstorm with MockFlow MCP

Add MockFlow as an MCP connector in Claude, Cursor, or any MCP-compatible AI assistant to generate flowcharts, mindmaps, architecture diagrams, and 16 types of visualizations.

Desktop App MCP Powerful
CLI Web MCP Developer
Web MCP Easiest

Built into the MockFlow Desktop App. AI creates visuals directly on your open canvas — no URLs, no waiting.

1
Open Desktop App → open a MockFlow project
2
In Claude Code / Cursor, run:
claude mcp add --transport http -s user mockflow-ideaboard http://localhost:21193/mcp
3
Ask: "Create a flowchart for..."

Best for: Designers, product teams, daily MockFlow users.

Download Desktop App →

Install from npm, log in via browser (OAuth), and boards are saved to your MockFlow account.

1
npm install -g @mockflow/ideaboard-mcp
2
mockflow-ideaboard-mcp login
3
mockflow-ideaboard-mcp

Best for: Developers using Claude Code, Cursor, or VS Code Copilot.

npm Package →

Add MockFlow as a connector in Claude.ai or ChatGPT. No installation. A new board is created and you get a shareable URL.

1
Open Claude.ai → Settings → Connectors
2
Paste this URL, then click Connect and sign in to MockFlow: https://app.mockflow.com/ideaboard/connector/mcp
3
Ask Claude to create a flowchart — done!

ChatGPT: use https://app.mockflow.com/ideaboard/mcp and save its boards to your account to keep them

Best for: Managers, marketers, anyone using Claude.ai or ChatGPT in the browser.

Welcome back

Don't have an account? Sign up

Faster ways in

Sign in with an account you already use.