Home /Modules/cpu/SPECIFICATION.md

SPECIFICATION.md

lib/cpu/intel4004/SPECIFICATION.md · 17 line(s) · markdown

Intel 4004 Specification

PropertySLeeLa profile
CPUIntel 4004
Arithmetic/data width4 bits
Instruction storage8-bit instruction bytes
Program counter12 bits
Register file16 × 4-bit registers, usable as eight pairs
Accumulator4 bits
Carry1-bit state
Return stackThree 12-bit return-address levels
External components4001 ROM/I/O and 4002 RAM/I/O family models, where configured
CacheNone
TimingProfile metadata required for cycle-accurate mode

Keep instruction decoding, chipset mapping, and execution semantics model-specific. Mark undocumented or configuration-dependent peripheral behavior as unspecified rather than assuming a modern memory map.