APPENDIX

Table 7 gives the bytes of object code used to encode the benchmark programs. The Average Relative Code Size number of 1.97 says that the ZSO used nearly twice as much memory to store its programs as the iAPX SS.

Even though the majority of the ZSO opcodes are shorter than iAPX S8 opcodes, the ZSO requires more memory mostly because the iAPX 88 used fewer lines of code as shown in Table 6.

Table 7. Memory Utilization (Bytes) (iAPX 88 vs Z80)

 

Bytes of Code

 

Relative Code Size

Benchmark Programs

iAPX88/10

Z80

zaO/iAPX 88

Computer Graphics

40

151

3.78

16-Bit Multiply

14

41

2.93

Vector Add

18

30

1.67

Block Move

15

11

0.73

Block Translate

24

26

1.08

Character Search

18

15

0.83

Word Shift

6

21

3.50

Bubble Sort

38

62

1.63

Reentrant Call

48

83

1.73

Interrupt Response

15

28

1.87

Average Relative Code Size·

 

 

1.97

Adjusted Average Relative Code Size·

 

 

1.91

NOTE:

*See Table 3, notes 3 and 4 for description of average calculations.

1.0

 

.9

 

.8

 

.7

 

.8

 

.5

 

 

0.40

.4

r--

.3

-0.26

.2

 

.1

 

 

PROCESSOR

3.0

2.5~

 

1.97

2.0

r--

1.0

,..!:!.

 

.-!!...

 

 

0

 

0

 

 

i

 

i

 

 

>C..

~

1.::

~

 

:!!

:!!

 

PROGRAM LENGTH

CODE SIZE

 

Graph I. Normalized Average Throughput

Graph II. Normalized Average: Program Length and

 

Code Size

8

AFN.()1664A

Page 277
Image 277
Intel 210200-002 manual Memory Utilization Bytes iAPX 88 vs Z80 Bytes of Code