Home /Modules/cpu/CPU.md

CPU.md

lib/cpu/6502/CPU.md · 44 line(s) · markdown

MOS Technology 6502 CPU

The SLeeLa 6502 profile models the original MOS Technology 6502 as an architectural and timing-oriented 8-bit processor.

Identity

FieldValueEvidence
FamilyMOS 6502documented
Data width8-bitdocumented
External address width16-bitdocumented
Address space64 KiBderived from 16-bit addressing
Programmer registersA, X, Y, S, PC, Pdocumented
Typical original clockabout 1 MHzdocumented/common original implementation
PipelineNo modern multi-stage pipelinederived from cycle-level architecture
L2/L3 cacheNonedocumented/architecture model
Integrated DMANone in the base CPUdocumented; external hardware may perform DMA
MMU/TLBNone in the base 6502documented

The 6502 is modeled as a small, bus-visible processor rather than as a modern superscalar CPU. Its observable behavior is strongly tied to individual bus cycles and the two-phase clock.

SLeeLa modeling

The profile composes:

The common cache, DMA and MMU objects remain explicitly disabled/absent for the base 6502.

Variant rule

6502-derived parts such as the 6510, 6504, 6509, RP2A03 and 65C02 should be separate profiles. Do not silently merge variant-specific I/O, banking, decimal-mode, CMOS, or opcode behavior into this base model.

See SPECIFICATION.md for the detailed model.