Dedicated Registers - Fujitsu Semiconductor Controller MB89950/950A Hardware Manual

F2mc-8l 8-bit microcontroller
Table of Contents

Advertisement

3.2

Dedicated Registers

The dedicated registers in the CPU consist of the program counter (PC), two arithmetic
operation registers (A and T), three address pointers (IX, EP, and SP), and the program
status (PS). All registers are 16 bits.
I Dedicated register configuration
The dedicated registers in the CPU consist of seven 16-bit registers. Some of these registers are also able to
be used as 8-bit register, using the lower 8 bits only.
Figure 3.2-1 "Dedicated register configuration" shows the structure of the dedicated registers.
Initial value
FFFD
H
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
I-flag = "0"
IL0, IL1 = "11"
Other bits are indeterminate
I Dedicated register functions
G
Program counter (PC)
The program counter is a 16-bit counter that indicates the memory address of the instruction currently
being executed by the CPU. Instruction execution, interrupts, resets, and similar update the contents of the
program counter. The initial value during a reset is the read address of the mode data (FFFD
G
Accumulator (A)
The accumulator is a 16-bit arithmetic operation register. The accumulator is used to perform arithmetic
operations and data transfers with data in memory or in other registers such as the temporary accumulator
(T). The content of the accumulator can be treated as either word (16-bit) or byte (8-bit) data. Only the
lower 8 bits (AL) of the accumulator are used for byte arithmetic operations or transfers. In this case, the
upper 8 bits (AH) remain unchanged. The content of the accumulator after a reset is indeterminate.
Figure 3.2-1 Dedicated register configuration
16 bits
: Program counter
PC
A
: Accumulator
T
: Temporary accumulator
IX
: Index register
EP
: Extra pointer
SP
: Stack pointer
: Program status
RP
CCR
PS
A register for indicating the current instruction
storage positions
A temporary register for storing arithmetic operations or
transfer instructions
A register for performing arithmetic operations with
the accumulator
A register for indicating an index address
A pointer for indicating a memory address
A register for indicating the current stack location
A register for storing a register bank pointer and
condition code
CHAPTER 3 CPU
).
H
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb89950 seriesMb89950a series

Table of Contents