Intel 210200-002 Baby Furniture User Manual


 
APPENDIX
Table
5.
Execution Times with Comparable Memory Access Times (iAPX
88
vs
Z80B)
Relative Execution Time
Absolute
Time·
Z80/iAPX
88
Benchmark Programs
iAPX
88
(5
MHz)
Z80B··
Z80B···
Z80B··
Z80B···
Computer Graphics
2.32 28.5 34.5
12.38 14.87
16-Bit Multiply
40.80
302.0 361.0
7.59 8.84
Vector Add
295.00
399.0 477.0
1.35 1.62
Block Move
328.00
552.0 659.0
1.68 2.01
Block Translate
1507.00 1676.0 2032.0
1.11
1.35
Character Search
136.00 181.0
216.0
1.33 1.59
Word Shift
13.00 39.0 48.0 3.02
3.65
Bubble Sort
2406.00
3851.0 4638.0
1.60
1.93
Reentrant Call
87.60 120.0 147.0
1.38 1.69
Interrupt Response
t
107/61.5
63.8/59.0
77.3171.5
0.60 0.73
Average Relative Execution
Timett
3.20 3.83
Adjusted Average Relative Execution Time
tt
2.38 2.84
NOTES:
·The
times are given in microseconds except for the Computer Graphics benchmark where the times are in seconds.
"These
times for the 6 MHz Z80B include one wait state
on
memory accesses.
***These times for the 6 MHz Z80B include two wait states on memory accesses.
tSee note 2
of
Table 2.
ttSee Table 3, notes 3 and 4 for description
of
average calculations.
Table 6
is
titled
"Ease
of
Use" and gives the number
of
lines
of
code required for each program. The Average
Relative Program Length
of
2.51
shows that the Z80 re-
quired more than twice
as
many lines
of
code
as
the
iAPX
88
to accomplish the same tasks. The sixteen bit
multiply and divide instructions
of
the iAPX
88
were the
major factors in the
4.73
and 5.00 Relative Program
Length figures for the Computer Graphics and Sixteen
bit
MUltiply benchmarks. Some other factors which
helped the
iAPX
88
in this category are its flexible ad-
dressing modes, string instructions
and
its ease
of
handling sixteen bit data. The Z80 used fewer lines
of
code for the Block Move and the Character Search
benchmarks. The
iAPX
88
Block Move uses word
moves. A byte move algorithm could have been used,
but with a slight performance degradation (although
still faster than the Z80). The program would then have
the same number
of
lines (and bytes)
of
code used by the
Z80 Block Move.
Table
6.
Ease
of Programming (iAPX
88
vs
Z80)
Lines
of
Code
Benchmark Program iAPX
88/10
Computer Graphics
15
16-
Bit Multiply 4
Vector Add 8
Block Move
7
Block Translate
10
Character Search 8
Word Shift
2
Bubble Sort
17
Reentrant Call
26
Interrupt Response
15
Average Relative Program Length·
Adjusted Average Relative Program Length"
NOTE:
·See
Table
3,
notes 3 and 4 for description
of
average calculations.
7
Z80
71
20
20
4
13
6
10
30
47
25
Relative Program Length
Z80/iA~X
88
4.73
5.00
2.50
0.57
1.30
0.75
5.00
1.76
1.81
1.67
2.51
2.44
AFN·01664A