implementation of zilog z-88 base realization …

112
ARD-Ai146 359 IMPLEMENTATION OF A ZILOG Z-88 BASE REALIZATION LIBRARY 1/2 FOR THE COMPUTER SYSTEMS DESIGN ENVIRONMENT(U) NAVAL POSTGRADUATE SCHOOL MONTEREY CA T J SMITH MAR 84 UNCLASSIFIED F/G 9/2 N

Upload: others

Post on 22-Oct-2021

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

ARD-Ai146 359 IMPLEMENTATION OF A ZILOG Z-88 BASE REALIZATION LIBRARY 1/2FOR THE COMPUTER SYSTEMS DESIGN ENVIRONMENT(U) NAVALPOSTGRADUATE SCHOOL MONTEREY CA T J SMITH MAR 84

UNCLASSIFIED F/G 9/2 N

Page 2: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

NE

ER1. L.1

.7W 0*... %

Page 3: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

NAVAL POSTGRADUATE SCHOOLMonterey, California

~Tic

THESIS-MPLEMENATION OF A ZILOG Z-80 BASEREALIZATION LIBRARY FOR THE COMPUTER

SYSTEMS DESIGN ENVIRONMENT

by

Theodore John Smith, Jr.0.March 1984

Thesis Advisor: Alan A. Ross

Approved for Public Release; Distribution Unlimited

84 10 09015

Page 4: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

S9CUmIVv CLASSIFICATION OF THIS PAGE9 EWhin Date Znt-04 _____________

REPOR DOCMENT~iON AGEFORE3 COMPLETING FORM1. REPORT NUN... I N1 CAAO NME

4. TITaEter'suThesis

Implementation of a Zilog Z-80 BaseMatrsTeiRealization Library for the Computer Mac,18

Systms Dsig Envronmnt1. PERFORMING ORG. REPORT NUMBER

T. A&TN@Re S. CONTRACT OR GRANT NUMBER(.)

Theodore John Smith, Jr.

9- PRFORING RGANZATON MNZ AD AtO.S PROGRAM ELEMENT. PROJECT, TASKC

S. PRPONIM@RGAIZAIOUNAMEANDADDESSAREA & WORKC UNIT NUMBERS

Naval Postgraduate SchoolMonterey, California 93943

I I- CONTROLLING OFFIC9 MNM AND ADDRESS 12. REPORT DATE

Naval Postgraduate School March, 1984Monterey, California 93943 13. NUMSER orPAGES

14. 11 OIRING AGENCY NAME SADISRtSSif fetimrt A..f Colrffq W O fed ) IS. SECURITY CLASS. (ofthi t e maI)

UNCLASSIFIED1S.. 3ECL ASSI FI CATI Ohi DOWNGRADING

SCHEDULE

16. DISTRIBUTION STATEMENT (1 .We Aepert)

Approved for Public Release; Distribution Unlimited

17. DISTRIBUTION STATEMENT (ot MeU destro SW1in Woak 20. It Ettoen trdi 60 ep.11)

I&. SUPPLEMENTARY NOTES

19. KEV WORS (C.ethueon Maffe Side It 0@00080F dedg #~vfr 6F 68o6h RUnMW)

* Computer aided design, CSDL, Z-80, realization, primitivemonitor

So. ABSTRACT (Coww sw Mooreso it uoernp mE Idwully Av wOp Noa .)

This thesis develops a Zilog-80 based realization library foruse in the automated design of microprocessor based controlsystems. The library is designed around Standard Bus boards.This bus is supported by a number of manufacturers for use inbreadboard construction, through a number of standard cards.The library of primitives developed implement the construction

* used in Computer System Design Language (CSDL) for (Continued)

DD I W3 147 OITION OF I NOV 6 1 OSSOLETE

S/N 0102- LF. 014. 5601 1 SECURITY CLASSIFICATION OF THIS PAGE (3mm.n Dots 2101ftw

J~ w 78

.- . .-

* . ..

Page 5: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

ssCUNTV CtLAauICATION OF THIS PAOK MW DA" Smftf

* STRACT (Continued)

he Z-80 cpu. CSDL is a high level language that allows the* pecifications of tasks and procedures, and their time constraints

se of the design system and this library can enable Z-80 based* prototype controllers to be quickly designed and built.

*L i

Tm~

SI 0-U-01-60

~.12OSC........................................

Page 6: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

Approved for public release; distribution unlimited

Implementation of a Zilog Z-80 Bass Realization Library forthe Computer Systems Design Environment

by

Theodore John Smith Jr. yMajor,,. United States Army

9.5., Loyola University, 1970 ~

Submitted in partial fulfillment of therequirements for the degree of

MASTER OF SCIENCE IN INFORMATION SYSTEMS

from the

NAVAL POSTGRADUATE SCHOOLMarch 1984

12*

Author: _ _ _ _ _ _ _ _ _ _ _ _ _

Approved by:-

Second Reader

Chairman, Departmn miisraiy Science

Dean of Information and Po Icy Sciences

3

Page 7: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

ABSTRACT

library 'for use in the automated design of microprocessor

based control systems. The library Is designed around

* Standard Bus boards. This bus I% supported by a number of

manufacturers for use in breadboard construction, through a

number of standard cards. The library of primitives

* developed implement the constructions used in Computer

System Design Language (CSDL) for the Z-80 cpu. CSDL is a

high level language that allows the specifications of tasks

anid proceduresp and their time constraints. Use of the

* design system and this library can unable Z-SO based

prototype controllers to be quickly designed and built.

4

Page 8: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

: .... IL

TABLE OF CONTENTS

I. INTRODUCT I O"- 9

I I A ACKGROUND -13

III. DESIGN1 19

A. THE CURRENT DESIGN SYSTE------- 19

S. CURRENT PRO..EMS WITH THE INTEL 8060 LIBRARY- 21

C. METHODOLOGYO - -- -- 23

IV. IIMPLENENTAT ION-..... .. 25

A. MONITOR-.. . - 25

B. ARITHMETIC - 29

C. CONTROL STRUCTURES--.-....-- 31

D. INTERRUPTS- ---- - -33

E. INPUTf/OUTPUT DEVICES- 34

1. Onboard Cpu Three Channel Counter Timer

Chip , 37

2. 8 Bit Analog To Digital Conversion

Board- -38

3. 8 Bit Digital To Analog Conversion

Board- 39

4. 64 Part 8 Bit Standard Bus To Digital

1/o Bus -- 39 --.

5. Keyboard/Display Card-- - 40---".-4

6. Dual UART Board. 41

F. TESTIN - - 41.p

- .. L_ -. / : .~-~- . **~* ~~..**,. S.. ~ .. * . *.- S5 *~~~

Page 9: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

6. FORMATT INS OF PRIMIT IV- 42

1. Pollock Fi x i t - 45

2. Ross's Nuwcudl 46

3. Walden' s Data Base In- 48

V. RESULTS AND CO NCLUS O NS- 49

APPENDIX A -PRIMITIVE TITLE IN- 51

APPENDIX 8 GLOBAL VARIABLE LISTING 57

APPENDIX C - Z ILOG-SO0 REAL IZAT ION LIST IN- 60

ILIST OF REFRENCES.- 104

INITIAL DISTRIBUTION LIST------------- 106

LLP

Page 10: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

LIST OF FIGURES

1.* Cost Versus Productioan by Lan guage- 11

2. Current Ross Controller Deign Sys e- 20

3. Monitar for Z-80 Realization 27

7.

7o.

14.

Page 11: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

I would like to thank my thesis advisor, Lieutenant

Colonel Alan Ross, and second readers Prof essor Daniel Dolk,

for their assistance and support in this thesis. I thank my

wife Celeste and Peter for their support and faith in so.b

li a?

Page 12: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

During the past ton years there has been a

mi croel ectroni cs revolution in which ever Increasing numbers

of functions have been put on a single chip. This has

translated Into a shift In system costs from capital to

labor. Hardware Is no longer the dominant factor in the

*cost of a computer system. The rapid drop in the price of

general purpose computer chip% has also caused a shift in

their application. Because of their low cost many of these

chips are replacing specialized control hardware.

In the past hardware was extremely expensive., Even the

design of a simple controller required a large number of

components. Many of these simple logic components cost as

such as the single chip general purpose controller today.

Because hardware was so expensivey controll1ers were

developed to use the minimum amount of hardware possible, at

the expense of a great deal of labor. This took the form of

engineers trying to minimize the number of gates or logic

functions used to implement the controller. The

microelectronic industry has now managed to put a functional

computer on a chip for the same cost an a few gates ten

years agoo

?7

Page 13: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

Two examples of control applications are speed control

of a powuer plant generator and starting control of a gas

turbine engine. Control of powr plant generators has been

done in the past by mechanical controllers. The first

-i example shows the displacement of the mechanical controllers

because of the high cost mechanical systems. Even though

the mechanical controller was expensive, the degree of

control was imprecise. Here the driving factor has been the

desire to increase the amount of control possible as well as

reduce the cost of the controller. The starting of gas

turbine engines has been for the most part manual, because

of the large number of malfunctions that can occur during

starting. Recently, mechanical and digital starting systems

*- have been developed to start gas turbine engines. The

second example shows a new application for a controller,

primarily based on the reduced cost of digital component.

Unfortunately the very low cost of the microprocessor

cpu is a small part of the total system cost. Currently a

microprocessor can cost less than four dollars CRef. 1:

" p.5U3 , but the cost of a programmer can exceed $12 per hour

CRof. 2: p.903. Unless the system being controlled is very

costly or the volume produced high, the cost of designing

the digital system is not affordable. This cost can also be

exacerbated by the choice of programming language. Figure I

illustrates the costs of programming in a high order

language versus assembly language. Note that implicit in

this graph is a belief that assembly code will be more

. .. ",t.o .* .... . .

Page 14: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

r.

* efficient at run time. Current optimizing compilers are

becoming more efficient and are approaching the efficiency

of assembly code. This has the effect of decreasing the

slope of the higher order language total cost line and

moving the intersection of the two line to higher production

levels. The implication to that except for the most

demanding of high production applicationos the coding should

be done in a high level language.

The second factor affecting the cost of programming is I

the complexity of the system to be controlled. As the

complexity of the control program becomes larger than a

single individual can intellectually handle, the program I.

must be subdivided and designed by a team. Currently, ]

hardware is chosen early in the design process and the

software is then written for that hardware. Early design

errors can cause all subsequent programming to be redone as

well as the possibility of having to select different

hardware.High L W Language

T .:.

* 11

Los VruPrutinblAssel Languag

FiueI[*f =p42 I.1. ** . -

0rSo*

S.-

Page 15: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

The final factor is the speed at which the control must

. be performed. Same control functions must be accomplished

within a critical length of time. This factor competes

* directly with the previous two factors, cost and complexity.

There are two methods to determine if a program is fast

enough: program the controller and time the response of the

system based on an input or calculate the basic execution

time of the instructions in the program. In the first case,

exhaustive testing must be used to establish the maximum

runtime of the program. The second method is more exact,

but is labor intensive. In both cases, the program must be

present before the timing can be determined. If the program

is too slow it must be rewritten or possibly the hardware

must be changed in order to sufficiently increase the system

speed.

These problems in design have caused the computer

community as well as the controller community to increase

the use of simulations and other tools to minimize the risk

of these errors. Some have stressed the hardware design,

others have stressed the software design, and others have

Increased the use of models. As costs have decreased, a

final group has attempted to design the whole systim

including both hardware and software. In this last case we

see increased use of prototype development in computer

design. In the past this was not done because of the cost

of developing the prototype. It is becoming more feasible

now because the size and complexity of the final system

12

.

,,. ', ' " . " .. " , " " • . -; -" • ." * .- .. ." . . .- .. * ." *.. . . * . .'. ... '. .. '*'..'..- .. . . ' ".. . .. . .. . . .* *".

Page 16: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

makes errors in design too costly to be routinely repaired

after the systems are fielded.

This thesis will investigate and develop a library of .

realizations based on the Zilog Z-80 cpu to support the

design system developed by ROSS Ref. 4: pp.7-83. Since

Ross's original work only contained a single library, this

second library will provide the option of building a

realization with more than one library. It will be possible 4to test the design system's capabilities to choose a

realization library based on a problem statement. The Z-80

hardware will be provided by the Standard Bus system of

prototyping boards, to make it possible to quickly design

and reconfigure prototypes. With the completion of these

goals it will be possible to construct a working controller

using Ross's design system and finally verify the accuracy

of this design concept.

II. -.

Computer aided design has been an evolving process over

the past 20 years, Intended to reduce the labor required to

engineer a product. This process can be described by

tracing several different threads. The first thread to be

follnod will be the design of controller systems. This

implies a ready pool of predesigned hardware. The second

13

• -a--. *% % *" ',''.-'''.''',.,*'',,., ,,.,".. . ., ," ",'." . .-' .. '. ' .,.. ',. ..- ." " "".: .*.". .*".". . '. .- "•", .. .. . . . ..*'

Page 17: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

area to be looked at will be the design of hardware.

Finally, the design of the complete system will be examined.

hatelan proposed that computer aided design be applied

to the design of real time controllers, by adding the use of

realization libraries of standard components. He presented

a methodology for defining the timing constraints driving a

real time controller. This consists of having pairs of

contingencies and their associated tasks. By dividing the

total problem into paired contingencies and tasks, the

individual pairs can be reordered to meet the overall timing

constraintsCRef. 5: pp.17-202

Rose implemented Patelan's ideas for timing analysis and

added the potential for background tasks CRef. 6:

pp.15-22]. The processor chosen for the realization library

was the INTEL 8060. This particular processor was chosen

because of its availability and low cost. In the course of

his thesis, Ross also corrected Matelan's example problem

CRef. 7: p. 7 7 3. This came about while trying to debug

Ross's timing analyzer. The timing analyzer was correct and

.ateln's example was wrong, because hatelan had scheduled a

potential second occurrence of a contingency task pair

within the time needed for the execution of the first

contingency pair. This highlights the need for some

automated means of assisting the designer in avoiding

similar errors. Ross provided sample executions of the

program with accompanying paper hardware realization,

however, no actual hardware was built or tested.

14

.... ...,-... ........ .. .. .... . .. , ..... ,.. :. ... .,. . .. .. .. . . . . . . .. . . . .. . ,: . -.

Page 18: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

Pollock attempted to build an actual hardware

realization in the form of a fuel controller far a car.

Pollock never did attain this goal in the course of writing

his thesis. He did add a variety of additional hardware to

the INTEL 8060 realization library to include a floating

point chip for floating point operations and transcendental

functions. He criticized Ross's FORTRAN implementation of

the timing analyzer and functional mapper. He suggested

that all of the present programs be scrapped and work begin

anew retaining Matelan's theoretical foundations. Much of

this criticism appears to be the result of the difficulty in

adding additional primitives. This is caused in large part

by the column reads performed by the FORTRAN functional

mapper on the primitive listing. The structure of the

primitive listing itself has pointers that refer to parts of

the listing by a relative line displacement that makes

changing the primitives tedious. CRef. 8: p.343

Manwaring argues for a similar system, independent of

Ross and Matelan. His ideas on libraries of implementations

for different processors are equivalent to Ross's, but he

does not include the selection of the processor by the

design system. As in Ross's system he argues for a design

system that chooses hardware and the software to run the

system, by means of a high level language to state the

problem. He also does not consider the analysis of timing "

in his design system. But he does concede that the compiled

code may run too slowly and portions of the .software may

15

Page 19: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

have to be manually optimized to met tim constraints.

Additionally, his proposed design system does not manipulate

the timing problem and realizations to the extent that

Ross's does. He proposes generating a compiler error if the

desired primitive doesn't exist in a particular processor's

library, rather than trying a different hardware

realization. He does argue that the rapid generation of

programs can make digital controllers available for more

applications. CRf. 9: pp.431-435]

Diehl# also independent of others, presents the system

LOSE-MIIR to design controllers using microprocessors. The

input is in the form of a state table and flow diagram.

LOBE-MIR process the state table and flow diagram to obtain

an intermediate language. The intermediate language is then

manipulated to optimize the following: the sequence in which

the condition variables are tested, the assignment of

conditional inputsy the control of outputs to ports and the

number of jump instructions. This system is in contrast to

Ross's in that there are no time constraints, the system

merely attempts to make the controller as fast as possible.

The ultimate machine code is just a direct translation of _

the intermediate code to the target controller code, with no

