4-1-4. Overall Configuration of the CPU: General-purpose Register

General-purpose register (1)
General-purpose register (1)

General-purpose registers can be used for various purposes such as an accumulator and the data handling.

The TLCS-870/C1 has eight registers W, A, B, C, D, E, H and L (8 bit).
These eight registers can also be used as 16 bit registers by a pair of WA, BC, DE and HL.
These combinations are only for the registers next to each other, for example, B and E, H and E, etc. cannot be combined.

General-purpose register (2)
General-purpose register (2)

In addition, TLCS-870/C1 has two general-purpose registers IX and IY of 16 bit.
They are mainly used as an index registers when accessing the memory.

The TLCS-870/C1 has two banks of these registers.

Chapter 4 Toshiba Microcontrollers, Example of Core (TLCS-870/C1)

4-1. Overall Configuration of the CPU
4-1-1. Overall Configuration of the CPU: CPU Core (1)
4-1-2. Overall Configuration of the CPU: CPU Core (2)
4-1-3. Overall Configuration of the CPU: Program Counter
4-1-5. Overall Configuration of the CPU: PSW (Flag)
4-1-6. Overall Configuration of the CPU: Stack and Stack Pointer
4-2. Interrupt Processing
4-2-1. Interrupt Processing: Interrupt Type
4-2-2. Interrupt Processing: Maskable Interrupt
4-2-3. Interrupt Processing: Non Maskable Interrupt
A new window will open