4 ms·
> Contrast this with a hypothetical cpu that has only one register "base" and allows to address 32 words after the address at that base register. This, er, was
by bitwize 6y ago
> Contrast this with a hypothetical cpu that has only one register "base" and allows to address 32 words after the address at that base register.
This, er, wasn't really hypothetical. The TMS9900, the CPU used in the TI-99/4A, had three hardware registers: a program counter, a status word, and what was called a Workspace Pointer (WP). General purpose "registers" lived in RAM, and were referenced by an offset off the value in the WP. Subroutine calls were initiated by saving the PC and changing the WP to a fresh new register context before branching.