guarantee of a specific response. [Ref. 10: pp.328-33,

Finally, Sherlock studied the problem of making entries

of the problem into the Problem Statement Analyzer easier.

After a lengthy review of human factors engineering, a

program was written to make the input of a problem 177::

-. . . . . ..'-'

Page 20: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

formulated in Computer System Design Language into Ross's

design system easier. CRef. 11: pp.15-16.

The second thread in the description of automated design

tools is the design of the hardware itself. Chu has been

working in the area of microcomputer design since 1965. H.

states that the following need to be described in the p

language: identification of the selected L81, M8I, and 881

chips, a plan for the Interconnection of these chips and a

description of the internal structures and sequences of

these chips. He also describes three level of increasing

detail in the design process: functional, ideal timing, and

real time levels. He proposes that, given a functional

description, a computer system could be designed and

simulated prior to the actual construction of the system.

The system would need a large data bass of chip

identifications and interconnections to function. He

proposes that manufacturers provide disk packs of their chip

descriptions in addition to the data books that they now

provide. CRef. 12: pp.45-51,

Heath, Carroll and Cwik descrilpe a modified version of

Chu's Computer Design Language that was running at Auburn

University. Two new declarations were added to allow the

easy implementation of buses and front panel lights. They

conclude that the following can be easily tested using

simulation: basic system organization, function of some

microcode, timing problems, limitations on inputl and

throughput rate. CRf. 13: pp.93-1062 .7

17

Page 21: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

.-. ~ -~- - . .. . . - . . . . . ...... . .. - _L-

Hartenstein and Von Puttkamur describe the language KARL

and its associated graphical description MBL. KARL is a

Pascal-like language for allowing simulations of a processor

at the register transfer level. It is an improvement over

- CDL in it's original form in that it allows the integration

of a graphical description of the design through the use of

.. ARL , a block diagram language. Once inputed, the design

*.. can be simulated for correctness and finally the design

system can output detailed layout drawing and mask

specifications. rRf. 14: pp. 15-13O2

The third and final thread is the design of both the

hardware and the software. A feasibility study was

" conducted on the design of an integrated design facility by

: the US Air Force at the Rome Air Development Center. The

initial study was performed by Sperry Univac. The concept

included a design facility wmre total system design

. alternatives could be emulated for the purpose of providing

and evaluating designs prior to actual development. Two

.- important conclusions of the study were: the system could be

used for requirements formulation as well as hardware and

software design specifications and the present system was

i* inadequate for the analytic determination of operating

performance. Further, the study concluded that additional

tools should be added to assess operating performance, even

" though the tools would only provide approximate answers.

" CRef. 15: pp.19-20, 253-2503

718

Page 22: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

Having reviewd the current progress in automated

controller design, further study on the problems associated

with the design system developed by Ross will be done. This

i done to limit the ucope of the problem to a manageable

size.

A. THE CJIENT DESKON SYSTEM

The area of study for this thesis is the design system

established by Ross. In this system the hardware is

selected from predesigned components. The major goal of the

system is the rapid design of prototype controllers. The

system is not intended to produce a final packaged

production design. It will produce a breadboard controller

capable of verifying the feasibility of the controller, its

desired characteristics, and timing.

The current design system is shoan graphically in figure

2. The library of primitives currently contains only an

Intel 8080 realization. The implications of this are that

if the controller cannot be designed using an Intel 8060

processor, then the system will indicate that the controller

is not possible.

19"'

,** S *.

. . . . . . . . . ... . . . . . . . . . ....--. "..

.. 4 ~ ~ S . . . . * . ~ . -. * ~ ~ . ** * . -' °*5. 4..~**5..-~.- 5........... ~ u~u~ r2 * 5.5 ~ . . 5.5. 5.~5 . '. -. -

Page 23: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

~ ~ ~P r II -L

The purpose of this research is to add a Zilog Z-9O

based realization to that library. Construction of this

second library will give the design system an alternative

mnethod of realizing a controller. This will also enable

further testing to be done on the design system itself.

ICEd Ffc rTip I n/description

TransatorLibrary[Update

Priitve Timing ELibrary ofIea IzatiVolumes

dware Functional Botwar-e

Analyzer

Current Rtoss Controller Design System

Figure 2

Another reason for adding the Z-80 realization library is to

allow the actual construction of a test controller from the

design system. A thesis currently being conducted by Riley

will use the design system and the primitives developed in

this thesis to construct a generic gas turbine starting

controller CRf. 163. Since an actual controller will be

constructed using the primitives in this theoss provisions

have been added to the primitives to allowv ease of debugging

and testing@

20 '5

Page 24: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

So far there has been no complete exercise of the design-

systems Pollock attempted to build a fuel controller far a

I car but no hardware was built. Hilstedt studied the

* problem of using the design system to construct digital

* filters, but also did not build any hardware. Mlany of his

I problems related to converting the program to run on a VAX

* 11/780. A prime purpose of this thesis is to get a working

system that can be used far a complete design test in future

I projects. With this as a goalp the Standard Prolog

breadboard system was chosen as a source of hardware. This

particular system Is available far testing and offers

potential for quick prototype assembly*

* 9. CURENT PRODLM48 UM~ THE INTE D060 LIBRARY

The current realization library, basod on an Intel 8060,

has Its origin in Ross's original thesis In 1973. As

mentioned before, the library has been modified and expanded

by Pollock and Heilstedt, woith specific projects in mind.

In the six years since the library's Inception the cost of

hardware has continued to decrease, and its power increase

The change In orientation can be seen In the types of

primitives put In the realization. Pollock added a great

deal of hardware, including a floating point processoir, to

the 8060 library. The Zilog Z-60 was chosen as, a neer chipr

* that could add a higher performance library to the design

system. It was also chosen because of its popularity and

L similarity to the Intel 6060.

21

Page 25: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

The floating point processor added to the Intel 8080

library confuses some of the design issues in using the

design system. By adding the floating point chip the cost

of the system Is greatly increased. Because of their -..

infrequent uses floating point chips do not have a

production volume that has all-wed the general purpose

processing chips to decrease in price. The use of the

floating point chip will be eliminated in the Z-90 library.

An alternative to this in a hierarchy of processors is a

high performance library being designed around the Intel

8089 by Cietal Ref. 173. Because of the hardware

instructions available, this chip may offer similar

performance wtth reduced cost.

The current Intel 8080 library does not treat negative

numbers correctly. The comparlson, multiply and division

primitives all were written only with positive integers in

mind. The Z-60 library will incorporate code that also

provides correct operations with 2's complement arithmetic.

The monitor was initially designed to be used without a

stack. Because of that the monitor, when calling a routine,

used an intermediate table to determine where the task was

located. Later Pollock added a stack to the primitive

listing, but the monitor structure was never completely

modified to take advantage of it.

Finally, there is no protection from the propagation of

errors. Should an underflow or overflow occur, the sign of

the result will be incorrect and no action is taken to

22 .-..*-

Page 26: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

' minimize the effect. In terms of control, it is possible

that the item controlled will be directed to perform the

exact apposite action from what is required. As an example,

if a positive number opens a valve and a negative number

closes the valve, then an overflow will cause the valve to

be closed at a time when the control program is trying to

open the valve wider.

C. HEIHODOLOGSY

To capitalize on the effort that has gone into the Intel

8060 library, each of the primitives will be reviewed. If

the primitive is still required, then the initial draft of

the Z-60 primitive will be a direct translation of the 8080

code to Z-6O assembly code. Speed improvements will then be

attempted using the additional instructions available to the

Z-.O. If there is a tradeoff to be made in speed or code

*. size, then speed will be chosen. This will eliminate the

use of the jump relative instruction, since it is slower but

more compact than the jump absolute instruction.

All loop and control structures in each primitive will

initially be made with labels to facilitate writing the

* primitive. Then each primitive will be incrementally tested

. using a debugger. When the primitive works correctlys, the

labels will be replaced with relative assembly jumps to

insure portability in the actual use of the primitive. Each

primitive will then be tested again with a debugger to

insure that the primitive still functions correctly. In

23

Page 27: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

* testing a primitive all paths through the code will be

exercised. To do this numbers from a representative class

will be chosen and entered through the debugger.

The floating point processor used in the Intel 8080

*library will not be used In the Z830 library. The floating

point arithmetic operations will be implemented In software.

- To insure compatibility with other computers, the IEEE

%Ingle precision floating point standard will be used as an

interf ace form for external Information. Keeping with the

* spirit of the standard and the Intent of the control system,

overflows will be given a value of Infinity. Though not

discussed in the floating point standard, conversions of

* infinity or numbers larger than the range of an integer

- value will be converted to the largest Integer value

representable. This in an attempt to minimize the

propagation of opposite control responses.

The completed primitives wIll be aggregated into a

single library file and then processed Into a format

* acceptable to Rao's Design system by use of Pollock's

* formatting utility. This will allow the primitives to be

individually tested. Being able to add a few primitives at

* a time and then have them formatted by Pollock's formatter

program can Isolate any problems Introduced by the newly

added primitives. Using Pollock's formatting program

enables a primitive library to use Ross's design program

directly, without having to make tedious computations of

various pointers. Walden's data base storage CRef. 1U3 of

24

Page 28: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

the primitives will not be tested by this library, in order

to minimize the amount of change to the design system and

because it does not allow the entry of code from a file.

Appendix A lists the names of the primitives and a brief

description of their purpose. This list has been compiled

to reduce the volume of data that must be scanned to

understand the coverage of the library primitives. It

should be noted that in contrast to the Intel 8060 library,

many of the hardware primitives are eliminated in favor of_ -

software primitives. Furthers the aggregation of the

hardware primitive is now at the board level, rather than

the component 1level.

IV. ItrLEPEN1ATWNI2

A. MlONITOR

The original monitor structure used by Ross and Pollock

consists of an infinite loop of contingency task pairs. The

order of the pairs is determined by Ross's timing analyzer

based an the timing constraints of the various tasks.

Control is transferred by the use of an intermediate table

which contains the actual address of the task to be

executed. When a task is completedy control is then

returned to the task loop. A task counter is incrmented

and the next task is executed via the intermediate table.

When all tasks in the loop have been executed onces the task

counter is reset to point to the first task in the loop and

25

-~~.

Page 29: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

the process repeats itself. This structure has its source

*" in the original library developed by Ross which did not have

a stack. The lack of a stack prohibited the us* of calls

- and returns for subroutines. Later a stack was added and

subroutines used to transfer control to the contingency

test, but the monitor was not changed.

The ZOO monitor, shown in Figure 3, consists of a main

loop that has a single entry and no exit. Switches cause

various submonitors to be executed from the main monitor

,loop. This was done to minimize testing of conditions that

are mutually exclusive. Timing analysis is done on the

submonitors plus the time to execute the main monitor loop

with all switches false except one. All tasks, conditions

and procedures are executed as subroutine calls from the

polling loop in the submonitor. Initialization is handled

as a submonitor without any timing constraint. The

initialization will be executed first and then the

initialization switch set to false to preclude

initializations from being executed an subsequent iterations

of the main monitor loop. Since all submonitors return to

the top of the main monitor loop, the top of the main

monitor loop resets the stack pointer to eliminate any

pending operations in the submonitor loop. This also allows

error handling to be executed by jumping to the top of the

main monitor.

26

..4%

N"_ ': g g N '_': ':'- ., , ,...... :.,..,-. ,, . . ..",'2 _, .. ... -... . ...........- '....'.' *- . -. .'- . .'.'4:- ',' ',

Page 30: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

Working Test Purpose4000H4 1001 jump to 4000h offsget to protect loading

rom400014 4000H4 create stack and do any required

hardware ininitializations, then jumpto main monitor loop

uspvsr main monitor loopreset %tack pointeran switch 1 jump to submonitor 1an switch 2 jump to submonitor 2on switch 3 jump to submon itor 3

jump to stpvsrstubmoni tor 1

initialize variablesUser defined initializationsswitch 1 - falsejump to 41spvsr

usubmonitor 2Call1 ProceduresOn Condition do callI TaskCal I ProceduresOn Condition do call Task

If switch 2 -false jump to Qspvsrjump to Gsubmonitor 2

Osubmonitor 3Call1 ProceduresOn Condition do call TaskCall1 Procedures .

On Condition do call Task* ( V..

If switch 3 - false jump to stpvsrjump to Osubmonitor 3

ProceduresTasks

VariablesBottom of Stack

32767D 32767D Top of StackMlonitor for Z-00 Realization

Figure 3

The library supports testing the monitor prior to

building hardware and programming sprains by the use of two

switches set in GLODALS. DAT. These switches are the DEDUS

27

Page 31: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

and switches. Three modes are allowed: Standard Board

with loading roe, program in an ALTOS CP/M computer 1/O

through standard BDOS calls, and Standard Board without

loading roe. The default mode is for both of the switches

to be false. This allows loading of programs for test into

the ram memory of the standard board system, using an ALTOS

computer. The BDOS jump location is also defined in

SLOBALS.DAT, to allow changes for computer with a BDOS jump

location other than 5.

By setting the DEDBUG switch to true to activate

conditional assembly of test components, the conditional

assembly relocates the beginning of the monitor to lOh. In

the standard board system this area would normally have the

loading monitor. That monitor has provisions for offsetting

the interrupt locations to 4000h. To keep the rest of the -

program in the same relative position during the debug mode,

a jump instruction is put at lOh to jump to 4000h. This

will cause all code to be identical above 4000h to the

breadboard system. This allows the use of a CP/M-based

machine to test the software prior to hardware construction.

The top of ram, here the stack would normally be located,

is moved down to the top of the temporary program area in

CP/Iq, to location 32767. Inputs that would normally be an

I/O request to a input board will be transformed into BO

calls for input at the keyboard. Outputs will be handled as

a 3008 request for display to the console. In bath cases

the 3005 call includes a description of the board the input

28

Page 32: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

or output would be going to as well as the value of the

respective input or output.

In contrast to the test moni tor the working monitor will

have its initialization assembly begin at 4000h. This is

the normal starting point far the NPS Prolog loading row.

This location was chosen to allow ease in starting the

moni tor program.

If a rom is actually burned and the nps loading rom is

removed, then the conditional assembly must start at 66h.

If a non-maskable interrupt, (generated by a resset button),

is issued to the system, it will begin executing code at

66h. This permits the user of the system to use the reset

button as a start button as well as a trouble button. The

ROM is banked to start at O000hp the locations 0000 to

006h, normally unused. These locations will have no

operation codes placed there. Any maskable interrupt can

then be accidentally triggered without crashing the system.

The maskable interrupt would imerely jump to 38h. and do

NOP's until it reached the initialization routine far the

monitor.

B. ARITHMETIC

The format -for the single byte Integer operations used I-

by the 8080 realizations has been retained in the ZO O*

realization. It is a two's complement arithmetic. The add

-* and subtraction are essentially the same as in the Intel

29

o" -I,

Page 33: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

library. The multiplication and division have been changed,

since negative numbers were not correctly implemented. In

addition, the option of checking the single byte operations

has been added by checking for an overflow after performing

the indicated operation. If an overflow occurs, the result

will be t to the largest representable positive or

negative number based on the sign of the result.

The format for the double byte integer operations is the

same as the Intel 8080. The format in stored with the least

significant byte first in memory. By using this format, the

double byte operations in the 29O Instruction set can be

use directly. This particular hardware instruction is used

because it takes less time to fetch two bytes with one

instruction, than fetching a single byte at a time and using

two instructions. Once again the addition and subtraction

are the same as the Intel 8090, since the same machine

instruction is used for the operation. The multiplication

and the division have been changed to treat negative numbers

correctly. The check for overflow is done in a similar

manner as the check done on the single precision arithmetic.

The format for the floating point operations is a

departure from those done in the Intel 8090 library, since a

floating point chip is not use in the ZO library. The

original approach was to do floating point using the IEEE

standard single precision format. Further study of this

approach has shown it to be Impractical for two reasons.

The first reason is the ZO is a two's complement machine

30

-'. .-:- ... '

Page 34: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

and the IEEE format requires sign magnitude operations. The

second reason is the packing of the IEEE format across byte

boundaries. To use the IEEE format would require converting

the sign magnitude number to two's complement and shifting

the number to a usable format. This would have to be done

before and after every arithmetic operation. To eliminate

the overhead of the transformation, a primitive has been

made to convert the format used In the realization to and

from the IEEE format. The cost to implement the change has

been the use of an additional byte of storage. The format

used for the ZOO floating point is:

Exponent sign mantissa

39wo.&32 31 309....0

* The exponent is an eight bit number as in the IEEE standard,,

however it does not have an offset. Instead it is

represented as a two's compleomt number. The mantissa is

represented as a four byte two's complement number. The

mantissa Is fetched and stored two bytes at a time, so the

position of bytes 1, 2, 3, 4 are stored as 2, 1g 4, 3. The

additional byte Is necessary to preserve the accuracy for

rounding to the IEEE format. The leading 1 is expressed,

rather than being enc-oe as in the IEEE format.

C. CONTROL STRUCT1URES

The control structures can be divided into two

categories, selection In straight line code and subroutines*

The distinction is made because of the manipulation that

31

z--.4.

Page 35: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

* - . - .T . r w-..-r. ~ rrrr rr - I - -+ -. -

Ross's timing analyzer dos with the order that conditions

are tested and tasks selected. In the first category four

constructs are supported: IFf, Mhile, JUMP-ON-TRUE, and

JU-ON-FALE. The IF and the WHILE support the CSDL

language constructs directly, that is, there are primitives

in two parts that will directly perform either of the two

selections. They are used by placing the first portion of

the primitive before the conditionally executed code and the

second part of the primitive directly following the code.

In the case of the IFy if the condition is not true, then a

jump is done to the code immediately following the second

portion of the if primitive. The JUP-ON-TRIE, and

JUMP-ON-FALSE support the CUlE compiler with more primitive

operations for compilation Into higher constructs. In all

of these primitives, selection around straight line code is

involved, that is, these primitives will cause a section of

code to be included based on a condition, but will not

directly support a construct such as an "else".

The second general category contains the control

structures effecting subroutines. They are TADENT, PROC and

two versions of EXITPROC. The purpose of these control

structures is to allow the timing analyzer to manipulate the -

order that conditions/tasks are called to guarantee the

maximum timing. To manipulate the timing the timing

analyzer will change the order in which condition/tasks are

polled as well as duplicating some condition/tasks to insure

that they are polled often enough to ensure the timing |_

32

, '.. ,,.',, " .," ..',, : .," ,.~~~~~~~~~~............ .. ,.,....... -..... .......-..... ,..... .,,.... -............ .. .. .... .. o... ..--. ,", .

Page 36: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

guarantee. This manipulation is done by making successive

entries using the primitive TADENT, wdich will cause a entry

of a condition/task in the polling loop. The primitive

TADENT uses subroutines in two ways. First it uses an

unconditional call to a subroutine to evaluate a condition.

After returning from the conditional evaluation, a second

subroutine call is made to the task based an the results of

the condition. This is a change from the method that Rose

used in constructing his polling loop. He chose to minimize L

the amount of ram required at the expense of increasing the

number of jumps required to execute a contingency/task pair.

The primitive combines the functions of Rose's primitives

TASENT and TAUACCP2 into a single primitive. The increase

in mmory will only become a problem eien there are great

differences in the timing requirement of different

contingency/tasks. The great difference will cause the

timing analyzer to make multiple entries of the

contingency/task with the shortest time constraint. P0C

marks the beginning of a subroutine. EXITPROC provides both

a conditional and an unconditional return.

D. INTinLPilrs

The use of interrupts was not implemented in the 9080

library. Interrupts can offer the advantage of faster

response to a particular contingency, but they add

additional execution time to the contingency/task pairs in

the fom of interrupt overhead. Since the very nature of

. . . . . --'-" "-"-" " "'--

Page 37: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

the design system Is guaranteed maximum timing, the faster -

esponse to a particular task is not a major issue as long

as the overall timing constraints are met.

The non-maskable interrupt is used by the Z-O library

as a means to start the controller. This is implemented by

starting the definition of the variables, input

output/ports, hardware initializations and stack

, initialization at 6&h, the non-maskable interrupt location

in the Z-80. From here the execution will take the program

* into a continuous polling loop of the contingency task

* pairs.

A problem arises in trying to control tasks where speed

is computed by the design system. Currently, the design

system guarantees that a task will be tested within a

certain time constraint, but It can be tested earlier. This

can occur when all the conditions are false and no tasks are

performed. In this case the only time required to execute

the polling loop is the time to do the actual test of

conditions. Within the structure of the primitives there is

no way to make them run in a fixed amount of time, since the

arithmetic operations take a different amount of time

depending on the particular input values. Also the polling

loop's overall timing changes depends on how many of the

tasks are executed. The only guarantee the system gives is

that the time the monitor will take to execute all the tasks

and tests of conditions will be less than some maximum. An

external reference Is needed to insure a fixed amount of

34

Page 38: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

time has elapsed. In the case of the 8060 library a clock

was added to the system to give an external reference. To

minimize the cost and keep the system simple the Z-90

library uses the CTC chip. The particular standard board

used contains a counter timer chip with three channels as

well as the ZSOA and provisions for adding an-board memory. OWL,

One of the channels in the CTC is used to generate a

maskable interrupt in a fixed period of time. This

interrupt will be handled by incrementing a word in memory

that represents the current time. The details of the

implementation of the clock interrupt primitive are in

appendix C. Brief conditions will be recorded by using

another channel on the CTC to count the occurrences

independent of the operation of the cpus This is implemented

through another primitive that connects the external signal

directly to the third channel of the CTC chip. A second

primitive is used to read the counter in the channel and

reset the counter to zero.

This particular clock primitive has an interrupt rate of

a millisecond. It is included for use, but has a major

disadvantage in overhead. The interrupt service routine

requires 100 clock cycles to implement. This equates to

2.5 of the available monitor time. The interrupt rate can

be reduced to every 10 milliseconds for an overhead of .252.

This in turn makes the polling loop longer to accommodate

the accuracy of the clock. Because the exact point of

interrupt cannot be determined prior to execution, all of

35

* ''* '- ' -* * ' ' * ' * * ' . ." " " " .-- % - " .- "- "-"7 * . - " . . • " -

Page 39: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

-7-~~ 7777 Uz

the times computed far the contingency/tasks must have the

interrupt service time of the clock added to their maximum

time. Several executions of the Interrupt are required to

built up same accuracy in the computation of the stored time

in 10's of milliseconds. This would be adequate for events,t'.

that are very slow (in the realm of seconds), but inadequate

for those taking fractions of a second. .,,,

E. INPUT/OUTPUT DEVICES

The selection of input or output software primitives has

an additional effect of adding an associated hardware

primitive. The hardware primitive in turn require some

initialization prior to operation. The hardware

initialization is done before any user defined

initialization in order to hide the details from the user.

Since the user is not required to consciously select all the

I/O references in the very beginning of his program, an I/O

board can be added with any 1/O reference. A method to add

the required initialization is needed that could be placed

anywhere without effecting the runtime execution of

primitives. The compilations of the hardware and software

is currently done in a single pass. This also requires that

the actual initialization code be added to the output code

file at the time of the request. A linked list was used to . .

al low the random placement of any required hardware

initializations. This does have an undesirable effect on

timing. To keep other segments of code from executing the .. ,

36

--:-- :

Page 40: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

initialization, a uncoditional jump is used before the

initialization. Since it isn't knoun hen this is executed

by the monitor as part of a condition, the hardware adds the

time for an unconditional jump anytime an initialization is

required.

1. Qobgad MW Th3 Chfnnel QMDM TiC ChI.

The solution to the interrupt overhead dilemma was

to eliminate the interrupt driven clock. The second clock

primitive uses two of the CTC chip's channels. One is used

as in the interrupt case to create a one millisecond clock.

The second is used in lieu of a memory location and an

interrupt service routine. The second channel's clock input

is tied to the output of the one millisecond channel. The

capacity of the channel is 65g536 milliseconds or just about

a minute. This short time period is a problem for some

applications that may require more than a minute of running

time, so a 25 millisecond clock primitive was added. The

construction was the same as the I millisecond clock except

for the variable loaded into the channel 0 counter. The

other service primitives remain the same, except that the

magnitude returned represents a different elapsed time.

There are two additional primitives related to this clock:

one to read the time and one to reset the clock to 0. This

leaves one channel in the CTC on the cpu board for other

purposes.

37

- * * . . . .- . . . . ... .- *.. .. . . . . . .

Page 41: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

The remaining channel is used to count fleeting

external events that potentially take fractions of a monitor

loop execution. That channel is initialized and read/reset

via another primitive. Since the CTC chip was included with

"* the cpu board and contains only 3 channels, the primitives

will allow a single counting channel and a clock or three

counting channels. No provisions wre made in the library

to add additional counter timer chips nor to multiplex the

channel over several inputs.

2. M A enalg T Dgitali Gtixqsionr grA-

Input of analog voltages was done by an

analog-to-digital primitive using a MOSTEK MDX-A/DO board.

The accuracy of this board is limited to 8 bits. The

primitive III allow up to 32 analog signalsp using two

separate hardware boards. Each of the requested signals are

counted using a global variable NATODE. This cannot be used

directly since each board has a sIngle port address. To

decode the address a second variable NATODP is used to

indicate the actual address used. Up to 16 signals can be

multiplexed to that part. For signals less than a board's

capacity, the NATODE variable was used to compute the proper

pin for the input signal. Fr signals greater than one

board, 16 was subtracted from the NATODE and that number was

used to assign the input signal to the second board. To

keep from changing the actual value of NATODE, a scratch

variable is changed and that value is printed in place of

NATODE. The hardware configurations of the board are

..*9

%. . %. .

.-..% '_...... ..'. ...:.. y ...".. ..-..'.v ..'.. .','..'.,;.-,:-,v ".,..,.'..'.. ..,...'..'% :..'... --.." .-'..'.. ..-. .,... ...-. .". ..... .. ,.'.-.. .','..-.'......,. .,'..,. .".. . .

Page 42: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

controlled by the hardware primitive if a board is required,

however, the analog signal assignment to that board was done

by the software primitive. This is in contrast to the other

primitives where all the signals were assigned pin by only

the hardware primitive. This was done in the software

listing, because of the multiple signals assigned to a

single board.

DIiRital To IAa&IM enu gg urs. -°ard

Output of analog signals is planned through a

digital to analog standard bus board. The configuration of

the board is analogous to that of the analog to digital

board. The signal capacity is also planned to be the same.

4. h0 gr~t M fltk aard flum 19 Riuital IO %a

This board was intended to be used to turn devices

on and off. However, the MOSTEK MDX-DIOBl board was found

to be merely an interface from the Standard Bus to the

Digital 1/0 bus. The board was designed to multiplex 64

channel through a single standard board card. The board has

the capability to send or receive 8 bit wide signals to a

PUOSTEK digital I/O board. This is the capability that was

desired when the board was purchased. However, the digital

1/0 board that actually controlled external inputs was not

purchased. To retain some of its intended capability,

turning leds on, the address lines were wired to turn on

lamps when a particular addresses was outputted. This is

just an intermediate primitive to make use of the board

until the digital 1/O board can be purchased. Because the

39 b

Page 43: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

,SI

light is only illuminated when the address is strobed, this

is not an adequate primitive for a working system. To keep

the light illuminated long enough for a person to see the

lamps the address is strobed for several sncondsp making the

execution time for this primitive long.

5. gjnx29WdRgLisRhs QW

This board was added to the realization library to

provide limited front panel access to the controller. This

particular board has a programmable key pad from input and

light emitting diodes and segment alphanumeric output

capability. Because of the many functions on the card, each

function is provided as a separate primitive. The card is

include only once and is initialized in the hardware

primitive. The two rocker switches are tested using

primitive S.ROCKER. The board also contains eight light

emitting diodes that are controlled using primitive

8.OUTLED. In the case of S.0UTLED the individual LED is

turned on or off based on a boolean value. The Keyboard can

be defined using . INKEY. Pressing the key associated with

a boolean flag causes the flag to be complemented. All

three of these primitives assign the key or light in the

snoftware primitive. None of the primitives associated with

the keyboard/display card will add any additional boards,

but will issue an error message if more lights or keys are

requested than are available on a single boards The last

primitive associate with this card is 8.0UTDISIT. This

primitive will print a message to the alphanumeric digits on

40

-6 %°

... *.. .*..- ..---. - - - - - - - - - -

. . . ... ~ ~.* .5 SI ~ ' *.

Page 44: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

p T!

I- the card in the form of a scrolling banner. The code for

this primitive was provided with the board. It has a

distinct penalty in that it uses 500 bytes.

6- R5a L. :MC

This board was provided along with a bootstrap roe

an the cpu board as a method to load programs into the

controller. This provided the means of testing the boards

program using a ram board. The final controller does not

require this board unless specifically determined by the

application. No primitive is required to use this board,

but its installation is required if the MPS Bootstrap

loading prom is used. That prom assumes that the terminal

is connected to the A port and that another Altos computer

is connected to the B part of the board. In final use the

program would be contained in a roe or a prom, making the

loading unnecessary.

F. TESTIN3 -

Testing of the primitives has been done in three phases.

First, the primitives have been functionally tested

individually in the course of writing thee. They have all

passed an assembly and have been executed individually using

a debugger to insure that the outputs are appropriate. The

code associate with an initialization of a board has been

adapted from the manufacturers examples and has been

asmbled. It has not been run on the Prolog System to

41

-4%".

%° % .

Page 45: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

check its accuracy. The primitives have been tested

individually# but have not been tested for interactions.

Because the controllers written with these primitives

can be potentially quite complex, two additional methods of

testing the controller's program are provided. The first is

the debug switch. This is a global variable that allows a -

conditional assembly of the primitives. The purpose of the

switch is to allow the program to be run on a micro computer

that has a z-0 processor and the CPH operating system. The -

switch causes all outputs to be sent to the console and all

inputs to be requested from the keyboard via a message to

the console. To Implement these features the additional

primitives wrtbin and messout are included. Their purposes

are binary output and message output respectively. The

second method is the use of the serial input/output board

and bootstrap roe to load the program from a microcomputer

into the controller. This permits the controller to be run

and controlled from the microcomputer. This also permits

the controller to be tested with its 1/0 boards for proper

operation prior to loading the program into a prom.

9. FORMATTINO OF PRIMITIME

The format of the primitives is driven by several

factors. The most obvious Is the instruction set of the

cpugand the next is the form of the arguments. The fore of

the arguments used in the Z-43O library were typically rslt,

argl, or rslt, argi, arg2. This Is the same form as the

42

* . * * 1 1 , ., -.. *. % -' d • . . o ,- - - o . . - . * * , - o'; € ,,r. .,, - ,' , ,3 .. _,: . ; _,-.. . . .,,.,.. .,.*,.; .. ,...., , . ,_- * ,..,. : " .. ,,*.. " ' ' , ,

Page 46: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

..

Intel 8060 library. In the construction of the primitives

all results are stored at the conclusion of a primitive. In

the case of a complex evaluation this might cause a value to

be stored in memory only to be fetched by the next

primitive. This is very costly in terms of execution time.

During the construction of the primitives care was taken to

insure that all results are in the registers that initially

contain argument2. This could allow an auxiliary set of

primitives to be developed in the future to take advantage-

of the chaining of arithmetic operations. The format of the

title line and the reserve words are defined in Ross's

thesis and have not changed. ERf. 19: pp. 79-e53

Since the primitives were tested individually on a CPtI

machine prior to placing them in the library, several stages7

of collating and compromises in editing speed were made to

insure integrity of the primitive. All the code and text

associated with the primitive was kept in a single file by

primitive. To debug the primitive a header file and

trailer file was added to allow the proper assembly of each

single primitive. These three files wmre combined into the

actual test file that was assembled and debugged. All the

text that was not part of the code for the primitive but was

necessary for the operation of the primitive in the design

system was commented out in column one. Data on the

execution time of each line of code was kept as a comment

after the code. It is in the form of ;?m ??t ?b comment.

The " was the memory cycle time of the instruction. The -

43

%- ,

,...,* ', ,,... .-.-. ,,".,...,',,..,.'....'.."*.** .*- . * . %..'.*.,.,. .,....... .,..... ..........

Page 47: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

"to was the machine cycle tie of the instruction and the

b" teas the number of ROM bytes used by the instruction.

The code format used by the design system and the z80

assembler can cause conflicts. In order to insure the

Integrity of a primitive, the entire primitive was stored in

a single file. All the text outside of the markers begin

stext and endtext is used by the design system and is not

compatible with the assembler. To keep this text from

causing assembly errors, this text was commnted out using -

the u;* The primitives when written did not have blanks in

the first five columns. Ross's program NEWCSDL. requires

that the library have a line number on each line. This can

be done by the program FIXIT however the program does not

append the program line to a line number, but rather changes

the first five columns to an appropriate line index. The

primitive had to be reformatted by adding five blanks to the

beginning of the line before sending it to the VAX. They

were run through a program that removed the U " if it

existed in the first column and stuffed five spaces in front

of all lines. The primitives were then appended together

and sent by modes to the VAX. The VAX uses a carriage

return to indicate the end of a line. When sending a file

the terminal program sands a carriage return and a line

fed, giving each line an extra linefeed. After receipt of

the file, all the line feeds added by the terminal program

had to be edited out. At this point the file is in a format

acceptable by FIXIT.

44

Page 48: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

1. emkl~gk Fix it

Pollock expressed difficulty in trying to use Ross's

primitive format and he wrote a FORTRAN program to correct

the placement of Lntero used In the title line ERef. 20:

pp. 23-243. The problems originate in the structure of the

primitive file as designed by Mao. Each library file is

required to have an alphabetic index of all primitive title

lines. Implicit in this is the requirement to number all

the lines. Ross's format for the numbering was in the

format lvxxxxp wiere x represents the number of the line.

Within each title line there are four additional pointers,

first IWCL, first CALC9 first line of primitive and last

line of primitive. All of these pointers make any change

extremely difficult. Even simple changes require running

this program since the VAX editor creates a variable length

record f il1e and Ross' s program requires a fixed length

record file.

Pollock's program FIXIT was written to minimize the

effect of the format requirement imposed by Ross's program.

The program was written for a Cyber computer. The program

was transported here via tape, however the program did not

run due to differences in machines and program errors. The

program Is now corrected and working an a VAX 11/780. Fluch

of the program's problems were in the differences in 1/0 and

word size in the two machines. The program is now set up to

take a file of primitives named winname.datO. It produces a

file nautname.dat" of correctly formatted primitives that

45 -

Page 49: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

~-.--.~. *-. * - - -. * ,. *.. T~-..T-.*.--. ~ - .*; 7 -- - It~ c* -

includes a sorted title directory at the beginning of the

file with pointers to the individual primitives. Without

this utility,, change to the realization would be very

tedious.

2. ROMPa MMMag

When running NEWCODL there are options to produce aso

trace by subroutine of the program execution. This Is a

very necessary utility, since the program is very complex

and sensitive to input format. The detailed trace produced

by NEWCSDL is very necessary because of the size of the

program. This became painfully obvious while trying to get

FIXIT to give an acceptable input file far the primitives.

The error messages produced by tENCUOL were incorrect due to

a format error. The carriage control has been corrected,

and the Passages are now intelligible. In using NEWCUDL

trace option in full mode, every subroutine called Is

printed to a log file along with the movement of key data.

The carriage control that was a problem in the, output of

msages was also the principal problem in the input of the

primitives. The carriage control character kept moving the

data of the input file over by one character, causing the

data to be in the wrong column. The requirement for fixed

column reads in this program precludes any editing of a

primitive file without running it through FIXIT now named

F RfIAT. The name was changed to minimize the confusion

between the various versions of the program. FOAIIAT,, in

addition to correcting any pointer inconsistencies also

46

Page 50: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

V. V- K- -7 K

converts the file from a variable format to a fixed 80

character record format, which to the required input format

for INEkrSDL.

In writing the primitives, the desirability of a

modulo operator in the calc function became evident. The

addition of multiple boards makes this desirable in

assigning pinouts on the additional boards. Currently the

number of ports by type requested is accumulated as a

variable in SLOBALS.DAT. Ross calcit subroutine was

examined to determine if this was feasible. Currentlyp the

only primitives that could include multiple boards .are the 8

bit analog to digital primitive and the 8 bit digital to

analog primitive. Because of this limited number of boards

requiring a modulo function, a simple scratch variable and

subtraction of any values greater than the number of ports

on the board was used instead. If the number of replicated

board grows, then it may be worthwhile in the future to

change NEWCSDL to include this function.

Two additional files used by NEWCSDL are potentially

affected by new libraries. The first file MONITOR.DAT

contains primitives that are used all the time by NEWCSDL

and are included regardless of the application. Because

the intermediate table containing the order of the

contingency tasks has been eliminated, one primitive TAACP2

has been eliminated and the code in NEWCSDL needs to be

modified to eliminate the reference to that primitive. The

second file, GLOBALS.DAT, contains the names of global

47

-. .. ,. -- 7'.. .. *.* . . . .. . .* * * * * *-:-'***.

Page 51: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

variables used by the primitive library. Because of the

change in orientation of the library from individual

components to boards, many globals were no longer needed. A

list of the global variables used with this library and

their application is given in appendix 3.

3. ftIdIuA h"M ftM In.

Walden designed a database system to eliminate the

need for the various files used in IEWCSDL. No code was

available for test at the time of the implementation of this

thesis, so no attempt was made to try inputting any of the

primitive library into a database. The method of input into

the data base specified by Walden was to type all data in at

a terminal. This is a reasonable method for the title lines

and some of the smaller files. It does not appear to be a

feasible method for entering a primitive library because of

the size of the data. A data base eliminates the need to

use the FORMAT program to correct the pointers and

eliminates same of the overhead on CALC, and INCLUDE.

However it would require typing all of the primitive's

assembly code that has been previously debuggedy with the

attendant errors and duplication of work. To be really

usable, the data base needs a method of getting the assembly

code associated with a primitive from its file used for

testing and debugging. By doing this the code could be

transferred with a minimal amount of error. The code would

still be available for separate assembly and debugging by

the primitive's author. CRef. 21]

46I'

Page 52: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

L.%

*V. uLML_ An -.-

Preliminary results of Riley's thesis indicate that the

controller can be built using the design system. CRf. 223

This particular controller does not overly tax the design

system or the primitive librarys but does provide a

functional test.

In the course of constructing the library, integration

of the various tools became the major problem. In

constructing any library an assembler and debugger are

necessary. The Z-6O has a number of assembler programs,

however, they do not run on a VAX11/780. The transport of

the assembly file to the mainframe after construction can be

tedious. My choice was using a 300 baud modem. This was

not much of a problem when the primitives were few in

number, but became a real logistics problem as the library

neared completion.

The implementation of an interrupt driven controller has

turned out not to be desirable because of the additional

overhead. This was tried in the form of an interrupt driven

clock for the primitive library. The clock was using about

2.5Z of the monitor's available time. This required no

selection of competing interrupts3 since there was only the

single interrupt in this case. The overhead was also the

minimal possible, since only the AF and HL registers were

49

LIl

* . *::::*~. ~ **~;. *>w. .*.~~.&J2 .j:~§9 ~K.%~~K:K. -

Page 53: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

saved. If all the primitives had the potential for

interruptp then the AF, BC, DE, HLs IX9 AF BC' DE' and HL'

would also have to be saved. For comparision, saving all .

the registers would have increased the overhead to 7.5%.

This still would not include the time necessary to select

which contingency/task pair should be executed. At this

point the interrupt driven monitor was abandoned.

Further primitives can be added to the z-80 library to

increase the number of arithmetic and control functions

available, but this may be time poorly spent. In building a

good design system a suite of libraries is necessary. The

Z-4O is the low end of the library in terms of performance

and cost. Because the costs of processors continue to fall,

it may be desirable to include the most extensive of

libraries only in higher performance chips.

50

Z:- .

Page 54: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

APPENDIX A

PRIMITIVE TITLE INDEX

This appendix was created from the index of the .primitive title lines. Where there are multiple primitiveswith the same name, but different precisions, only one nameis listed. The function of the primitive is then brieflydescribed, and its limitations.

NAIIE FUNCTION

h.atod Include a 8 bit analog to digital conversionboard

h.cardcage Include a 8 slot card cage and power supply in -the primitive listing.

h.clock Detail the connections of the counter timer chipon the cpu board to produce a 1 millisecond or a25 millisecond clock out of channels 0 and 1.

h.dtoa Include the hardware for a 8 bit digital toanalog conversion board

h.inout Include a 8 bit 64 channel standard bus todigital i/o board with wiring to illuminate upto eight lights using the address lines on the,card

h.memary Hardware primitive to include a 16k ram boardbased on total ram and rom requirements. Thisparticular board is a battery backup board andcan also be used as a quasi rom if a writeinhibit switch is on. The board can be disabledIn 4k segments, making that particular segmentnonwriteable by the cpu.

h.processor Hardware primitive to include a Zilog Z-90a witha 4mhz clock and a three channel counter timerchip on a single board. Included also is abootstrap rom using the first 4k of addressspace.

h.tcardcage This is a primitive that is invoked when a cardslot is requested. It checks that the number ofslots requested does not exceed the numberavailable.

s.add Come in a variety of forms to support byte, twobyte and floating point addition. It provides - -

no error checking on the result of the

51

Page 55: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

computation.

seaddck Comes in a variety of forms to support byte, twobyte and floating point addition. It provideserror checking and will not allow the result tohave an inappropriate sign. If an overflow ismade then# it will put the largest possiblevalue in the result.

s.and Perform a logical and

s.assign Performs an assignment operation.

s.assigncons Assigns a constant value to a previouslydefined variable. This does not reserve space -

for the variable, only puts a specific value inthe variable.

s.atod Primitive to perform a analog to digitalconversion

s.blockcons Primitive to mark the beginning of a submonitorblock

s.blockend Primitive to mark the end of a submonitor block

s.blockexit Primitive to leave a submanitor and reset allpending operations

s.blockstart Primitive to cause a submonitor to be executed

s.clockcons Primitive to create an interrupt driven clock

s.clockcons Primitive to create a clock using counter timerchip channels 0 and 1. No interrupt isinvolved. The accuracy of the time tick is onceevery millisecond. The time is accumulated inchannel I as a 16 bit down counter. The timecan be read by usings.rdtime. This primitive will latch the currenttime to an output buffer and subsequently inputthe latched time.

s.clockcon25 Primitive to create a clock using counter timerchip channels 0 and 1. No interrupt isinvolved. The accuarcy of the time tick is onceevery 25 milliseconds. The time is accumulatedin channel 1 as a 16 bit dawn counter. The timecan be read by using s.rdtime. This primitivewill latch the curt-ant time to an output bufferand subsequently input the latched time.

s.cold Primitive cause the system to do a cold boot*

52

* . o . . . . .. .- . . . . . . . . .- **. . .. . * . . . . . * .. . . . . . . . .

* . .* *.*, *.*. **--*..--C.

Page 56: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

That is reinitialize all hardware and performany user directed initializations.

s.cons Define a constant. That is put a value in therom position of memory. Comes in version forbyte, two byte and floating point constants .

s.div Comes in version for byte, two byte and floatingpoint divisions.

s.dtoa Software primitive to perform an 8 bit digitalto analog conversion. O

s.end Primitive that must be last. Indicated the endof program and includes some necessary pointersfor hardware initialization.

s.eq Performs comparison of byte or word values for Pthe condition of equality and outputs booleanresult

s.every Forces execution of monitor every time by makingcondition always true.

s.exitproc "arks the end of a procedure that is executed asa subroutine. When used with a conditionalcall, this primitive will first set a booleanvariable with the same name as the procedure tofalse prior to executing a return. If it isused in conjunction with a unconditionalprocedure then it will simple execute a return.

s.float Converts a two byte variable to a floating pointvariable.

s.forend Marks end of a FOR construction

s.forstart Creates a FOR variable- date from lower toupper.

s.fptoi&ee Converts floating point format in controller toIEEE single precision format.

s.ge Performs comparison of byte or word values forthe condition of greater than or equal andoutputs boolean result

s.gt Performs comparison of byte or word values forthe condition of greater than and outputsboolean result

s.ifcons "arks to to an if construction

53

*o.. .

4 * ' S *U-...-U* -. -o* o ,

*. . . . . . . ... -,- * -

Page 57: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

s.ifend Marks the end of an if construction

s.initalcons Marks the beginning of user definedinitialization requirements

s.initalend Marks the nd of user defined initializationrequirements. Implied in the end is setting theflag associated with the user definedinitialization to false and jumping to the topof the main monitor loop.

s, jmpf Causes a jump to a location if a variable isfalse

s.jmpt Causes a jump to a location if a variable istrue

s.le Performs comparison of byte or word values forthe condition of less than or equal and outputsboolean result

s.loc Marks a portion of a program with a label.

s.it Performs comparison of byte or word values forthe condition of less than and outputs booleanresult

s.main This construction is always required. Itinitializes some basic pointers and creates astack.

s.messout Sends a message to the output device. It isused only in the debug mode.

s.monitor Creates the top of the main polling loop andreinitializes the stack pointer

s.mult Comes in a variety of forms to support byte, twobyte and floating point multiplication. Itprovides no error checking on the result of thecomputation.

sne Performs comparison of byte or word values forthe condition of not equal and outputs booleanresult

s.not Performs a logical not.

s.or Performs a logical or

s.out Output a signal to a port.

s.perfore Primitive to invoke a procedure subroutine call.

54

....... ... .. ....... .. *.....

Page 58: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

- .. .. %"t. " .. . . . . . . . .; .

s.proc Primitive to mark the beginning of a conditionalor unconditional subroutine call. It is used inconjunction with s.exitproc to mark the end ofthe subroutine.

s.rdtime Reads the time from the CTC chip on the cpuboard. Time is represented in eithermilliseconds or 25 milliseconds depending onwhich clock construction has been used. In bothcases the actual number read is a two bytenumber. The clock is a down counter, so thatthe elapse time goes from a negative number to apositive number to zero and then repeatsstarting with a negative number.

%.start Forces monitor execution provided forcompatability with older library. Not neededsince monitor starts at nonmaskable interruptlocation.

s.sub Comes in a variety of forms to support byte, twobyte and floating point subtraction. Itprovides no error checking on the result of thecomputation.

s.subck Comes in a variety of forms to support byte, twobyte and floating point subtraction. Itprovides error checking and will not allow theresult to have an inappropriate sign. If anoverflow is made then, it will put the largestpossible value in the result.

s.tabnd Marks the end of the main monitor polling loop.

s.tabent Put an entry in a polling loop. It is used withboth the main and submonitor loops.

s.var Defines a variable in ram

s.warm Performs a warm boot. That is jump to the topof the main polling loop, reinitialize thestack, and perform any user definedinitializations.

s.whend Mark the end of a while construction

s.whilecon Mark the beginning of a while construction.Performs the test of a condition, if false jumpsto the next instruction past the location markedby whend.

s. wrtbin Used in the debug mode to output a location to

55

. . . . .. . . . . . . .

.o . o

Page 59: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

the screen in binary.

S. xor Perform an exclusive or.

stabaccp2 Is a dummy primitive to provide compatibilitywith the 9090 realization listing. In the 9080listing tabent is divided into two primitivestabent and tabaccp2. This requires less memoryif there are extremes in the time requirementsof different contingencies. By combining thetwo primitives an intermediate table iseliminated and the execution time is increased *

by eliminating two unconditional jumps.

56

Page 60: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

APPENDIX B

GLOBAL VARIABLE LISTING

This appendix lists exactly the file GLOBALS.DAT underthe column name. Included in the listing are the initialvalues of the variable. Since the variables are limited tosix characters, the purpose and limitations are nor readilyapparent. The purpose of the variable and its use aredescribed in the next column.

NAME PURPOSE

arnd 0. Is a pointer in the form of "W<arnd>". Itpurpose is to allow sections of code to beplaced anywhere. This allows initializationsto be place with a primitive. In this waythe primitive can be executed and theinitialization is jumped around. The onlyway to access the initialization is to usethe inlnk chain.

chips 0. Is a count of the number of integratedcircuits that have been added.

debug 0. Is a flag that will cause the primitives tobe conditionally assembled to produce inputand output through standard BDOB calls. Thedefault is to use the normal input and outputboards. To use a cps microcomputer to testthe primitive, debug must be set to 1. Thiscan be done as an exit to the globals.datfile.

initlk0. Is a variable that is used in a pointer chainfor the initialization of hardware. Theactual form is *i<initlk>. This for thefirst link would appear as QiO the secondai 1. -

keybrdO. Is a boolean variable indicating if the 7303keyboard/display board has been requested byany primitive. This primitive was necessaryto eliminate the potential of several copiesof the board being requested by differentprimitives. There are several primitivesbecause of the number of separate functionsthat are included on the board.

natode0. Is a variable enumerating the number ofanalog to digital ports that have beenrequested. The hardware primitive will

57 *~~

• % ; 0

sT .S-0'

*0 . .,*.-.: -0~S * S 0 0* 00~

0 *~'~*.*0...00 0,

Page 61: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

- ~ -. I I - *•. - - '

indicate a failure if the number is greaterthan 32.

natodpO. Is a variable containing the address of theI/O part. It i* initially 0. If more than16 atod ports are requested then the addressis changed to 4.

ndtoaeO. Is a variable enemurating the number ofdigital to analog ports that have beenrequested. The hardware primitive willindicate a failure if the number is greater .than 32.

ndtoapO. Is a variable containing the address of theI/0 port. Currently, not dtoa boards areavailable for the system, so the exactaddress has not been determined.

ninoutO. Is the number of inout ports that have beenrequest for the mostek mdx-diobl board. Anerror is produced it the number requestedexceeds 64. S-

nkey 0. Is a variable indicating the number of pushbutton keys that have been requested.

nled -1. Is the number of light emitting diodes that

have been requested. The maximum is eight.An error will be generated if more than eightare requested. The lights are number zerothru seven. q.

nodgt 0. Is the number of digits of the alphanumericdisplay that are requested.

norom 0. Is a flag indicating the absence of theloading rom. If the controller is to be usedwithout external support, this flag must beset to 1. This will cause the conditionalassembly to start at 6d and will allow thenormal use of interrupts. If the controlleris being simulated on a cpm computer, thisflag should be 0. The normal assembly has ajump to 4000h at 100h to accommodate the useof cpm. This does not effect the use of theloading rom, since the location lOOh can't be Laltered by the loader.

nrockrO. Is the number of rocker switches that havebeen requested for the 7303 keyboard/displayboard. Currently this is limited to twoswitches. Requesting ore than two will

58'

-.',.2-._. : "" .. f;'...,_ ,.., ,',.... . ... .. .. + .. ,. . ,+"+-..................-.........,.........................,.......-. ,..,.,. .....-

Page 62: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

cause aerror.

raimptrO. Keeps a count an the number of bytes ofstorage that have beein requested in a RAMarea. This counter starts at zero, but willbe moved to the top of the, address space anddecremented as mermry i s requested forvariables and stack space.

ramptrO. Keeps a count on the number of bytes ofstorage that have been requested in a ROMarea. This counter starts at 0 and inincremented as instructions are added.

scrtchO. Is a scratch variable. It is used in variouswas by different primitives to computeintermediate resualts.

slot 0. Indicate the slot in the card cage that aboard will1 use. An error wil 11b generatedif more than eight cards are used.

59

:1 A

Page 63: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

APPENDIX C

ZILOG--80 REALIZATION LISTINB

This appendix contains the listing of the library as itis required to be formatted. The first line of the librarycontains the title of the library along with the cpu's clockperiod and memory speed in quarter mircoseconds. This isfollowed by the alphabetical index of all the title lines. S

The individual primitives are listed after the index. Theformat of the individual primitive repeats the title line,has comments describing the primitive, then actual code andis unbounded until another title lines is encountered. Thismakes it possible to have multiple segments of codeinterspersed with calc statements. Not shown because it is .an extra line, is the requirement to a line after the lastline of the last primitive. If this is not included, thelast line of the last primitive will not be included, sincethe FORMAT program is looking for a last dummy primitive tomark the end of the library.

The library is listed vertically to allow the fully 80 Scolumns to be displayed.

-

* ....-.......-.. %.--.'-'.

Page 64: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

r-r

-W CD 0M

.10 -o CcN ta- A c; li 1

T .CI . mN-t - N a. 0 - o00r. 0-00 -

to4 n a 4-, ; 101:;W 4i 1: - t -- - 1-- 100 N 9 0 -

.10-06 -- ow -m Ifle9tl--*noN 0~ cm' 60;W ' -0; M M

r.~~~~ 0 NC' N-.--0O Cie~1 v -i w* *6-i .90-0-

a 0.0. M O 160- 1N toV*, vw0in - M N

2 a.l 0- -0 : N..g' N,; NN6.N9

a40 .- O .9 tv-~ - tv F. NO .*N *N . e 1* N9 9 -10- -f r.. In- - -00 * N *NO NNN6vN

-on..- - r~9-.--. . .- .0 1 0 *.6 - - *N N0 0 f'- .6_ f a- Q = 6 0 * 0 0 0 0 0

*~~;,, 60 6- -6 - N *; f .6. f* -N.N '4e *atNN -.0

9 c -00 0- .0N6-i - - -0-0 -06 - -U2-10990-O * -6 .0 - .6li .. .N 1 .O - . Q..

9 N2-0 -ONNNN~O . .~ 00-0 v-oo-- .6 -0- - .000OWNr

IVION* -6O4Q O O . .. . -0600-C;-O .I-N;N -CNN . .

* ~4 C4 09N6Qr 0 e 0QN a *- -o. . 40N ! C ~ 1 ; 1 -ON * N0 00 00 049 M6 N1 0 9O * 0 0 4A0600C M00 M 9

ti Nm* NNNNN * -l * *.'0 *06 C- O O N-0. .40-n- .6 *OaN m. -.- -- *0 );,-w040 :,w66 C 0 I.. .- .. 6N6NN4 4;0 ; 1:I a1 10 IN- N N N N C,

uN rn 10 6q rn S-t -.t C-!6-.an :%;. L.L I - 16oe-0* *60~N61t40- 666 ** e ... 11.. 44 00046.40

-00006n 030660-..00000414- ... s1 2 osessaLo

LN-N 1 1 0 C C C L~). 6 46A LSU . .

s - 466 6 6- U 3- -- UA6 6 66 660i 0S

U V 13 '- -- -- la 0 -0 U Q - - -IO UU O-v~ > a L -0 v $- -a CA a

0* Go 3400 -s a L 2c U af. 0 HVZV cc cc>aa 6 .j7r 4 L

20 6 CLCC Ue62u ~.UU~ . .I U .. U U U UU i ) . .M 6 OS f . CC .......

oioa~3@6I~O U~iua~oaoa- CC N-aU * 0-00 -0000-:;3;1 > 21C . C~) 6 >@0 >>>>>>>>>2

