ST20-C1 STMICROELECTRONICS [STMicroelectronics], ST20-C1 Datasheet - Page 20

no-image

ST20-C1

Manufacturer Part Number
ST20-C1
Description
Instruction Set Reference Manual
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
3.3 Registers
An implementation of the ST20-C1 core may include a register cache . This provides a
mechanism to accelerate access to local work space without changing the
programmer’s model of how the work space operates or impacting either the excellent
code density or low interrupt latency associated with a stack-based instruction set.
3.3
This section introduces the ST20-C1 core registers that are visible to the programmer.
Seven registers, known as process state registers, define the local state of the
executing process. These registers are preserved through exceptions. One other
register is provided for performing input/output, and is not preserved through excep-
tions. All registers are 32-bit. Each instruction explicitly refers to specific registers , as
described in the instruction definitions.
The state of an executing process at any instant is defined b y the contents of the
machine registers listed in Table 3.1. The registers are illustrated in Figure 3.4 and
described in the rest of this section.
20/205
Areg
Breg
Creg
Iptr
Status
Wptr
Tdesc
IOreg
Register
ST20-C1 Core
Evaluation Stack
Registers
Status
IOReg
Areg
Breg
Creg
Evaluation stack register A
Evaluation stack register B
Evaluation stack register C
Instruction pointer register, pointing to the next instruction to be executed
Status register
Work space pointer, pointing to the stack of the currently executing process
Task descriptor
Input and output register
Table 3.1 Processor registers
Workspace Pointer
Instruction Pointer
Figure 3.4 Register set
Task Descriptor
Tdesc
Wptr
Iptr
Description
offset
base
Memory
Task Control
Block
Program
Code
Local
Program
Data

Related parts for ST20-C1