Number Of Execution States - Hitachi H8/3637 Hardware Manual

H8/3637 series
Table of Contents

Advertisement

A.3

Number of Execution States

The following describes the operation status in each instruction provided for the H8/300 L CPU,
as well as a calculation of the number of execution states. Table A.4 gives the number of cycles
(as the operation status) for such operations as an instruction fetch, data read/write performed
during an instruction execution. Table A.3 gives the number of execution states required for each
cycle (operation status). The total number of states required for the execution of an instruction can
be calculated by using the following equation:
Execution states = I × S
Examples: When instruction is fetched from on-chip ROM, and an on-chip RAM is accessed.
1. BSET #0, @FF00
From table A.4:
I = L = 2,
J = K = M = N= 0
From table A.3:
S
= 2,
S
= 2
I
L
Number of states required for execution = 2 × 2 + 2 × 2 = 8
When instruction is fetched from on-chip ROM, branch address is read from on-chip ROM,
and on-chip RAM is used for stack area.
2. JSR @@ 30
From table A.4:
I = 2,
J = K = 1,
From table A.3:
S
= S
= S
= 2
I
J
K
Number of states required for execution = 2 × 2 + 1 × 2+ 1 × 2 = 8
+ J × S
+ K × S
I
J
L = M = N = 0
+ L × S
+ M × S
+ N × S
K
L
M
N
325

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3635H8/3636

Table of Contents