6100UUUUUUUUU 65 ~N~--.0 0 -

_%%2

Page 65: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

20 CA

aw in9

13.

A a1-40. t a a

0.; 0.9 M 0) -V 04a9 -. 4 -VI C4040 S..

040 N00 4 .a 9 4((440 - 4 t- -40 a) t- t- N

-we 404 -- v)-40 -c P40- we 0 NN- 40- N- .4- .- *.010 0 V0 *

.- - - - P. -090 -MON -O40R 40 N 40 *

040040C C a 4c;- -;C ! ;;:N 0 40 oc *4'N C, C;

N - N24;C,4;;" "C 40NNON4s tow .*O 40Q . 0 040 . 40 . .40 40 -. . .N- - . 040 P -00 . mi ) a - - .- 2

a a' -.- t 9 a- N )- 94 -t -t 2me _Ooao O!!_v -- 04400) -40 9 9a C-4

N- 0 -- - -- - -- -*N409)- 0 10 -1 -W~ O -N 0- -al

-- 0 -0 -N - -- - -- C!. W - -- - - -toa40*

-400-- 4 a4N-N a 4~0 4 0-N N0 _a 0 a 'aSIWO -4 .s .)0 4 9 . .0 .94 40 SNl C9 E a 6 a

404009 -~ *~~ 0 ~ 40a ...-. 40 e-,; - 4

