Home /Modules/cpu/REGISTERS.md

REGISTERS.md

lib/cpu/motorola-68000/REGISTERS.md · 21 line(s) · markdown

Motorola 68000 Registers

RegisterWidthCategory
D0-D732data
A0-A732address/stack
PC32control
SR16status/control

Status register

SR contains the condition-code register plus supervisor and interrupt-mask control. SLeeLa should preserve the distinction between programmer-visible status and internal control state.

Stack pointer

A7 is the active stack pointer. Supervisor/user stack behavior is represented at the architecture layer where applicable.

Internal state

Internal instruction, operand, address, and bus latches are not promoted to architectural registers unless a timing or circuit model requires them.