Timer and Counter Instructions
Chapter 5
522
Table 5.E
Average Execution Times for WordToFile, Sequencers, Word and Bit
Shifts, File Diagnostic, File Search and Block Transfer Instructions
Average Execution Time in Microseconds
Instruction False
True
WordToFile Move
FileToWord Move
WordToFile AND, OR, XOR
<1
<1
<1
48
49
75
Sequencer Load
Sequencer In
Sequencer Out
17
<1
17
60 + (27.8 x # words/step)
58 + (40 x # words/step)
63 + (37 x # words/step)
Fifo Unload
Fifo Load
16.4
16.4
62
64
Shift File Down
Shift File Up
17
17
107 + (7.4 x # words in file)
112 + (7 x # words in file)
Examine ON (or OFF) Shift Reg. Bit
Set (or Reset) Shift Reg. Bit
Bit Shift Left
Bit Shift Right
<1
<1
19.2
19.2
47
45
64 + (8.2 x # words in file)
73 + (7.8 x # words in file)
File Search
File Diagnostic
10.8
27.0
68 +
2
120 +
3
Block Transfer Read
Block Transfer Write
19.0
19.0
19.0
19.0
1 Execution Time depends on: a) length of files and, b) number of words/step. Section 5.6.2.
2 Execution Time is increased by 4.6 x the number of words searched before a match is found. Section 5.6.2.
3 Execution Time is increased by 7.6 x the number of words scanned before an error is found. Section 5.6.2.
Table 5.F presents average instruction execution times for File-to-File
move and File Complement instructions for the distributed complete,
complete and incremental modes. The mode depends upon the value of
R (the words or rate per scan — see Chapter 12).
The execution time equation for the distributed complete mode in
microseconds is:
T = 85 + (6.8 x number of words operated upon per scan) + 14.4
(number of full 256 word blocks operated upon per scan).
The execution time equation in microseconds for the complete mode is:
T = 67.2 + (6.8 x number of words operated upon per scan) + 14.4
(number of full 256 word blocks operated upon per scan).
5.6.3
FiletoFile Move and File
Complement
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com