N -- 0 *40 -- 0000 -40 -N - -L400 040 N 0 0

-9 -4--0-0 0 -4.4.00 -09 -4 -40 -C 00 0 )4 0 40 4440 -0 ---------- O - C- 0 -0 -- 0 04 6 4 400 -0 - 40 - - 0 - - .

lb.. -400 0 -0 -- 000 qCl - - A L4 -0 -0 00 ob -N C4 0 0a40 --- 0 C - -444 * 0 CL -N -- 0 -O4N40-0- 0,-0-)-a

- -- 04400-4400N.40440 0-0-0 -4--0-0 00---44 060 04* -099--------------0---------4 -40 N40 09N -- a0- 000 0 - - 0a 100 9)

4040 - I0 -a N0-00 -0N~V ~ W v- 0- N-0040-9 * 900W 0

Ne-40--0-9)- .--..---- 0404-4 ---- .0 O NN-6-24

Page 66: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

0 .

* 0 6

cq L W -1 U 0

CL + +. N 0. a* 6 0*~~ CL Q ;

06 a lag- (a'- - . 4. a c-LU a a CB 4. S U U 6

6 -CNf 0 Is 0531 00u33 0a 1

c L 4~ f. a u 4,

vN a ' a; - a0 6 . . 6 - - VO - @ 0 4O u4' ar-COC 1314 C% N 3 Ii

04 N _1 U' a6 a 5 a 40 aU-C 544 a! 46-43-*. LU 54 0 - -U . LC - 0 u

aSac a.U4' a@ 1. +-- 4'60C. L 4

6'.6 624' U

6 ON N- o-6m6 . 0 C-6 a 0 2

L 4. 4' 4' 4- 4' W' 4' 4. V 4- a6 6

06~t L40 04. C 4' '*0 a U Q6 U 04L.! I- - - 4

-0.4.~~~~~~ 11 1 4 1 11 1 6 I IE I . *5 4 C 1 4.

L 0 3. ' A4 A 0 0 C it - 0- 0. "> a £ CL 0. U J- 9 CO0

04 06 N 4- C- C0 C 0 - 0U - 0 00A J9-.; 4 -C *C 044 A 4COO C 63 0- 4000 0OIA -MC'.

6~ ~ ~ ~~01 10.-1-3C u IL eg CLCLUUMU '~4, 6~ -CU C 64@ LU 4' 4641.21 ''C03a 0.-Celu60660EwU6606wfl61 V' O0U4C4ue dcc c-

Zj a. 6 UI;T 0 -V ICI L V C L.0C 5&. l C oC- '

63

Page 67: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

0., V

* 0

In 0

(' 0 c a 4c #

o U I.* . 6 . (00I 'a .- 46 '0

.4 a -. 4.o 0.00 ! - W 4 L 0.0 L LC 06 3

C C 4. 0 6CC

1310 0 co 064.aaA a -0"

CU UC C C C C0 0 U4 Mo." 10 -6.. ow -C

3N2-0.3. - .4. *'L N C P:4 6 4. C alo a, 'oa aX Cc * ' - S

U-'U- ~ 1 Ufa. - -4.* L 6* 4 1 4U40 .t a. 4. C 0 4. 4. wal an6 04. AU) 660 a6.0o Vs. -0 1 - 6 -U #_ M*6Ut a- vUC -W6-)M- M V 0

L~~4 L@Ca+ V) ri a a0- a~ * a06 6b6~ 6 0 Q. .AC 'aU . .JU C

0404 a44~4 C 4.4 CL **4 @-M 0

-N('4N 2 .. . 1 0 #Vt N 6 ~ N L - CC

3 quuu a - OLO L

+66..6O aa Ca + U 0-o:i6O~i~ -Mo a.C ofa6a alaa

E s 1aaaa W40 a 6 OM OW. -0 V N 6W

-N.-N N-N- Ci 6-0C A6 V *N NN L. - - N.N *1C- 4. 66 -4%. > h1 1 c 44

4..44 4.....0. N 1 -A L I I A L I C alS 1 I II f S 4.4 Uc 4~~ 4.4 v5 0 4.4- C NM -NfC+ w .4. CU1

Nflgf(*: 4C 0* *- g~* 16c c- 0.4 -w 4. i4-' U@L -. 0 - L. @(- L 4- 0C 3L 00 V.OLL 0 1 LC

-44 *00 * V@ C L A 6. 6 A L V4L At L 6a - wtl~ L 3 u Ca.- C- C- -- 1. UQ0 G- 666 a nL- C - u - e C 6 C .60 Ur0 a

a o a 4 1; oi-U4.La -6- -.. -06 a *, 0 0 ifV c # 4-LU_covN*vw00 0 VC0UL als * 0 . 0 aE a * U- a lm V;%: a a a

3 3 31 3V3 L '' U 00-CG CU- U0- uC e CU .0 v-U-6 06~~~ C Ui C V6l v6. U C . U - C 4 U@ - O C 4 U

4. . .4 4 aU 1560- u U- SE U- a-~ U U-'..EI

~ C 6 06 UU CUC *Oa UUO C6 *6UUU0.UC6 aa>

64

A. -1

Page 68: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

o C

* S

4. N N

4 . -0C C C a

0 0.... Ct_- ,S,-° " 3o S 0 0 5 SNL

40 N 9. . : .. M.

0 L S 0 . R.40* c N . a-40 .1 0 a0,- o o 0 C 0 ;C .C

." C C- - - . N . . ILI N x w C Na 6

L L x a o L 0 0 a L a1.L3C 00 C C 0 *aa

5 1,O1. 0. e". CC 0SC OCC C

C 'aE 0 CL a

L L. L C a ,a- CL 0 06 a - C" 5A LC- - L S 0 a 4. C S, 0 W -0

ONO 4..6 o% OMS 0,.6 00 0 1

S- 4. a - a C w- -. 3 C a O C. . C- . ..LC- -C SS SC 0063aEC 005 0. 0. a

S~0 U 6 a ao a6 a 0..--- C S.i* 0 C . 33-

o C -5 a 5. 4. V) o a Ca .la d aV - 4 0 .0 . 0.S 4 CL a 5 C Q. N- C 55 4-4Eago-%.Co 4. N,)P. 4 N 4..4'l 4.. 4. S.O 4.. 4. l 54 C

o 04 - .C - - .

L93a.0r.r 6 *%.@N NS a C.-O C SC C9 C LCCS 0 0 -rQ CL n QC~4.-C-OCL-r- C..44 CL *1 1 4 0.0. 6._ a .- CL-0.3 age . C L L

., 5 .. N . ~ 0 S E S .. . SE S' 4 g 5gg

La 40 0 4. . 4. 4.0 - . C ".S. 0 4. 0 4 . * 0 . 0 - 4. .- U. SO U 0 0. 0 - 2').

U -09 v v-w-0-- V. V. 40.~ am. w4-.-l a0 I* q w v o

S

-. N = , -

* ~ ~~~ a nnnnnnC rnnnnn n NnnnnnAnnnnnnc An~

- -4.X0 3. 4. 4 g . 4. 4 .U . 4 . 4 . . 0 6

MN4 N .N N N N N 04 N N N N N ( NmN CM N N N N N 04C4 N N (4 N N 04 N N N 414. N N N 4.

: ' = : : > : >: = >= > > > > > > > > > > > > > > > > > > > > > > >

65,,.£r#'. rr" 9.-----------------... . ... .. "* * - - **.. . . " '' ' " " '"".. . . . .'.. -" . . . . "

Page 69: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

4. -

40 0 0% 0

u Cea c 0 V

L c - .-a ca a

!cu aun. a so 3 a6-1: ITU SO -0 .0 .100

o 06 4. 0 L 0 0 a LN6 . C 0 40 " C M

Le .4 0 *L 6 a 40 )k C O Z cau 30 .06- a. r. u c SC a u

U0060 U - soC; @C 0 L. 6 0 a . 0 10

-C 0 3 .S. 40 .r. -10a :

a a aa a. e.U .CO2 0 1 0 12 1O. 0 )0 - Swoo~~~~~ 0 ~.0 0 -ol U

in r -00 U *f . C.2,0 C -o vC 6 ~ - Os

L* 0 04.1- 00 UL V L N6 oaitN 40 hOC- 0. . 0 aC a a0~ a'C V-V 0 4 a. No~g C -0 4 4" .5.5 c

S* u- cc coarn 0* 0 0+CO0o C '00- - - LaS

I 1!,1 ! =0 a Ni *-Su S-lf -0 .06 go 4 '0 . - S ..

-S 060- a On CS * r. 13 C Lolw a6-0 A A0 C 0 4-SS ao~t 0 01 -- ;*U a 4. . 1 0- a C1 C

6. 04 L 6 0 OUS U-r G OO C rC 100- ONC40 -Wo 0060-i40C 1 .0*6 U lh0 C4* 60

C 000 0 0 6 -00 L -- - L U 061;0 0 0-hh0 - 0 0- - * .1 - 4 04-1 )

.6 0.L. 6-I 6I L..L . Cr1. -- -6 L..rp. L ~ 0 -a 'QZ0 L .-C0a o L.o CL -Q3 A ....-. aor uS" 40 u a- *L-a - = caQ6 - 40 We S.C 6 0 C ~ -n'6 6

-21 v A 0*11; Ofc L6 . 00O 3 cu e Co s C13 40- SXG ?'C 02aI cc 6

2o. uo@00 S A o 6. -0-0-0-000 6. -0 *rnaC'0e;;u o orni -.;;n aa 6.6 6. 0 0'W CC a0 0-.CC '0'0-mm (a o Nt q in a

-N N 00 NN N NS U S WO - a N6. N* N aN N.NN 144M00~~~~~~ >aa > >oIL O > 0 Uf~0-~IU4'

EL 6. . V 6.L2 CC~ 000'U~66

Page 70: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

A CL v 11

13 a a oi co 'D 4

1. u r. c O U I6 -f 21 06U a4'L3

cl c 4 . - c a 1

0 U 62 6 0. 11 CIU

3 C4a %x M34 64. 0 C4- L4- -6 O . *E I-

io C6 N. -6 V 0, 6; G ;-e0

40-CL aa 0)N :; 1 a 01 N- 4*- 0 .0 .C 4 .( N 64 0 C..4 *!N'

-- a N 6L. a N I- - c36 0 W) - . -g. V)I C 0-C c ec -(a 0m~ c96 40 6 64-0 414, tI0 6 64-' IC 66. 0 6

4.0 o 4.' 4. *.'* 4 * 06a. *4.

61. a44 aC4 -60 #1C'LaC- 3 .L e aO u SOCa

6-a 6L NO ('OC -@ 066 N-o a - 4 66 *; Z2 06 .0* 6

,C 4- W4' C 4s- 4 -. C 4. 0 .

436 1 4- CL MO .0U

as 6 aU CO C 61

mtC C S0 ~ ' 904- l- -011 - 1o004-o-U4 L 4

40Wmq; 4-60 ISe ; O O* lg o6E1 61 M6 14 -L 6 N. -L .66 E 3.i E E! .L 66

L 6 -4 L 0 -4 A A .0 60-636 -6qo-j~( 01. o 4= 7 . - - tic 'r o 01o 1

L 1-C A 3 * 1.0 0 0-a1 4 A A C L.- 6 A!A 664 4-0 11 ) - 11 > ) 1. 1. to >- - N . 11 ) -

