English
Language : 

HD64F3337YCP16V Datasheet, PDF (639/749 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
A.3 Number of States Required for Execution
The tables below can be used to calculate the number of states required for instruction execution.
Table A.3 indicates the number of states required for each cycle (instruction fetch, branch address
read, stack operation, byte data access, word data access, internal operation). Table A.4 indicates
the number of cycles of each type occurring in each instruction. The total number of states
required for execution of an instruction can be calculated from these two tables as follows:
Execution states = I × SI + J × SJ + K × SK + L × SL+ M × SM + N × SN
Examples: Mode 1 (on-chip ROM disabled), stack located in external memory, 1 wait state
inserted in external memory access.
1. BSET #0, @FFC7
From table A.4: I = L = 2, J = K = M = N= 0
From table A.3: SI = 8, SL = 3
Number of states required for execution: 2 × 8 + 2 × 3 = 22
2. JSR @@30
From table A.4: I = 2, J = K = 1, L = M = N = 0
From table A.3: SI = SJ = SK = 8
Number of states required for execution: 2 × 8 + 1 × 8 + 1 × 8 = 32
Table A.3 Number of States Taken by Each Cycle in Instruction Execution
Access Location
Execution Status
(Instruction Cycle)
On-Chip Supporting
On-Chip Memory Module
External Device
Instruction fetch
SI
2
6
Branch address read SJ
Stack operation
SK
Byte data access
SL
3
Word data access
SM
6
Internal operation
SN
1
1
Note: m: Number of wait states inserted in access to external device.
6 + 2m
3+m
6 + 2m
1
607