• Examples of Calculation of Number of States Required for Execution
(Example 1) Instruction fetch from on-chip memory
Operand
Read/Write
On-chip memory
or general register
(Example 2) Instruction fetch from on-chip memory
Operand
Read/Write
On-chip supporting
module or external
memory (word)
(Example 3) Instruction fetch from external memory
Operand
Read/Write
On-chip memory or
general register
Downloaded from
Elcodis.com
electronic components distributor
Start
Assembler Notation
Addr.
Address
Code
Even
H'0100
H'D821
Odd
H'0101
H'D821
Start
Assembler Notation
Addr.
Address
Code
Even
H'FC00
H'11D8
Odd
H'FC01
H'11D8
Assembler Notation
Address
Code
H'9002
H'D821
Mnemonic
ADD @R0, R1
ADD @R0, R1
Mnemonic
JSR @R0
JSR @R0
Mnemonic
ADD @R0, R1
360
Table A-7 + Number
Table A-8
of States
5 + 1
6
5 + 0
5
Table A-7 +
Number
Table A-8 + 2I
of States
9 + 0 + 2 × 2
13
9 + 1 + 2 × 2
14
Table A-7 +
Number
2(J + K)
of States
5 + 2 × (1 + 1)
9