-. 3-.- 1 L 640 A 1 46 6 - A 1 4 00 LO 1. 640'0 -A A6 4' -161 4' 4' 4'.~V V -C4. 4' '. 1. U :; 0-. .

L 11. IZ HI 0* 6 a 11 - -~ + 4 a vv . 1106- 0 0 i040 0 a o4.4-Vw -, - v' -1 6.4 6 4.v010v 0- +- 314' - - 140 6A 6 0 140 -60 - -so0 d a

S-- C 0C 0 0 L 1- VU1 X ................... V j2 - go -t:6t C6 ; 6 ~ 6 ~ a- 0 uUG C- C 0 - -U -L Z.0 V''4 -La 4 4-UdU - 0 ud l aU -10 U0 U--- V 1. : C UWC 6 @06V -6 *OC U O 10C *006 acUU.0Uu *O6U

-NN NN NN NC COC CO OCW66''6''66''9InOV n 0 Vt0 N 0g*a0 MV i 100N 10 (000000 00000 00v0v00000 0In In00 in00In 0 00000 0 0

I %

67

Page 71: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

V5

006. L

* 6 L It M - a. qU L -U 4d A6 4. co CI C0 L . u

*0 a a u 06. 4' 966 a

N: - ct le 6. 0

ma a au N 4' (X C. a maLO a ;el IT 104 112 11 a N- 4 -M. ams atsil 6 0 u.4 N. - Z6 ci. 4. 4' a a -so3 34

c I UN c NN 1 ca + I.S c S 56--c ca*a~ a ma *,..*a - c.xa a m m-*~4 -.6.0 weL ; ; N 4' 6114'- 6* a A t N 6 a~ a !. - aN

0 0 IVI i i- 4 C S C C aSq.~~ a. me 04~ N N@'N m-4'~ ~~~ ~~ seeli '' S N M -

60 L -1 11 . -- L.. 0. 5 1.

ums~ea L60 L L 0A .. 0 - mimmSOC SOC

0gm c

044'

40 - w -- 9 q-'.~ -w .6. C0 4095 9 40 C.4 -9-499-.94-p

ft 0 0 10 0 4 W" 044N 0 d 0 4 P -6 . 0 00 .0M2.V -6 41 f 0 -4 0- A -04

*~~~~~ L d'4A 6- a * 6 O2 A A ( * 6-~0 A A-N Ia f% 0 1% Vi A N 0. a% ON )0 A do

L -WOt 4 4. 4 L x L L + 4' 4 L'6XL L. oso SA U;Csa uoa-u 000+i0+ino g sium C ~6* t- tee4. *C 0v + - +-oa ii U w E4.0 40 *4 4.V +

W. C v 50 0 6.0 a6- L40 -e

* ~ ~~~~~~~ 4.O6*666OmON -. aCmmmN a-mummnu-U oa-c - - U- -slima--

68

Page 72: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

%

6 6 0 0

U4. A -66. : L A6a L 04-

a- 0 .3 A . UP '. 4- a 9

o 4. 4. N U4S -L II a 6 12 Ig v . 0 6 4. u C

* ~~ 2 0 44 - U04)--. 4- 4- A 60 0. I C .4

aU - 4.0 L - . 41'6. 3% 4. 0 4 C64+ -6 U 40f. L 40 * 6.E

o O N C3 1. 4. 0 4. N U0. 5-a04 it 0 S 006a6a4. a. 6 C 0 04 40 N

a. z - 3-6000 3 IV 0 -4iS %-66C . C 6 - 4.4*- - : CD124 1. 6 £N 4. a 'm 6 4 ft a-4)

L. L 0 6 u U4.4 o -. S.C -MM 4 a E-C *

toL O 4.- S4-0-U A i 0 60 SN L

56 6 U2~.*PC -0 -4.*--14 40 4.3 a UO@ 4. L.-u44. ; 6 m 0.N 6 560 - - 0 6 0 RM64. 0 N >* X V a 4al

44M N 2 .60 " u6 a 464S C. M. L4

64L6 6 0110 a- f 3 L- a.. 64. In 1 SU .4 C0.

666 4-U C0 or -0we*. 46 u- C;iifff a

N.-4')NN-N0-fl N~. M6 NN- 0U CL 4' -6a A t1 a I4-flM -4...4 4 L oC

-0 1a a .40-W4 4 0 I

in ai T; NO.22,4L -i4 4. 4. 4. 4. - U ' - 4 a111 - 06sin 4d 4. L 40

*1 :14N4.4.' 41 L 04- *7~l.4 6- a N V) 4M 0 a610. )M

A l41 t. 44 a l 4. -0CQ4 aC0 0 U) a1 C 5K-4.I

O )k034-+ 10 0 - - 3. f- L L+01011 II 4-.. -'C-a 6 0. C L 4 a6 +1 a .0. toL. ----'N'-42- L. O. * 104 a I- 4.6o G 6' G . CL q

(1 06 U0 -0 al -U 0 0 U VO E A 1 0 4 - - -

0- .- - 4- 4. 04 .6-0C O O 4 4 .- 0 40 6 .

10) Lb.- 40 4. if4- OU410 Ut a.6 1U V .II 6. V 1r -0- 0 ticfO *O 4 4 4-. L. - C x 4- 13E- L

o -eA 64.06 0S.-J~4U 4. -I. C 6'- ,.. W-66

'-.MU UC- 9L, u.U - fl.U I -,C 90f .v5U -0 0- N 0 I U' 14 6 0 0 C~U- U -II a A---Il.

+ 4U U .+4-0.00.L. a 6O0000 C0 40 C-1 CL6WO XLCCEL6 C. *O O U-I *086

-. ~~. U) ~ S - 4I U 6 S0 N4 u C 'S 0N W A rS .N ' !! ~ f a' a* u 0 . r,)6,1NNNNa a a a 10 1qq9911mm14gi ~ 6. a G, u 4'o - F

69

* __ .. ~ %

Page 73: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

L

InLO 4' N an4

L 0 US In - 0

L I -b L L 4. A N40 a 0 LL N" C4 >' .1

CL- I 1U S + + CI 0 0 C

0 - d 0MI 11SO L .%Lm LN M4 LU L' A 4. 0 S f *U 04 -6L

LO 1- 1, -L' 1,lt 1 06 0-. U02a a6 10aN 04' 4'L 414 me 3 a. -U -N - O. -C SO ELS

00~ OSiI @0L1 C. a C.) U L ) ) * S-S SUN + 1.4 U. -LI 4SCEN4 4'. .4 . .L '!EN H 55 ONU U C L40 L. 0 C 4 . 000 C

4-L~~~ :-U --E - -- UN4- O U* '. -U. U - - - 0 C! UG C CU mo 1 ~0 -- U

C aoUI Co we* a- a' a5 L U0 L0 L.E Cc- Ul4 ;(N-1f1 IL L' 4' 1O L,4' L 00 0U U I O US i , E C-N . - U - O 0- 5 4

LQN a L' >E N.4- ! 54' a 0C 4 EE* 4'u 4'.. 2' S 1 U 1 C -0 L ' L- ; a4 0;5 a

EU E-UC L 0 C U. EU

NNU NM f E E.CU - CL OL -N cq c -V

OC LU U S CLO 05

40 4040 404 0)0 4' 4' -4- LO4 10 0 0 4.flnnnflnnn 0 0 4. .0 Oh 6E 6U4- 4-~ U 00 S U M 00 E V) di.. '

.0 -. ----------------NN---O VNN v " N 0 0 1- 0 .0 v N -0 IVU00-~ LS L0

NUS~0 000.0 00 NE! 0 0 ; 4 LO

4'~ ~~~ 4' 4' 4' 4' +' 4' 4 -Q44-. 40'6-

NB L OU4' Ch 6 666 Gt60 NL.O W IIV 4 0 LOtV)NvE0

+00 114 4' +E1 4. 4 .l ... ..

as laV A L . 00sC4 0 - 6 4- UE4'L U4.t. +C +- - 0 406 4-LX . - 0 A 06- 4' U1 CL Q 01 A w L4A0 -. -0 " UO 4- 4 A : CU L L LL A

N 0 4I - 4- a o- 0- I E AA - IS m0 6 0- L - 4S - C- L I- ' -. - LOKM

6. C 4. ~ -+ 4'0 4' 4 E U- S CA 4' 4'~j 4S AL -0 10CLL+E.Ul ;*C.CL W~0 Us-S3 -S aS L + =4 -1 L 4 Q Ua -

40 4. Q -- N 0): 644VU- S C"U;2 U Co U S 4''UU- U *EU U ain P 0 - N CM 0-E 'V -0 C(a' I.V - ' Noma

cooO -E.Ceoc C3U NU'U *we .UN~~u NNN-EN.lS

3-:0 ~ ~ ~ ~ ~ ~ ~ ~ 0 :0C -. 00001 0 1 3 ) 0 )1)1)1>)

-- U~ E~-~- U~ U- U-EUU U -- E' -~- UU U -- U- UEU0O

SSC N~q~ @ISSC N09nSSSC N~qfl~'.- SC-~q~~t-SS0N~q0Sp-S%

Page 74: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

%7 7-.7 .7 . -7 i- 77 . 7

1*~ 11 6i . -

- a 0 0 LN~P 0 SN* . N

01 lo oa L. LS - 4 c I a O

CLE u i v I n - 4o S0 EL 0V Sl0g. U- C - Zi aLN C a C l 0- cC!U C- 10 4- a! a~ S..

54- 4 N N N XC ' R.- L

*l O fl. 4 It - aU a a u C506 0 14.. 0I04 C ~ m - I0s I ; l If I 1- q-Uo CO C, '0IS 4-

la "aO a Li 4.u 41- 1- 4- A 4 4- NCO CC0 - 6 -

N- ( 4- 0. Ii + +0 Ufo - 4 L3o -N% i. 4 . o -l 0'aC .N-

0 a c a a Ci Cii Cla 1Ifi L. (a 0 3#)4 M >4- Oa C L -44 . i a S C

04. 404 4- a =N SNN 0 S L in- 6 964 a S 5q..41.- a6 aN ESS 64 55mN 3 -6 SOL ai 4IV 63. N -S It -L 0444- LS 34- C4S . 4.6 C6 a ai 04 10 L 4 -

O~- -. L 6 6 6 C . UCL-aN E C IcI + c +I a. 4- -CU CC a N L.

1246S.1 al S CUC -- U. -0 w-%~u -CC - 0 i - -110 .0 -C -f3q

a 6 11. ! c 7;S4S a-5 0 c -- 06

C1e am5 L a-6 E L L a S A .0 aa *LS L. a0aCii~ ~~~~~ *CL 6 0.. N( C EL 0 .

00 N. a 6- In NC A -

a 4 1l0 M to N M N 0 0.NffN f0 CL 2COIU' - 4- L .0.0 4VON CI L C 3 0 % r. -N *LC I

a --- 4 4., 0-4 4. 4-4 0 -4 4- ' *2.4 A C044%. 4C44C-04C-CO- 0 OL C 9 (04 09

- 4- 6* +-S6O:U GIA E SS G-i~ 4-- a 60C -- ftn~9 n -V -4 0 N 4 N 4-4 0 40--

.0 0 a4- C .. 10of. - a~ W- . a . fO - C

6 . 0 3 A A 1 - 66.2 EV C(? L 2 A A4. 11 >I 10N- C i A +~ If >i N4C

N0 L% 045- I' A L CIf4- 1. A L. 04-S- 4 - eV . 1 V1 0 01 4.LLL n * 0+ *1* 4- 40 *0 3 M A A 40 4 L 146 .I~ ~ -U -C U 0- !CW - IfL'l a-i 6o IusEE

*: *3 92 *4 6 61v aV - 404Vv 04- i6- 4 It Nl 1. 0 L 0--* 0 cUL 1 o a -O qlll-

6 1 CL....................... - IIIiL .- .o L L = C-ev 0.-CS-aUCLOW=EWnUN.aW.0EC ;7;, L C 2 - C O-ECvo L0ICLi ~ o 4-U4 U0 4U CL -0 C4U U.0

UUUC6.CO6UUUC0.UC0.U000 M! 0.U a.O 0...C 1* loC 10-00. S U C 0.-6-u u uD--n-Y.-E-ji, eu .0ua-- 0U-00 uea uA - - -E

71

Page 75: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

If L

v 104.11 v 41.'

so Go 1 ;4. 44 4. 4

M3N - S N - 0 NS 3

61 -. 4... .4

04 z -r VO 40* 0 1216 ON (a40 4. -4. ;V III0 N 4.

6~~1 1. *1N. Ils6 ii

-C4 l 4.4 2 - U t4U 4- Ne 4*~~o L 1 4' L L0't 0

aI 111 N L.' 4s a4' a. a. GO0MM~~~ -WM 4. 0 a ii- i w os is

a g 4. f.4 01.0 4' -la a aa 0

em A.0 em . -4-4 40 L--maa a a N 4 em oem A *a 44.4. -44 0 6 %NO( 0 IV( C4. -( - VM - 0* 4- k" 4 0 0(4 0~oo 6L - V SN V VN H4 . N-g -

*0 -M 0 4. C0 46 w 4. C .*0 Ans Goi do I. vC m 50 'C 0o Cow1 +

CL a +e~ Co a a s a

* ~ ~ a - - 6.0**

Q+0.4 64.. w 1- CeN 4. 4 CO 4. L !. @4. 0+a-m *COW 4.~l: a. 11111114 10-ige 0 Lo

W 44 *:: 1 0 10.0 4' 410 L' C4' 60 V 0 0 C1 * -

i' j*jO~j*2~ li L - C s L- LO -

40n wn Cana S4L- 4. 414.1 4. 111aaaaa60 a CLa . aa64, CU -anJ.

NO.UU - *-N NO-U - -- 49*00:1mu-0 4 Cu-0f aa-N l

- ~ ~ ~ ~ ~~ A -r 44 ~ - - - - .. ---

Page 76: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

A0

CI 1..tcm I i > 0 U 160 46 V

*~~ 1. >40 a 6-al- to a 4 ON 4. U 0

O i C6 cl 6. 0 -. (a aU - C11 -o 2.1. vl 2 112 '

CLW I + +i N* a 0 OC - +a 14- II 'b q. .. Clu

4* 40. 4. all of1 0of$ a .L60 6

1. V~ 6 -6 a- a-1 c*. 1. 6.- . L0 A. L 0 g U 6

20 toc c c C+ 4.. u6 Es6 N 20 00 0 0 0o2 - if 01 61 61 6. 1. a6 0. CL 1.!

-:60 ca N~ 04Z0 0 C20 6 .

-0 L.- 6. 6 - a 1C -c

2 0 0 _.c ('4 .2 0w1 6 ' 4)

6 ~ ~~~~~ 0O' 6 616.. 6.. 6 6O - C 0 =0 L1.~~~~L c 61 66 66 n. 1 -6-C6 o

1311 0 r 8U0 CU 6 oU-CC -- ~4 0 4 4M0 wi C-~ 0 C a L

-- 6 c- 0 6 C 6 .10C6 OR. U0

0163a'4 bo -A V .1~ (2405 "A6U6 o 05 OnCv

I6 c CVO2v , o l 03 0 a2Na 0 4. 0001 0 0 0 00 0* ! o6 90 C 6 .

06 00 00 V0 CIO06 C 0 1

a 0. a00 a aAaaa6 a i aaaG aEa 6*-6 00 -6 U-C 0-11. -l V 4. aC UN11 q -q 4.

4:6at 0 2 o. 46 61. -3 -

*~ 01 a - .. -1 6 I . I

A I "l A C04 600 - C(6 A- 00 -UC3 --U- U A. it -+ 0 0 0. .1 (WI C C C,, 0 NCCC O-601110K A -co

A -G 5 66-C U0 0- 600 - -U 6 66 * .c

* 041 O-CS6660661it z6aL6U6N6 -6410.UaoC0OUCUa CSCl

CL0-Ii~- OCN Dl(rU .(4f a 100(O-V60rUC Nfl13-Ca010

* 73

Page 77: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

446

IsL 4 6 6 60 4'

V044. MO. U

N0O 40 0 0 *. C a.

t4 I. ,O 4.06

.0 01 a 0 I LU 044u4 a 4. 6 a C-

L C CC - .04'6. 040 0N 6 Ac 4 4 0 M a a ~ C ' 0

-. C6 0 U 13 0 0 10 0- 4' . a.0 0 ..U 6.4. L C .O 9ec a

00 0c - Ca CU L0 :;r4 @C0*~4 640 4. C 301 C. *.4

*~~~C U- )0 C 0 % UC- '6 0a 6 4. 0 0 C - - 0 . a .0L LCC C L + L 4- s0 - O3 .L0

0 0 r 6* a C 0 6 -*

ob. 6. u 0 a0 40 --. U ' U - a'.0' CL 0U 1U -4 0 - L. U- C 0

006. 106 : ;U-

.0 4'- - 2 4-U6 '0.

040 0 -0 6 u M 44' 6- 40 C9 66 j-+4O4 U.~' . 0 1 . CEO- C - (a 4

OC0C ~ ~ ~ P IV~ 4' 40*M- C ' 04. '

o0 0-U 0) a -6 Ac - 0 00 U C10 0 ClaSO 0 6 - 016 L40 0 - 0 0

1!U 4 L1 06 U U 11 110 11N 0 1 0 L.4'0 6 (7 4flLU04L4'lfl a0 -14 C4'a.0.g.0' +3LCf 0)

b. C ngc~ 06. 6. 11 L4.'6 4' - 0 CL C L O 404Ul.-- 5.- ,c6-- r- . 4- L - C14 -2-0 - 4

0 020 0 - 105A C 0 L 404 0:: GC L 4 N lcC

U0 U0 6U OO4'C C6 6-6 40U2-

-N.- 4-N4 N 40 -64' IG CRi-20' 6-o 14 60 . 0*'N4

4*-0~~~I *... 0I. - @ U C U it

I'm~( 6g. 1".0 loUgLL -D " , ,1;400 310000 40 to Po ' M4'1 06 1 P .N PNCO1 N N0 . P.0 - 2 1 P ".C4I.N.P"N I C P p .V.NP .F -%

>0 1O 6000000000.L400'6-O)6L .-~ A >L > >L)-L. S- 2 0 .'

* 6 6 6 L* LI )OUIIIIII C DU '4'74

Page 78: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

CL 0 .7 1 a . C C) 4

!6 0 29 - 4. 61C 0 1- a 2 ..

3I O a U 6 1 -w 1 00 C O > b 6 4 0 ItIt16U 6. - 60 - :. a .

1. 0 a .% CO .0 - '644.a- c. al a 4. 6 .40 aa-. 0. 24L.

4C 40 4. c C5 0 40C 01 -0 a 21 C4 a 60 L 1.0 0 1-L0. 460 C a4 - L 0 0 a6 1. 00U

0..2 400 6 L a 4.. a0 'a cst L 4. U c0- L. :A a 31. O 6 . -a- 0

C O L 6 4 0 a4 1 . a 01.0 6 0 a6 .6 1 C-0 . - 6 1 -. 4 6 6c a3 0 0,4.E 6 C6 a. V 0 a ) 62LC 3 c2

0410 - C - L. '4. 0 04 40 06 0 -C4.4 3 3 -n a U 4- .0 .0 . 1.4.L 0. L -A- p.1 U . I . OU. 6

CO 6. C-0 6 0 )£ -U .C, -- 0 6U a 2. -. 0 a0 3. . . 0

4. L .ft 0 .0 2 -6 4 U c.

-0 L. r. .0 aO a0 13a 0 00M

0 . a 2.. If. a £U *0. 00 . 6

U 0 4N 0 - 6V)F - -c F C - 0 06 .0ft -

at4 1.0 US . 4 669 41 CM,4. -- 0 C .. 4-~~ 06- 2; 0' 0 6.0 - Cc

4.3 6'0 *0 U 00 O O 63U31 C

66f v 2 -C - %.~ a-U 64. 0 1

~~5 g*0o 0 06 a.U 66 icO aO 6 1

06 0 ofa. 16 0 )".4 *.. 0 4. 2aCO a60 C 4. 4 a6 t 04. a - 3CD

6 0 0i : . 21 13 0,& 1.- 4.4 U2 04. M0 C0 0 IA -0.6 0 Q a. 0 3- 0 UO

+ S 0 -D- a.60 .0-U a 0 C- -1ig 0. . -U.- 0 4. .. aUa6- 0 0 .6 -10 AO* 4 0 I D C0 U 3 0 0 -O - -4w U 6 0 0 - Up

0 0 6l 0 31 .0 00. a 1..U 00 O.L. A. - 06 0 z.0.00. 00 -6. a A 5 0 4. cI C

aN. 6 A. r1 0 4 .C 04~ 64. 4 .0 -0 w =a

>U40 A IL )- a. t- - I0 A6 a .a64 6 4 40 4 !6 4.4 *A UU .0 4..4CU K. 6 4'U

4.6 Ull -0 X1310--26 4.. 0 .Q. 0 K 04. 0 c 0)-a 66 CL1.6 4 04- 1.) -5 Nfl V 0. A6.106g. 0 6 .00- 06. 661a.

4 -*00 .; - 4.U. D4-U 4UC - U -4.0 -U64 00 UV 40 (a-11 1;2 U a A a6616 U 66

10O 0i -l O-U Uu UU uU CUUU III A* C UL1CUUUASe aIa a assl og 0 100 Uo aUOV

.013..*.-. ....

Page 79: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

t -. -

04 .4

40 040

t. 4. >-

L.4. ;0 0 1 A. 4-Cc 40 4-4 40. 4- 0 4 04

0~~ 4.- ..)

U ) U U c

