Program Counter (Pc); Extended Control Register (Exr); Figure 2.8 Stack - Hitachi H8S/2628 Hardware Manual

H8s/2628 series 16-bit single-chip microcomputer
Table of Contents

Advertisement

2.4.2

Program Counter (PC)

This 24-bit counter indicates the address of the next instruction the CPU will execute. The length
of all CPU instructions is 2 bytes (one word), so the least significant PC bit is ignored. (When an
instruction is fetched, the least significant PC bit is regarded as 0).
2.4.3

Extended Control Register (EXR)

EXR is an 8-bit register that manipulates the LDC, STC, ANDC, ORC, and XORC instructions.
When these instructions, except for the STC instruction, are executed, all interrupts including NMI
will be masked for three states after execution is completed.
Bit
Bit Name
7
T
6 to 3
2
I2
1
I1
0
I0
SP (ER7)

Figure 2.8 Stack

Initial Value
R/W
0
R/W
All 1
1
R/W
1
R/W
1
R/W
Free area
Stack area
Description
Trace Bit
When this bit is set to 1, a trace exception is
generated each time an instruction is executed.
When this bit is cleared to 0, instructions are
executed in sequence.
Reserved
Theese bits are always read as 1.
These bits designate the interrupt mask level (0 to
7). For details, refer to section 5, Interrupt
Controller.
Rev. 1.0, 09/02, page 19 of 568

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents