Home /Modules/cpu/CPU.md

CPU.md

lib/cpu/wdc-65c816/CPU.md · 45 line(s) · markdown

WDC 65C816 CPU

The SLeeLa WDC 65C816 profile models the processor as a 8/16-bit microprocessor with a accumulator / indexed register machine and an architectural, timing-oriented view of its execution.

Identity

FieldValueEvidence
FamilyWDC 65C816documented
Data width16-bitdocumented
External address width24-bitdocumented
Address space16 MiBderived from 24-bit addressing
Programmer registersA (8/16), X/Y (8/16), 16-bit stack pointer, direct-page, 24-bit program address, statusdocumented
Rated clock (model)about 4 MHzdocumented/representative
Cache (model)Nonedocumented/architecture model
Integrated DMANodocumented/architecture model
MMU/TLBNodocumented/architecture model

The profile is a functional model: enough register, memory and timing structure to run the CPU and host SLeeLa/C/C++ workloads, not a cycle-accurate silicon recreation.

SLeeLa modeling

The profile composes the shared CPU objects:

Cache, DMA and MMU objects are instantiated only where this part actually integrates them (see CACHE.md, DMA.md).

Variant rule

WDC 65C816, a 16-bit follow-up to the 65C02 with 24-bit addressing. Do not silently merge variant-specific I/O, cache, addressing or opcode behavior into this base model.

See SPECIFICATION.md for the detailed model.

Sources