4 4. 4. 06 6 u IU ra A I Oc '. 1& a- A 4,6 a (11. 4.

- * 60-6 . 0. .. 04 a ag

a 0.0. D.4 4. E > C C

0so L. ce 4. L. CL N 6

a's Oc 4.-0 + ) w.A

- 44- Cr q o 0 4 C; 4. 4. 064 C . 96. U U >

0 1 -( ae *0...0 a. 0 a 4 m 4

*."As as a L ... 46 44 4 4 *

a AU v -U. ve v #- - ~ ..

U~~~~I 6 00 04 6A4U- OU )

- 1 LC I- UM U L. 1 -0. -C I CC-. A. a. 604* 1Q0 4c C-V

6 A L 4.4 04

4-61 t s.06 4-44 -40 1-OC *66 4

4. 44 -*% Co N X- aa 41. C 0A 0 C

US 4. '0 a@44 pp44.- 4.4. 4. 4.4a 4a 4.4

C x4 611 9 9 9 0 ( OC 4 - 00 . -- 00) -I -v 4 u 610C 04 --r o -0 aCL CL-3. c - aQ.ScC. 4.C

4.-4 4.84 4. O . 4 0

*- 048 u..6 a 4.66 u u161 11 ug A' a C40U In 006 P. 0 4 P-

A ~ o o §C4 N4@ 4 .04. 40'(O

N~~ >84 > 488.8 ~ U.

C~7 04%!CQ U . .) U A .

Page 80: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

6r

A L CL . ;'0u-a u g a A C

4.3 4' CL

aU 0 C a43 4dugo 0 A. Cw-'Q 6 C.4. . 4. 7. 1

C 40 4'6 6 6c:c.CC.0 ~ 0. c N 0 0 0

L.(aNo00 4.0 W 0 0- L4 66 I MQ ).~4. AU CL L L V6 0.010c 60 4S. N4 "; 6 , !' * -

aU 4 0)4'0 4'~6 4. u 0) C. 1of CU0f :O... I A 6a - a -01 C

'a .* .0 0 4' *U L6 s a 01 t4.

I ai 6o CS L fl.U A 6 6L 4. 0 - u -0

*I -- 4.3 IS~ n- -at a a. a~ L mI, q. d X1- 0 4.4.'. C6 a. C -W. 6 44

C;, 4. 15 -6 0& 944 9 -UUO V we A CL 4. L.

O; 4. 0 4. IJ 0 U 3 6 4'0 ;. 3 Il 0 @

cn 0 a to- 7'' 6i go* Cc 6.0 aa

* 4 41 -a *6C4. a u Z SOUL 0 *0 L' C 6 6 MP) 6e 04. 0C cO - cS 49 > 66 V) * -4. 0. 6N

- U OE 3 -04 0C4 40 4d. *. 66* 6 -~ 6 63 (so 60. a*8 6. 1

C 00 I8..'6 864. C 0C CL .4d a L@40

0 * 0(-0 -1-0 4C u 6 6 0 CS +. 4u 0)-ML *CC6 0-a 4. 4 4. 0 L~ -0-. 44

4d. OE. .0 060 am 4. 4 0.dOS CL In 6.c a . a CI ::, a o1

*6 1 3 0 & 0C -- - 04 4 20 U 66 C - c 00 L.4L.-.) A - U C- !-00- C M 4L & A . L(04dL

0.0 V SUO A A : : 11 -C 6 C 6 306 a 646. *. 0 0 alE6 4 . 0 U u C 4UU44'E u 4d. a 4d . 6 4 d40 413CI 0 4 0 3 Os U. A w 04 L I,- V a 0 CL I 40 4 L AA

4. 64'6 4.~~~4 .4MU - 4. V) f~6 LC 4.4 06.. 4.' . 6'444' 4'U3 4' 4. "C 4 4'N4 U 6 3 .U..0 4 6 4 4.4.366

-C 11 ; i t.'U .V : p.0 66a I.I 6. .. I"3 0441-C ; .0- l'63--40- C 6 04v -C 6 C-*0z~.-C-

OU .O MUL06 -- -i MUL .6 U. . -- LMU -f0 L Ce c 4~I1 .~ A;h u I CL -06 4 C . C0C 0 0 U U

*QQ Q~r-sM~r.'-sr66 m6601 660 0065055

(JA @CO0@ 0 0 OCOUUOOCoOU oOa eOO OCuo COCu eO0ew

-'.4 77

%4

Page 81: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

N 0

a L aao

-0 I. 0 Q

aU .cc0 t 6 0

a 1001 0 , ,.. l.% c . L06C C40 -

UU - L 4 N 16 9 L 0 -320C0C 0L S O 0 L 0c ~ a a- NC U N

aI a 6 0 N~tJ O go CN 0 . 400-a a c u- On g ; : 66 Ow' CX &J C-a'

OL N LL Q CL C 40L LL. ACL4 CL 00. Cof) 0- 4

OS. t 0 N '. q. c M ~ N

N N -U -U~ ' a L - -@ L - .-* 9%V4V 4t

(.50 4'4 40.040 aL 06- LLU00 oo 0 60 qUE 4IV V LV' LV UI 0 0 336-NG6 U.0. UC MC 41UU- 0

N4a L. 0 o U 000 U~ 04.O M.W ccL 4.- * U U 4

L ~~~ 4' OL U * CUfto 06- 40 N- do 6C EAUUU * U C a aC0 a. .I a Uaa

N N 0X C

i a-;0 (CaE I's 90 90 0. L 0C. .Iis. 40 A L. a : 4 1 0 0 a0

+4' P. a 0C - - - -N ---------- O0on +NN

0 ON 1.Ua ow t

-- -0 -N LU U 4' 4'aM' M M MM 0 M M M

v , CUCIO1 4:.0vvVVV VCVV a 12 0 LC 933 9. 99 9 6 99 9 - r% U 9 L .-C03- 0L - O 1166 a 4% -- - -

V4 VL q~ in N 0 0

-eq.o 04' 4'~cm MM0LU no Vv 0 mom

-~~ >064 >. >- 3- NV - U U 0 6 0 0

63 * M63 4' 0 478

Page 82: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

c~ lac a

a I CL CL6a. c a I- 0 0

a - U (3 0a S L -a c 1. a 0

CU 0 o la 4' a C a40 U, U c u

-E a c . - 4 c N N4 0 0a- CL . a' a -0 a * 0 aI

.0 .it - .0 SC la 6 > C W 4

W. 6 C 60 L Cd 0 CS. -e06 j 0 a. A 1L c .L

M4' 6. 64 -4 4' C . % UM4'D U0 -U-1 0 eclj 101 OaCi 4. 4 C Ci. a 1 l 0 ' .0 -Ma 0 L6 S. . C - 1UNL

40 0- -' - -0 0 -o a L20O"00 C -I c 600a" 4.U s 49-% 0 MS U--- 00 - ' 4' N0 - 00 4 - S CL M0 a

-. 6 . at ------------------ ----- 06D t 041 a. 14.- '.(NN a'. 04' 4.'O 4'0 4 0-0. .4 L c - S L. S b 4' 0 6 f-4 0 0 64 CO -- N4 I- a L( 0

S. iS 0 0 0 LOLL 6 NA f N.6 6 0 C 0U 0.00 0 4* 60

-WC4 4'L-6 '0 6 6 CO. L p U . 6430U 4. LL0LOL 0a5.; -. I- L5 V 5 . 0. L U 0 C 0 L C S00 0 SI- 4. MI

4A 40 40 (04 0 & 40 40 # *04d 4 0 4& 60 NO4 -08 0''' 4.I N

12 to 944' a (0 6. 6. *) ' ' 4' ' L.0 0L 6 d- 0 0 40 + Uc +U + + 6+

90 a 0 9 9 09 9 9 a0V99.+ 0 103 .0.0.00 0000 .0 0 40 #A900we.

-6 u o ICL qD .-peq0 c -a 'A ~ c Isis 44r CW-e r-qUeqa ir -C C- C uq.-

(0 -L 60 *.v CLC6L 0SOOSNO 0:%30 NoVmt 02;w-000N 00or

Mow meo- 0 00000 0000- 000 U 01+6 0 *-6.C6~00000000

-> > > 0 > >> >>

0-w ** *0 . .9

Page 83: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

-116u-c

6.2 0 4.4.06 0. c0 0. L. -c-U0C 0- aC * 0 'a Ca'.-

4- 6 4- a 6t 4.. N I . . 6.L.. a . Lu a 0- 6. L.

2~ c c 1% 0 2 C x6 t. i2 6U 'L. 3 ua4. 6N4. C U . 6N4. C U 6. I. UC OC 0 6- C

-c 3E 4..6 00N .. 0 0 1. a.6 *0 UN 61 66ceel N @ C6 111 . 06 3 c 0 %. -L1. a6 6- - V

a 0.66.c o C0 C I.@66. C Ga L 60. 6 60 0 . 4. 0C66. ' *-C R. 6060 0 4 L 6 t-6 -O .0 t 0 C 16.- N 4a4 N

40 0 -C60N'.6. *46 -0. Z4. 4NOIU U00.06q..4. a . e 4 4. A 6 4 0 C 66 40 4 . 6 * .0 tw c WdoC I a4

6 4.. -C C 4.64 6- -C 4.64 Gtl' 6U * -6SC 0 U 64-l- 1066.- -6 C c Cc d 3a4 aq 00

WOCS~12 1CCU a 6C C 0 00160 o* 0 0 10 6 0 -6.-0 -.. 3. - 0.0E 6. 6.6 6 6 c. Z. U ~ cl S4. In6s

C4. ~ ~ ~ s - U O6.-~ U.36. C- aC E 6 .6 0 006. 6L 6 046L- . 04.. 66 1- .. 666.6 6 - 0~ L . -

6L 3 c u U40 - U 61 0. L a 6U.LC C 06's06. Cu 04 L

IS a A0 a a i..%. 2 26 *C4.444.M4 4M404 44444f-44-4-44CL 4L0a

N.6 6 0 6a a

4. 4. 4. 64. ... 6 .* 6 C* Ofa UN MO 0 4.4.4.4.I **!.cl

4. 4. 4. 4. a. IN 4. 4 4 00NO0 4. -:

60 w r a V V 4. a M*0 060~C C0 0 U6 . 4

4-4 6. aC* f('N 4. C

CrC C 0 06 4.4 - O2' U0 1 ' .'- ' - 06 C.Or_ C Cl0+II >; A A 2. a.H )

N' 0 0 0 A A A 6. -. N 0' 0- 6. -64.- N + + 0 CS - CD 4. A. 4. 4.I N. C L 14000 Q t C E +- 0 C 6 + +u*S..4

- ; U ; 0.-- 0.C + + 1* L 1 0, ". a. 6.4 4. 6ItV"!0 0 ; ,00.1,..

. It .- t. - I v V -V N6 0U! '- *,C kIn-.LN6f- .I4 4 GO UNU& -ZW6QN UNUC -CW ' -46- 6 a L- C --- 0 4+ *V6 0C-

c 4.61 2 -6C 0U 6-4

* N U 4. N ofN011 N U4 0 U C.-6 1 N n-o

80

Page 84: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

L 4

CC

A itU0.0 4.4 0 .aInC aU.a-- 4.

A* V0 044w CL S CL 4 .

CU 1. 0- @43 CM

Is a 0

~~SM~1 4.19C 0IUS 00 : 01 C 0MUC 46- ! . 0- - C

C.. 4. :: v. S-M MUC L- 4-0 .4' 4-C S at L r.4 4 6-C O 0 C S CCOLO

It! . 4 Z dMo.4' C oa A log ~ 0 . . aQ 4'C 0.M al4C .

a C 4 0M L G Q 40M U aC0 1C4.4 0-4U L 4.MU 4. , r - * a A M 0 Q . )t 0 4.UUML C @ 4 L -

U- ~ 0 4 CC4. 00 U0 XO~ X~ ~- 4C- LCC- ~ ~ 1 4 M ' -0 CE a0~ MM -uM MM S 0.0

*0 ~ ~ L C 002 ). 20~ a ~ 0!!O !44.4 4. fInf Q.~ *1SY SO. > SC C4d 0.0

*,* (a 00

'I.C 4. 0 4. v LOA nMa1;0 L0 04- UL Q.I a. a'- 0.uflf .0O O60n.n

1U- 1 04. F0 0 -SC

M M '0. 5 0. 10 .. CU N 'M4'

M(W ~ 0 0 Q 04 0 ' S- v'MM M 0 MM' f4MM M M

CN NC- -0 M CNt M-

> 4. MW .- W404- A0 N d4) 4.C0. E.

!! -We -- *0@ 4-O* 4- 9 Na00w 4 0; 0 4

C1 *- .0 sMoU

0N O OC~ Ii I. C. NA

a.0 L 1M .6 aI FeMII 4.4-EVEEU- -C C SSCC4 -f (0E 4' C V~M 0. N. -M'.E . N U-V M 7jj CC

0M C 4 1 0 C 4 V I 060 *V4 4L L .44 L-6 . VAV .A -0 X

40C A 4C 6 COC0 L - - 9 M 040 00 L LO'~C 0 C-03C 4'' X U 4.U U' X M0 40 4 ttOa 44 - NO Q N

S 4 S4- UI U4-)U - S S 4I 0 0 0 C.- 6 - -U0*4U ' CUSV a C a C0 Q- C U 0 L 00 CL- C * wCII 0@ 600 CU 504 4.4 4.)~ a.1.0.0 C to4

fl f 4 S U~ l 0 C U f O O U U f U U - 444, U L 4. 4 £ UvN0 Il4S0N0~~%~~ 0 gqrS0N' f@-0-NOI*-S-(*6@6S0 p~' 041 4--;I' QS (0 9S 00Sal00 O0 0 0000

0000 000 000 0 goes,0 000 a00a 00a00'-------------------------

'a L V 0 - 100 1 CL L L81-

a-. - -uav0u0O c4fi*au --- "0L% 4

44 0V 1 (aN 00 C; N V 0 0 00 MV 0W f 0 M0 MV I 0 - 0 143N MV 1 m N40 P 0- 4

-SwPaocom( mw N.-rNP-c.o coo 005 CC**** 0. .'*OC C-~.:'::-.. 0.K..... cgo C- ac CC C Coco c). C. Coco:** **

--------------------------------------> ~~~~ >4 > >> >

Page 85: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

CC

CL o- 0

*u 4'10-6 4' 4.

6 C - sl 00. v.. 6 - 0

0 C t c

-~~ ~ -a a:Z 066 L 4. a u v a

O's0 C . 0a..' is >' 8 0 a 4'

00 %.; r : 4. - a.;U66 3C 0 40 4 O

664 C- u -0

-06- CNoC4

46~~~~~ ~ ~ ~ ~ ~ 4- 60 *04 .4 .4 .4 4 0* f4,4 00 .w0 v ot "0

0+ 0 c 4

r* 6 T 03aa - I.. 0 6jA A Aq9~ q q p q g q~ e~ - 6 e u - - . q -- a 604' t

I ;. 6 + O C 4 ' 6

P. 6 6 U CL-I C A ' 0 L0 . u - - I.' .

6 6- 6-.'0 ;001!: 0.ue

44 t4 44 44 r4 r4'0 4- rdJ4c 0 0 g

- -------- - - -- -44 -44

82

Page 86: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

.0A:

- 6

V a ". "..

* L C •0 0.

6a • -0 C c t c • -oz 4,,* u x . - - ca -I .U IL N 40 C 0 L CC C 4 0 6. - € L.

N 5 4. , C c 4" €_ $ I O O L I N % M.,*L1.

0 4 4. 0 C IC C 0 0;IP l. 4 6M,4

a .- 0 a 0 C L C, .

• 4. UU€ I 'OO r- . alu i (J* *4 .0 '0 .p ,".

it , c c 3- c-- 10 so Go 0 0 L.- 0a"% 0 L of. .oo --. 0 a 0- 0 c a - 4.4. 30 4'

. aC L- 0.- > a 00 * q. 0O C 1-OC 0 0 >- b A- CL " a N 4C O-OU 0 u 40 O6 314 3]- . L.6 -N N

4. OC~.0 66 XC 4.CL LC - 45 4

- A2 I O.) .. *U C .! C 6 0 - q c a L a"C C" O 4. -* )0,.cC.C6II . 6 •.0 .• lL., LN.,*~ ~~~~ -)6 CC 0a 0a a3 .00 C C 6 6

C 3 6 4 O UaU4,, 0 0 1) a Oa a.6 •.II a. .46. *1 C4O 00-' -') - - -. - -UV) 6(4.t Ct4U

""S N U. 4. *6 . m *M M-E666C "6C *CC 1C "U -" N- 6 600 6 A f* 4. 0 0 0 1 - ~.6 5 S - S a ) 4 . l 0 S v4.4.

* .4 .-C C O4 0. 9M - 4 6 6 6 -4•34X €-: 616 "+

C € -O . C- 4- N N a3 Ow .wn N..-...'... 04-30C - - 0 . .. - .

N N 4. b. 0 6 a *u 0.0 6 64 .0, L4 .•0 i04. 2- U V W V a . a V i IV V V 0 r . %

U 0 M C .-L - U 6 i e*4. . 0 +0+

m3 :',: !a" * L

+ C. -0 4. + a0 2( a(eta 'V

16 _ ,O0 6 0056XM .0 .0 a a a 6 1 a a6 a a a a I aa a It a a a- 0 -k 0 CO) - 4. .X .)h-

~I ~ NNI C NNC~ .. 4W44 u4.a0, I

a..3 19 a L 4. 40 NC - 0a; 6 0( -w('2 0A O

41 0 3- L 4 a0 4 -S 6 N- c- *a 4.4 4.U4 1. 3,c 6 4qP4 U=64 - . 4 4444444......0U C (0CL Q .04.0 0 CL a c , vZAl4aa.66W uli r...

4- !! - 6 LI - 6 L. -450 56 040,

----- --- 4.4.--- -------- ---------------------------- 4IN--~~~L~ >0 > >. >.O . >L > > . ... .. .. ..

EQ 4.C 4. 565 E64- 606 *+ AA A 83.

* m I 3 . 0. 60.Z*A NN -

Page 87: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

4..0 6

4.

o UCt CL

u 0 # 4. o 1040 4. 4. - C

4. 0. - 4. 0

13 4 4*a -0 a 6 0 0

60 C 4 Le 13 N 4 1 4coC C a- 0 a aea e e. :. . 04 N N 0 0.

-6 los 0 0 a' 660. -a -N l4. a 0 A 4. 0. 1. . 0 0 . .

41 0 , 6 - i d.AL 6 IN 0 0 0 U4'MC jO 464 0 4o* .

a 0 > 40 44 C 4 NG I 0 0 . 54.4 U660 .- G 4 C Co. 6 64 -O 4- At 4- at

CO 3 4. C 4n6'0- . - 4'. - * L * 20 C . a 5 4' CL U r 4' 4 L 4. 4urn 49 0 - * O.W n q A 4 .

C1 0) C4 0 C- V-4. -6 -' - -S . * U . 0 .

04. W 0 0 W. 04 06 4.0'" -W 4A L 0 A4*60 0 W 0 CLO* U' Go 6 0 @IV 4. Vc .I f VvP

5-~ ~~~ -e E- E arn 6 a4. o6 a a~eeg. aO0NO a

W. 0 N4 10 In06. In 4.'4 0 8 a U S @' 6' 5 4 S A M N4 0 0 a*caM a. aco at s ,.A.-4.aL 004 6.ML 4.Zl*W 4. to to 0 w

x6xa6C 0c *L... 0 *664 UM0 60t 64.5. UO Itn I n nCL4 CL J9M44 M4.0 0 16 -13)6 L C-M-M41.t4.4 LI. L C L C

&V.4 @6.- 0.- 0 I * . MM a .U 0.0 a a. 0K .04 .0-0 . -804 6 -4. -2O -"4. O4 1 @UU- M " U U-

4.004. ~ ~ ~ nI UOcc a9-0..4403

Ann~~~~w wnenn nnnannn ~ na-------------------------------------------)on~ >n >n >n > >n >n >n>

Page 88: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

LL

a 0

0a U -C 0. 0. c@ all U

a o c a zc C cc c cNOL 6x4 2 4.0 N L. 10 1. 10 .0 c4

0 *- CU 40 4- L. 0 0- 040 r0 60 u

00ca a 3l -

-. -. 2 -

0001.L -Cow L a 6 J9 4-

4..1 "Cgo N- .OL gMNo.0 LI 6. U

*i eM . 4C0 0 *-W • 6A4. 4O-O *l4 .4 4'i: $ * MflC44. 4. : gO *M CM M -"u - • - -

* U. ,. Co c .6. a.O NC 404. 6 4 6a a 40 , U4

-i-c *a-;e-- cleg.- -eeoc.- so. -*I-sO. c o Lo .," -O a *- 6 vto*- a€1 C 1 c is c €c gc l 'a a€ € € c oil )lt co C0 W.O - U v• gL 6-0 O ! ,.@O t . 46 , I. V)w . ob

Z.- e.0t O. O. C • I ! ., - 4. . C -- * *4 XC4. 4 *- C Ex 64-- 4, .X )@)@): • - o@ -cCM€ € .- lgl .*C-q* ua u* ee 4 .'4. u c. us mc a0. ,--.

