Appendix B
Instruction Execution Times
307
Notes
1.
The execution time is given in microseconds unless otherwise stated.
2.
Times for non-differentiated forms are given to the left of the slash, and those for differentiated forms given to the right.
Instruction
OFF execution time (
µ
s)
1,2
Conditions
ON execution time (
µ
s)
1,2
C2000H
C1000H
C2000H
C1000H
CNTR(12)
21
14
Constant for SV
R: 15
IL: 10
R: 10
IL: 7
29
19
*
DM for SV
JMP: 10
JMP: 7
DIFU(13)
16
10
---
Normal: 15
IL: 16
JMP: 8
Normal: 10
IL: 10
JMP: 5
DIFD(14)
16
11
---
Normal: 16
IL: 16
JMP: 9
Normal: 11
IL: 11
JMP: 6
TIMH(15)
20
13
Interrupt Constant for SV
R
20
22
15
Normal cycle
IL
21
20
13
Interrupt
*
DM for SV
JMP
15
18
12
Normal cycle
R: 29
IL: 30
JMP: 16
R: 19
IL: 20
JMP: 10
WSFT(16)
36/38
24/26
When shifting 1 word
7/8
5/6
5.59 ms
3.72 ms
When shifting 4,096 words using
*
DM
CMP(20)
14
9
When comparing a constant to a word
7
5
29
20
When comparing two
*
DM
MOV(21)
15/17
10/11
When transferring a constant to a word
7/8
5/6
30/31
20/21
When transferring
*
DM to
*
DM
MVN(22)
16/17
10/11
When transferring a constant to a word
7/8
5/6
30/31
20/21
When transferring
*
DM to
*
DM
BIN (23)
21/23
14/15
When converting a word to a word
7/8
5/6
34/35
22/23
When converting
*
DM to
*
DM
BCD(24)
21/22
14/15
When converting a word to a word
7/8
5/6
33/34
22/23
When converting
*
DM to
*
DM
ASL(25)
18/19
12/13
When shifting a word
7/8
5/6
24/25
16/17
When shifting
*
DM
ASR(26)
18/19
12/13
When shifting a word
7/8
5/6
24/25
16/17
When shifting
*
DM
ROL(27)
18/19
12/13
When rotating a word
7/8
5/6
24/25
16/17
When rotating
*
DM
ROR(28)
18/19
12/13
When rotating a word
7/8
5/6
24/25
16/17
When rotating
*
DM
COM(29)
15/17
10/11
When inverting a word
7/8
5/6
21/23
14/15
When inverting
*
DM