# 6502 Machine Code
Assembly language is the ultimate interface between human thought and silicon reality. Every instruction maps directly to a transistor state change inside the CPU.
### Registers & Accumulators
The **Accumulator (A)** is the primary workspace of the 6502. Most math and logic happens here.
### Essential Opcodes
- `LDA #$XX`: **L**oa**D** **A**ccumulator with an immediate hex value.
- `STA $XXXX`: **ST**ore **A**ccumulator value into a memory address.
### Task
Load the hex value `01` into the accumulator and then store it at memory address `$0200`.
Current Objective
Write code for the legendary MOS 6502 processor, used in the Apple II, Nintendo Entertainment System, and Commodore 64.
1
Manage the CPU Accumulator (A register)
2
Load hex values into memory addresses
3
Understand CPU cycles and timing
Socratic Mentor
Hello! I'm your Socratic mentor. Stuck on a problem? Tell me what you're thinking, and we'll work through it together.