0C-g m I4. S .,- U - .- S go *, U ,- 0-,"0-,S M *. U. -,,. . *' A -.4,.4. Ac~ cc IwoCa U ac 464 a4.. A . .

Ll UC a i a 1 0 a 0•. 4, c C - - -

OC4. v •U VCL- augU40a

.0 a to U a C2 1.1 00 • 0 05 *0C 4oannQnnnnnDan~a~ao . 0D A U*. 0 68.

- -- * C a (06(04.0 C OL. C

OT Q. o . N V) U 0 0 N V6

a - 40 "', *0 c -c-7 4

6 -A) c- - L. a4. 4. 4. 4. 4 4. 4.-4. 4. 4. - - - *" 0fl A s . " o ,**A A4.NM4..a4.a ,a4.- ,-4.a4. Ma4-4..M- -- 4. U-- S ."n4 • . .,-l i

0. - 1 V -*0 o- o. N

r a a NUU 4... 40I 444

a C 0 0o>2raet -

AA L -r -N (-O0 - - -- N )- - - 4A A L 40 A. . -4 0 ZO.,* 104.. ONI, 1..- (.'4

q )C +r + C1 1. -- i l ,. r , .-W 40l 4- 3C u 0 31 u q m m o l m•

0- a0 0 w C+ - a a g a A one - 4. A9 01 2A

(0 *A 4. a v aO 00 v* .. _ - I I V V * V 1. - .. L. -

w C4lO uso U AO C 0 04U MUA -. C -4- 6 0.CL-C -NM a %C- c

a00.c a 0

85

?'o .

~ *'.?. . .. *,-', . . - *S.-***.*.* **' " S.' N

Page 89: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

C.-

c c;

u.C a a c

*. L. C

3 0.a c0LsL k 40 0 LU

O~C -; N. S *I

. SC C 0 0. CO 1 4 6a "

a6 aN 04 Cu 4. L 0 c L 03 6L 0-1 -- 40 CIO 64.

LC~~~ *0 L . II6. '0 0 60 *0 0* le *~ ,c 1 4.

4; CL 4 - 4-. C 4 C . CI(-) -CL 6 0-

U U - 0A4.. C C N- 45 06O . .6 -w .0 -CV 6. 4 . -0 n a !) a UO.L CC4 O . p

co 4 L VCt. 0 V 4 A C0 L t . 4.L

o) 1L .2 t" c N. .4 9a) - 4.0 4. a. xC LL C. 4L)C a 'Le CN '4. L. U 60 . M M L A

01 0* CL 0C4 C)x 4 1 ,acvcCA Al c -06 V CU .r 0 6 LL U 04d o0.O

'M 6. as 0 1M -* :.- 0L~ aN 0 . g N- 40 ) a xN 60 C aU

4NN 0 ) C 9);. 0 0 L. - n c S E L M0 EO S 0G 0- 0)S .0 N- >- 4.E* 0. 4, M66 U'U 0 . *U 4 0 .E N 0.LE-0i Z v~ -U 0 cL -C Is4 .06 C a ao a C- 00 cc. 46 *0. Ld NM. *. I

.94. cC C) 6l C ) 'S C I NT -! 4

04aM LL 10) . 4 . aL C S S 44

L. *U 4 1 193 0 L - cmU5 MU C *~s~I-C .- 0.4. .00 0-.. -0 5. bL -..

040 -c -.a L- 4L 2 A CM 4- A

6~~~~~~~ CA M L L. S O .66.>. 14 MUM Q.U1 LGo N

0 LM. . U L 0 4.04.6 13. 0L 0 L x0 V V L -

4.a40 aa a ' 0 06 .M" CL 0 oeU6.. -.... 0 -a-Lc_6 .............6Z v 4' LC0 ax lU 662 6 .- LI V A66 E 6 0 - - -. 66* C0.- 6 C 0 na Ce L- C 1101 6 C0.Lq2.4 4C,~ '00 U .U U

U-. E 0. U-M US U)ISu s'u u u mIS 006 U 1 CU *CU .2 aCUL Lm al@CaC@01UEU3%U0.aE

C*liu un -0 *au-e~unv Cuuuuuuua a----~-

86

Page 90: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

t

so 44 4 60

a c a a-c

00 4. ** 40 ** 4.

a 1. W - w4. 0 c. v .es4a 4. N' 4. 0 1 A0 MC1

mc 13 c a c 143 0 in c a L.Nmc4a 3 ~ 0 3~ 0 .

4. 64 m v 4' 64 0'0 %( = ' 004.NC0 6 4' *14.-CL -i -o V 060 so L-a a 0 -ee C -a

#- 4 0 L -C-6-0 40. - C - @4. - 46-VL. -a6 No % No c l ).aNNa6 4. a DI a6 )k 001 *k )k0 04 0 3 a)

g64.36U 4. @ 0.0 42~ U 4 0 C - 4 .6 L. C '*~06 *f4. 34 6- 4d 2- 0. S - 4- !f4. 00 - .

-. ' *N4 'q OE-.4. . " 6Na L 010)6 0Ea 4' *6 .N', so m644 r k 10 6's-Nm4.0 t 4q os os 4.- c ae e 44 3 .4 q - s g A. .Y6. a 4C~ - 4 wow .C z3 4.0 -4. . Cc- . 44. 40 W4-0CLf- - 40

Ic 4.6566 4. 1. E.4 : tz O V06C 6L N0 '

t6L4.-4L06 4f~ 66 L 640 C0

0 4d 0- fiN N# - 0 4 i. -0 4 N N& 4- N0 N 4. flCf - fW 4 0 4 0 40 4. -- fiN

N N N

10 04 U NW + 0 3 NXU x U U0 N1 U

.. , v v CLa .m C .0 .0 C *

U - - . - - .- - .- - -

6C C - C 6 6C C C- m~e C - - .OO 87

4.~~N Am 4 N4

Page 91: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

a c

0 0 a 0 0a- 14 N. CL C

-W c 0 C

4. 0 4. 0c 4 4. CL6

0 4. c 4. 6 0 1 0 aV - - 0 4. a. I 31 40.

~a :11 4. 0 . .N. N 0. .- 0

0 .I I C* SO 6 5 - 0a C a 4.

4. 0 1.N -O 0 '1. C 14 0 v ~ a a le "0l.. . c 0 00.!0 -. IE 0 %Q 0a 00 C C0 -~ -0

- @ 00 *- - 00006- 0 6 54 4 a- 4a .- 4 0 *1 406 c a a.A0-

* k0 4 06 4.m ) s)h) 40 0 6 a 4. 34NaoaEt 4. C4.# sN0 4. 40-4 10 0 OaNa o 014. 00 NC 4. Va C as4. I U

l o* 4 .' 4 . 0 4 .2- 3 Fj 0. 6 6 L U -0 S 0 0 S

* 0 c A4.C 60 40 60 1.6 ) 6 9 0 . 4. 4 4 4 4 6041.~ 4-4 *0.N.g- 6-4 *-4. I- 41 u 64 )4, N4,064 N00a066 4.i4 00 a E 40. 0 l. 0060 4 0 U0 0 c cN04N404'l

44 *1 4 6- 0046%4. Ca- U- -4.. 44. ! 420 N -a CU S fl4am

04. 0 4..0.4g.

selAss.' ifn na a a a a aa n nof nn n n n n n n n as aa

Nf + .0 . + (a4 tot-*i . ( p

Z - c -I -- + .

01 1 0 N0 0V 0 +l. * 160 1, 1, :0 40MV OII .,4 a4 1 0 P. +, U 'U M 00 6666 Iwo.

'o UwNn, N N" V N pfN t-

88

% *

% 4*

Page 92: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

4 .0I 1 13

C LU

C 0 5~ A .

s . a U 0. A

3a Goo a0 0L eo 0 v6 4U U .0 U

4.N .. 4-. N 0c U4 IO 0U aUU- ii- .4. V 46 U

-6 ; 0 4.L M 10 UC1 CC .N 54:S0..5-* U j 6- v 2.4 C- £0 0 63-

2411. 0 4. 0 0 E g .'a 6 D - 1C 4. v CL.40 4. CL o 0K 39 CO 3 6 . UO iSt U L 0 C

00.. KC 000 U L3 X- a a 4 go- U 01.a a mi.61. C £~ ~. 0 1.C a. 4. 0

0 *0 3Ua5 -0 a503 a 0K 0a 4. 0U U 03a04.N06 - CL 04.5 0 1 a30 aU 11 100 1. 1* 603 a . UI 4-lo 4.41U 5 4 - C S 0QC~ 1k . So * 40 6 tofl Ua uU 4.044. 4. S4.fl0.4. 4. 6 4 0 W U 4...4C4 . -U -4 U 40 C LCC 4. SO -C 4.4 U 40 4. UU- -0C S a 4. 0

CCLS 0 0CC US 0 6- - M!.6.0. a- 4. 4.0.0.5 1. IX 0.. L. 201.C 6 to1. CK1 40 U CUC4 C 4U N

00 0J. L aI * K 6 4. C 4-6 is I 6 6) *SCS U 40..0 4

u U ali- - 0 0 a d 0.-- -0- U6- 14 .- 60 uZ~~ ~ ~ 0 00 dC.- ,MCU09 L C

U40-CL-- a a is cam o 0 £-0 .01 C a -

NN0N .0. W 0 *.4. U:02- a 0 a.

4. 4. 4. 4. 4. 4. W. COL-6. L.- G-UCL M 0 a mV.4-...4O.. 40 00 e 00 054. 4d 4. c. .. 16 00 .0 a , N*a t "

*NN~iW I I CCS -006 U aA IA q *0~113 U, 4.

NM - --- - - - - 666s 34.l4 1100U0~a " 0 )-- 0 a a V,

CA £) 0'- A A A 1 * C 14.U . .0.+ 4 -- 4. 4. 4. so*6 0 a 0U1-KP A 40

*~BI £ @ * £I.- U U R04.all. 6£ *6tC-S~ 401U a- 00 U0 U U IC.0U 4U. c

- 50 . 1. 1. 4. ! 5134 . 1 U a 004*-C -l a-. 640 - 1.. - V0 V VVK 1~ U £ 0 4 £ 0

4K 40 ;CU 6-0-UUK3 1UU UK KU K U UI II-U U

CL 00 K-06 L3 %C 0.K0.0.la3-. U U-KU V - SU C * 0 00so 00 0U1C a 0 .UCL* .1411AL-S iUS.. .. 6.- 6--. S U UU U U. U~Uaq

U XC)2 uuuuuU

F%, % 0qw 0v 00 r-a C1"'f lo" lac, " -

89

Page 93: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

C a.

4 0 a

d C 1..

U 0 U

o1 u0 C

CLL. *I : .- O C- M 0 U 3

MU 0C C 0

I CU 01 60 0 0L 26 LC4O0. 4

U MM C U Clei 0 0 00

M Caf CL CL .N )N44 M SC Clici -T!* aM d UI.U 4.0 U L6so0 M 6o 0 + . C 4. V

a- (a U0 -. -- - - -04. + + C C. 4 C 0

AO A MO UM L0 4 4. M1 MM0 4.0. 4. 11 U

if it. a .. V 0 x- U U0 3 A1

U- CC C-U C- C CCg A01 d.r. X5 0 U K .r. 0s 4. M1n 11O-x 0N%.r 0 U 0 + 10 1

0 1 0 . C) U a+.0 MM C C0s 0 MLC +.0 C4. -

C AAaAa4 U U4 Z 0-U M UO a 4U 4 31*LI 0. is. C%0 %. 2 0 Nss I CNv'.44 .0-a '

C01 13 U-C C00 C bC4 C a-10 UC 0 9 0 6L

-0-4v0vU. -** ** U .In In *. In in n nMo f

+niiiiie atiiiiiii U- 1001 Unna o %n U- C in Mi -ni

.0..00.0~ a- 0 ~ 0 00 * 90

Page 94: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

c~ 40

40

0 0 -66 4.c 4. . 4. 4 3 aE C

4. U *900 0 20 a C4 . 5 V~40 c .- @n L 4. 6406 - e n34 I a J, eM 0 4. U 4. toM~~4 a a a 0 @5OO 0. 61

U *U 2 a- a3 6-b- 4.0C M ('-& r. -) cc~. 40 -c2~l - .

4.4 CC 406 -6 C N0 60. C U

3a * OMC4 I6. *.)V 4M

SI. 0 40Q -C a1.0v g- C -6O C 60 cia a. 0 c 4

40 0 U C UC C aUUC a. a 0 C N 2. a9 a a4 4 0. + .4& -5 * 0 .66 06 J ) Co C

1.0an *I*eq Acu- a c, IL40. 4NO aNL0a Sig.f *UC . f 0 40 we

* ~ 2 ( 10 itU C' 6.. N - u.0£ M4.4. 4. V:l 0 aI 0)C £6 III C; M

Q- 0M M aM Ing 0 1-) - f£ . M a4. qfV 6

C C% N 0 S - a.2 c a60 a6.40 -a :6 0 40 le 60 05 MU 40 0a f. a. Se:eI n 4U0 M.~n -. 21a --

a6 4. 0,6 @4 ~o o*30-X so Cm 24 2£ U of~I I--*~6, *C U* AA -to ..6 -64 06 4. L)s 2 * s - - II-.66 +A L' C -- +.1 0. a~0s.

COL. I COI .4-h .. S 6.. L . c 2 14.- 9 Cg 4.M as 4 C4 14 0E 4.4.E A .~ C 6610C.CIO 0 AMC 6-@ 0@* Q..06- v- L L Cp4. A 10 C ),-V 5 10.4. 3 1 >- so U4 0A 16.. a 1

C,. *U~..C V l L 0*VL S - -a 4 0 c f-LS.* 2 LS

U is 1~ 06 aUM' - M U 0 eUa oSi. .0 60.IS5~n51a 46.10

50-C -4 NV 56P 0-V 0 0 - 950 V.0 V~~0)9 a~I -- U U ~ - @ C U U anV U U 6 *CooAun-0a1150U0 333-------------------- ----------------------U-

v 0 CS OV11: :0 e CL41 ; ONI SLO ZZ 0 -'a CL sc 91440 4* - 40 - 4..

2 'S

S P,9Z 9u~uu Z--9w uuuuZ.v IO

'14 ~ ~~~~~~~~~~ ~ ~ ~~~~ N tW*0*t000 NftWCD1 -. 0CPC*294 S * . 10a~~~~ ffgO C4et(

*,'...***~~~ C.. N.*~ N. 22 a. MC., 23:3:- . . . *~'''. .

Page 95: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

>p

i C;

u N1C : 44 - a

U 3 a6 4'4

U 4''6 0 c0. *

*~~o 00 - 0 iC C - U *qt

a C' -. 4 C 0 04 1% -8~~~ 4' 4' InQMCCU *4 4

oil a 66 - 4S fb C-SamU~0 4. ; a-0 0. CC - C 44

0S- C 0-C U U 4 AO N-

*406. 0 .0 A 0 )OUCL C - C a .4 -U* 0 4- -C-u C 3 04'S130 4

0 -U a' 6U 0.0 - .- U 4--a-u lll6 L C4' 2 -C - U O UA

0-64' N - U C4 = a' i O*~~~~C 00- U tO- '- M 6 2 0 -

1w 4 -. 0 N- 43a-- -U0 -

0 q'ma 0 we C O 3 C

6)~ ~ aaN .. ag ~ 0

*0 4.0. 6040* 4 IaCO. CL m' NC'a C': - t66 , o

3 4.. 4- -a-A- L .--- iM4' .. .C IS 1 4 a4

+WI 41 C C 24

0.04N'(3NN.90 M *6M' C - et It 3M C'4'-

L 0 q C 0 A - oo''4 C 40 ' do A LU . - V 2A0 44- 0 . .+ £ a6 + 41C 40 N. 4 3 AL. U 14 C L c 4- AN U 4--Oi 4l 36 4 U 4- CI% a N .I

S 2 C 3 m 04 34'I L 4- .A -c a0

4- U ~ ~ 1 11 C0 17 40.M M4 *24S V A 6- 4V0-40C6 U U ~ O 2M UC LOC4'Oi 46 4U4

I. -44* Z u AI - e u iu uu - 3--Z 2-4'VZ *-A4- 0I 0022!!22

."o" U- 0 NCV ou44'jUNCOV

IS N2 U- S a VU

* 92

v...

Page 96: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

4c

40

IS e404 04N;

40 .C I-L4d

2 ' N eel. a

40~~ Q3 a4 4 f0 Za I- 04

>6 4o assoc W

+ In . 4.0

P. .> 4' 4.(44f 4..4j C 40 "N 4.. a 6

a- (' 13.66- . 4 00 4.0C M N4 a'-g4 0 cps~ 0

L 9 L a Is -. 4

4. +. aUI 40i 0 0 0004 00-4 0a WV E

*~~ U- * U .

0.- -0. 9)46 n )4(0-M

L'0 *S3L - 4'0 A L -04 0 QC L

4.e +. 4 44' C 4 4' V4 4' 4' a' x. "

0OL c~ U L -a*240a 0 sCL4U .0-- a UUUUUUU!IUUUIEEL U 01 4. a4 4. =dM.OC'4() flqs z..0 Cox-*~(0-9- -Ace* AV 4.C 0 1) (*CG~ 04L. a

-L A.. CL~ IF U4 -7111 L 2 LC'oA)l 0 O1 LC of Cu.

4 . o; 4-1-6! u 0 u u ,GoIn AW 100 001 ;: 000 V. cc4. OC 1. U4.a,9'6 SO U4' 4'4 )4E U, 95 C4 M 0 00)0 ) t Co 4. 44W 4'I' -- OCCO30c -. C 3- - V I U twi

3* . 6 U O r >WU4 > > > I .

93 U4'

I * *L4'@ C4. ............... *L ' * - U ~ . U . '

Page 97: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

4- U L

1- 4; IL 0Mi ). L 0 1 a- . C 0 . 4-0

'O c 6. 0 12 0 A aa aC CL L4 A

U LI - COO0

U-~ OC C3 V 4

a6 0L 2 0 1 0. 4-0 A 1024-~~~ a. ii0 0 0 4 -4

In 0 2' am -i 6 4M0 MC4'U i1 x1 0 m - L CL 0 uC

-o N > c1 U 2 V 4. 60 4-4-0 a. cL a0 4-L 2 0 O

0- C u- 0CM 0= . C; MM a M00 > a ll I. 2 0 02 C 0 0f -

P. s .0 C41 4 04- 0 L01 0 0 UO.L c6 - 'U t. C So C0 -M V w04-f

* C40 U. 00c04C U

0 is Di 04-( 4- 0 6 0 C 00- 3. a 01m 0. P. 00 0~ 0 U N-M

-10-M*U 4 4- Ci U CiP. it 04 0C S i. coo 00 4 cc 0 0mv

0)C 4- Ma C04- ic r. LM : m> . - 1 C C -. 0 N 0 6 f- N

LOM i - 4 it a 3 C1 1- - a- -04.4.4 a- 0 n 0- a- 0%0a 0 N a a U-co UO a. t -10 .-

a ln0 - W L MUN 5- L. - -2we~4 a c~S LU. a -0~ a IVV) L

o U% - 3C 0 6 CM0 L. -0 41 C0 4. C c. . i.SM 0 ~ + M 0 4 .+ 0C 0CL 2 -, L 04 A,; 4 + a 0 0' 0MI- L. - - C-- U .* 0 0 C a J9*

4. 0 ) 4M - 0. 0 C6 .0 U + a 6 > 0 00. 0 MeM u - V0US 2 4 0)6- UiM 00 A. ... - - a

6 6- lfCA2 0CU 0 0 CL

-0 4- 00 - iM 0 4- *U 00Mof 4. A c6 4

U ' Li. A9 L 00 L L I.- a -*.. C * W a>M A0 c 1 L'31. L*U> 0 1-01- a 4- 0 - Af MMCX - C 0 -f

-C 9- 6 -00 1 L 11164 0 - LM 4-M- -6 UM 40 -- 4-

:-S CL-@ -0 0U a CC@M N- U A -. 100150 MS& 1 1

C-Ol VMO4 0 -- 604-a 0 LML600 MSO2MMCO 3 3 * 0 4-024MCUOM CS -0 -. L COOx 40- C C r-M- 10 0 13 C C 1 C 00U C MOCLC

N--NU -W UM4 U C - U -- U Of 340C C U 4 .

so 00UIIU 0 C 9v a n *00006 U 01,; C ;UCL I c0 Ca0.C6u u uu *A 0 .04 0 C EN-N--Cu S* @-ClCc 3e

In i inIn t toIn n o N IO 0 40t6(a660 co .P P. P, -. r P.P.P.P.66066mom6609000000 0 c0

94~

Page 98: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

L

4ac

c a 0

04. a 66 6

4.6 U' U

P44 0 L. U

- -4 60 C 6- .-C 6 'o c 6 0

* MU -. 4. 44.a 6 - Ca 4

C 0 4. " - I Le6

CM :- q! c 0 L u 0 4.a6 L 4. U

6- *4. U- 6 . ! U$ .5c;. 0 .0 r- 6 c

a .: me L. taa 4.mmU A0

344. 0 . 6 > I U66 I lo CL4 -W04 - 104 14 0

'oI .. a- a. C6 4..c L4 C *g N~ : 6: : .-. :e::e! 0 6

aC 21 0.94. UO -4 1 . -E 4. 60 . U U a -C 4. A; N .m4)mftmm-

a +. 4. 0 C6 09 A 00 a f-4. 4.4U

C4. c50 . a a 4A6 N 64 CL :L L. 4.1 :0 0a4.6 -14V a 0 -3 40 - C64 Q L. . w. 604 1

US 4C0 00 1 4. U UU 'a 41C 4U V 40 Vb Uf 4. Ud 61 CS- C a4.4,

U. ~ ~ L C6 4. 6 U. *4.U 0L c Cla 39 4.U 90.46 A - N 1 t-- 0.00 - 0' CL4. a a -

400 1-Ama .004.. - +944. 0 44..4..4a.4c..44.

ULO . .l v I 6 VV %03c -@6- see-O 0 9 0 4.4

64.6 - U lb-, O4 U: O- U U U~ . U 4 U U a0 C -0 LC .090- 21n .0,0-0 o * 0 . 0 0 .l 0................ ~ 40-300aaa4 NO A4 (- Um C4.4. 1- N (4M) M MU ) w lv TW nt ni

T 12 42 1 oT!!2T C. T. -U ! 1! 1!TTC !1 T1 2L*~ A >N > C > >.0 >* .> >I-400.

~0. - ~ 4. A C A4. 6 ) . 0116 6 A95I

Page 99: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

k AD-AI46 359 IMPLEMENTATION OF A ZILOG Z-80 BASE REALIZATION LIBRARY 2/2FOR THE COMPUTER SYSTEMS DESIGN ENVIRONMENT(U) NAVALPOSTGRADUATE SCHOOL MONTEREY CA T J SMITH MAR 84I UNCLASSIFIED F/G 9/2 NL

L.7

Page 100: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

0V

i. ...

0

L.. -.

11111 1.0 ~li~ ~ ~ 2,m

Iliii~ -.

11111=1125 ~ 116

0

\. *:*~-

* ..~. .-

'I -. *-... %

.~ ,.%*.

.~ *~$pJ~~ ~.~... %~'.

.~.p...

w. .~S.. *%~.d. *

-~ ~ .,.%.%<4%~% ..* ~%%%.~ ~y~.\-*-7 .y.~.- ~ *5 55 55

Page 101: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

AQ 5-. .a

* 5"

10~ 410

0 U

a 40 fe - CU~4 4. - S

* 2 40 0 c

o c 0 0C* c -4@ a0 4-

5u 6 3 4 4. Si 00 4 C 4 4

a 0 8 0 40 .MNO

5C- 0 4 0 a - 0 4. 4. 3V£ 6 V 0 a 4. 0 C 4 4. or. 0

L U UC -C 0 4 a. c f448 0 a A 164. 4. C c .L5 f-6* 9. L 6 a u4 c a .w -- -.C

0- E 4. 4. -- 4.* 0 0 05 *404. @U0 o- 3 5 C. 4 £v4, 46. a6 C - 3 4.-C *.c

404. a 0 6. - O 0 a .49 It NC 4. NC4 9 S 4 - L.0 04. 0

ulb4.4. 4. SUb C '. 0 4.4 4- 00. 0 C C 4. 0£ 4.. a~ 4 -£ a.0 3

** 4 0 0 0a A N5 CU one* C; .' U

SC O *0 C *0 O - S 0 5 5 0066 a :1

0 -N8 0 £ L4.0 -U2U6A 0648 A0 6. 1202 0545 .M4 L.

- I -. I - IA - - - f 440- 0 54. S

;,. N . -0 0 4@w a --C4.oc -9 w44 S3C4CoN-0- 0 0 *113 -0 N0 +404 c. +0 0 a03 14013 . 0 I a 40 4.4 I.

3%. 4 0-- a ~ 0.4-; 20a.ZZZ!I. aif 00 i 0. - 9.50 0 9600- c 18 1C0 .040

01 04.. 0 -4 0-0 * G6 1 0 0 o dat A. c &.'0 4. .~ *1 4. 4- 0 34 4.L- C 0 03 fl .. x£ OL

00 0 64 I 44. a.s-. 4.CC.k4. - . 4

4, -4 0..0 C)I 1, 5. .2 331.400)04;; ' 4." 0 406140.0C2

100~ Ira -0.4. 1 "A4 0- 041020 SHUSH.,

4.4.. 3 3 UOCU S El U- 16 96

Page 102: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

"55

* 0 0

3 La S C a. 4' -w C a C.

C 2L. 0j a 0 0C 4u 3.a06M -0 61. 6 !4 4'

60 10 Se.524.6 aa 0 C- 2- 2

a u4 w,- ob4C0- 6CO 4-; i 1CU~. 21 6.. 0 0 a . -C 04 ' 2

a 4' 0 0 C L C4 A6 0 661C .1. a h 6.4 a ' aE too 1. 5Mg-a 0L a

4g@4 b0 46. as 4' a, 4'0 66* . U '

* W -0 -2 go...O 0L.4 0 0 0%64'2 040.'- 6 US40 0 60 v4' o P440 Ut. -

aCU in C 0.1-* aU64.00' 1 CO x' G *6 63C 6 '- 0

41 4.C U -- 6C 604 0~M Q . U 0c l1 . 0 0U1 4 46 a . a.% 41. - c-6

40 4 0jco.02 *O M* 04 3 t4c ~~ coo 204--. -20 06: _ 6 UC 40 00 "16 OGG 04 4c

C0 .- 1 CL - 4 00 0U c.*0--MUa 4C0 0 1.U ! ; .0 . 1 s

4. 30 40 . 0 0M ' 0C N .01. 061 4C -w 0 0 a 0 ZM6*. C 6

1.0~ ~~ ~~ 060 a - 'M U C 6-'' 0 M O

3 C U ~ a. -4; - 60------------6 * - -

55. 4 L.A M*CL~ . - . +3 Ia- (49. 0SU L." 9. aO U

vo ,0 w ll40 40 - a ~ , '* iMM6 C. A

*0t a ~ ~ E 4 4.a*0 -0 - v v - *

p VVt

x UU x4.p4.0 0xD) 1 03 0x 30xNp3 3 0 U 1% x Z.- x S . .3

* 4'SSO6~ VM4.~) 1 Oc C.97

Page 103: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

aA A

a 4s 40

oO 2o a

a It . urn-U 4 K . 4MC Cg

s o1 3 4 '1 It 41 a

a; -6 :: t L .a2@. CI a 4 ON' UL 441

4. 1. 10 E M 0 4

0 a04! fN - a 040 0lot

C % . C 40 40N'40 AO4' w 0M IX c0 46 aa~

-0 @6 -1 3 0M 14.C -

4. C 9 U 4C. N -4 3MR0 . 0.&'

B-t 0. U - CN W-: OC Q iIM6

. C 0e .0 4' SC '4 C .C0 -

fl 14 41 v~~ 0 a 46 SM-. * M 0. 4. [email protected]' 4 C 0. C . 60 Sm 5 4 C

* .- U0N2 !0 .%.~ 0 :184 MO 44 N4 AS SM A

@Cco a6A - 0 0

0. 0* 6L0 - .6. 46661 40 01 363000*~ ~ -~S' -4 -4 - - 6 4M444 OR' -00

4.~~~~~~~~ 4.- -m C~fql O ~~ ~------------------------------------------4.Le N 46G"OU

£ £ - A *.. - .- 0. - 04 0.0CC'' a

*~~" *NON ## 0 a 0- 0~ C4-. v0 el 4 . 40646 t 6'C

0 04'SS A 4 *040 4. Ci #to'4'00V% V .4LL 0 41 4- L cis 4' 4' 669th

a 144 V 1. 1 64' 00 3z L@'4 %61- -~ 4' P6020 00 06012 4'U04 C4.C. 1£'00

ISUU U 4 O *. 1 &"1. 4-.AL th0 t C e ~ u uu .I

ILI

~%I%.~j~2"a "Nf 0 U c. 0 U U' %do V a 0 44A.

Page 104: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

a.a

a 4

CL00 3 a

00 1..

13

* CL

0 so

0w04

1 0 g3 66

0 460 4A-

0 0 0 a

M 111 .0 1.4 U40 v0c 9- 0 0

0 L40 00- 'a 9

Sc -a. U CCI* £ 9-06 C- -~

2a. 033 N 'a. a awe

*. xU 3. 3,, ,x33 , ,x 31 b33 .,. )3 .3 ,, .x3 ,... x3 .xb

99

Page 105: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

40 40

4d'

0 0C

o C S

or. 0

o go4'c U40

A 040U'400 U0 40

00 o 10 U -

0 W 3 2 140 94o6. U 40

C40 L. 65 C1 04. - W !- 7,.11

0 Go 4'S11AO-0 CO 90 40 - I1

' 4' 00 -a doP. a ajl 3S 2 a C

V 01 4Bae -82- a 6 -o 0 ' C- -.

-00 9 0 -N40 U E'O 01 all 28 0 014 I511. CU 4 0 C 0. 0 0 CO -- - 6

4C 0 01- 4' 4- 055 40 4.1 - 41c- 11.4. LCCQ a- 49 05 Ig c C'd 14. 30 on c S£0

6 C 1-I NU 2- 16 6 - 4. *U N 4

I.le £41,C C ee -e 0 . so ' @£ - - C. @ 6.

* 4 6CC CC----------C C * 0. *U...' U ---- '-- @ ----

- U *100

4. -4'

% 44 4

Page 106: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

cr.

ap a

40 0.

.4. 4...

c 4

we04CC

0 4

* 040

CC* 6. a4'

40 *3 M-) C N--- Ja 311b

of 4. 0. w

-01- CX CO L.U 1' . 44' a+ 0 0 )I it 6

0~~~~ 06 40 16 C11 0U f-*40 -fa. c U6. a4 as aWC0 . 640

ID a a1 044 0U 40 OUSO +.+ I4.0 mp ;iw. ~ C SO om a

c cl 4' 30 4' i 4' se 6.~zd 4' 021@S'if; P

i--a~~~ c'- - 0 .6

*' cc 4' vU .0 01 ,vI'-vZ ' . b L

44~ ~ ~ C4 Xe C0 n0 '' 9 If t n0)A00140 u J,2 ,1P W0 03S e1 mIo 0 0Po 1 -on 3b 30 3b nnn nn )1nnn 3 3 1 1nnnnX3 3 1 . --03 3 3 1 1 1--x303 ) o-1303---,- 0 .30 P

4' --a * -oo-e~ -W------ n~nfl~n101r

Page 107: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

-N -7 -

p4

00Sc

Nc

40. 6 4C a4 04 40 440 1--! 0 0 .40 W .4.

0I - - - -~ - -.

- 0 94 g.4. 040 1.~ 11

I do. - x a- a 06 041 f aS

eI I?*. C-4

;;22 al a-

-N Sq"NC

*10

Page 108: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

IC

0 a

u 24'

.

CLC

40 C CL

- C

C 3

-C a

1030

L ac ~. ....4

4

Page 109: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

LIST OF REFEREPCER

1. "JDR Micradevices," nJ V. 9, N. 2, February 1984.

2. 01983 DP Salaries the Key Word Is Perks,"September 1993.

3. Manwaring H.o L. "A Computer-Aided Approach to theDesign of Digital System Controllers Using .Microprocessors," IMmftl Oai"C GMourWSS goCircuita tM d MLtSCs, IEEE Computer Society,November 6p 1978.

4. Ross, A. A., G9regin Afid Rei an g,Wicrmrmuar__-mud_ Gatrolljars, Ph.D. Thesis,University of California, Davis, 1976.

5. Matel an, Ff. N.qr &d", 2 kujn 2:E OAL lim-"trol ftmts, Lawrence Livermore Laboratory,December 10, 1976.

6. Ross, A. A., g gg AIdd Re sin 2:tiacrin oclar-_ a rlerfs, Ph.D. Theis,-University of California, Davis, 1978.

7. Ibid.

S. Pollock, S. 8. , ~ DMIgRJnagM t W In__aticati2nn o-GamutrzideU Rmaian at ir Aro-esrqW Vxsmv 14.S.Thesis , University of California Davis, December 1981.

- 9. Manwaringg M., L., "A Computer-Aided Approach to theDesign of Digital System Controllers UsingHicroprocesersq" Tfth ft iloWa GaftErgen 90

ircuita, ISyjas Wd G ta , IEEE Computer Society,November 6, 1978.

10. Biehl, 6., "Automatic Generation of OptimalMicrocomputer Programs for Software-Driven DigitalControllers," Ixufga ma Inc r.wutnc aicrcuroeasor Aolicati21 s, Budapest# October, 1979.

li. Sherlock, S. Ja., Uerfriendixy 8L 2=1Riratgd Input19 Ck 92alit5C AAMe ftsif ftJs , M.S. Thesis, NavalPostgraduate School, June 1983.

12. Chu, Y.9 *Concepts of a Microcomputer Design Language, "1At Mmi &s wO aa fo n MMingso IEEEComputer Societyg June 259 1979. "-

13. Hmethp J.p R.sCarrol, B., D.9 and CwIk, T., T., "An

Improved Version of COL for the Efficient Simulation of .Microprocessor and Minicomputer Systems," Jnai ofi

104

4 .

.... " - - - - - - ' ;: - " 7" - " " " " % " ";'" ". :--'.' :'-"- "-" ':"* "J": ." "-.:." _Z "- - -, ',"

Page 110: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

kajgo ~ ~ ~ ~ ~ ~ ro Q-_~~m~ mi~irmu gg~ig, vol 2,no. 2, Mlay 1978.

14. Hartenstein, R., W., and von Puttkamer, E.0 "KARL AHardware Description Language as Part of a CAD Tool forLslo, Eg-aseg gi o the At I nMional Symposi u!9 on

r-2r RLm-9rjatign LiongUigea, IEEE ComputerSociety, October 8, 1979.

1S. Rome Air Development Center RADc-TR-79-6.ffM~gntrnars1 QM3 Wt~r §yiteMa kaigo EASL~ity,.]Lniau. DfSgj Nt,~y by D. R. Anderson, L. D.Andersonand K. Y. Weng January, 1978.

16. Riley, R. P., QkC SXI~f! 2sfigD Lmniug~a

17 qje at Ce taf A. 6-3 *, gIZIE1 9t!Sg Ing ggr~Base

M.Sgmt 1.. Thesis, Naval Postgraduate School 94

* 17. WoialenA. J. 9 AooIM.tati o± a Ignt.S1 W§6~u V!52

21ML90 &omtion, M. S. Thesis, Naval PostgraduateSchool, December 1983.

190 Ross, A- A-, 99AR D.~ Thesisof

University of California, Davis, 1978.

20. Pollock, 6. 6. ,Furthgr RM3iquinun and4 iuyffjigkgci ofugAgr.fjdgd ginign 21 ftsgcesmsgr- ayntsmat I. S.

Thesis 9 University of California Davis, December 1981.

*21. Halden,. H.- J. -~ j sgy &M9±U Of&a n~ -r2-2LVtRinuigci OAgftjL 14.8. Thesisy Naval PostgraduateSchools December 1983.

22. RilIey, R. P., 9 G901C1 2YUROM 22MSE1g Lfagmwaga-

M.9. Thesis, Naval Postgraduate Schools March 1984.

* 105

Page 111: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

INITIAL DISTRIBUTION LIST

No. Copies

I* Defense Technical Information Center 2Cameron StationAlexandria, Virginia 22314

2. Library, Code 0142 2Naval Postgraduate SchoolM4ontorey, California 93943

3. LTC Al an Ross, Code 3MR 4Naval Postgraduate SchoolMlontereyp California 93943

4. Prof.* Herschel H. Loomis, Code 62LM 1Naval Postgraduate SchoolMonterey, Cal iforni a 93943

5. MJ Theodore J. Smith, Jr. 1USA Computer System Acquisition Agency200 StovalAlexandria, VA 22331

106

41* %

Page 112: IMPLEMENTATION OF ZILOG Z-88 BASE REALIZATION …

44 .

,lnt

PA.