THE SERIES 1600 SEMICONDUCTOR LINEUP RO-3-20480 2048xl0 RO-3-8316A 2048x8 RA-3-4401/2 4096xl RA-3-1801/2 1024xl RO-3-4096 512x8 RA-3-4256 256x4 ROM RAM • MEMORIES MICROPROCESSORS PROGRAMMABLE INTERFACE CONTROLLERS SERIES 1600 MICROPROCESSOR SYSTEM MICROCOMPUTER DOCUMENTATION GIC1600 SERIES MICROCOMPUTER USERS MANUAL MICRO MODULES DEVELOPMENT SYSTEMS RESIDENT FIRMWARE ON-LINE SOFTWARE This manual contains a detailed description of the Series 1600 Microcomputer Modules, Prototype Development Systems and all associated hardware. Also included is a functional specification and operational information on the Resident Operating System, Debug Facilities, and On-Line Software for use on the GIC1600 Series Microcomputer Systems. (c) Copyright 1975 AIl rights reserved GENERAL INSTRUMENT CORPORATION. MICROELECTRONICS DIVISION. 600 W. John St., Hicksville, N.Y. 11802 • 516·733·3107 SUMMARY Title: GIC1600 Series Microcomputer Users Manual Document No: S1600C-GIC1600-02 September 1975 Revision Level: Supersedes S16DOC-GIC1600-01 May 1975 Scope: This manual describes the GIC1600 series of microcomputer systems inclutling details of each module in the system. It includes ·information on the theory of operation of the micro- computer. timing of all buses and control signals. and logic diagrams of all printed circuit modules. In addition. the ROM Resident Operating System features are detailed along with specific user operational information and. command structures. Lastly. all the necessary On-Line Software to make the GIC1600 systems complete hardware and software development tools are described along with typical examples of its use. Reference Documents: S1600C-CP1600-04 CP1600 Microprocessor Users Manual S1600C-XALSIM-02 Series 1600 Cross Software Manual 2 TABLE OF CONTENI'S CHAPTER 1: GIC1600 SERIES MICROCOMPUTER SYSTEMS - HARDWARE PAGE 1.0 INI'RODUCTION 7 1.1 SYSTEM DESCRIPTION 9 1.1.1 System Block Diagram 9 1.1. 2 Basic System Modules 9 1.1.3 System Memory Map 11 1.2 SYSTEM SET-UP PROCEDURE 13 1.3 CONTROL CONSOLE OPERATION 13 1.3.1 Control Console Description 15 1.3.2 Control Console Functions 15 1.3.3 GIC1600 Operation via Control Console 17 1.3.4 Operational Flow Charts 17 1.4 DATA, ADDRESS & CONTROL BUSES 17 1.4.1 Backplane Signal Descriptions 22 1.4.2 Direct Memory Access Operation 33 1.4.3 Interrupt Operation 34 1.5 PERIPHERAL OPERATION 38 1.5.1 Teletype/EIA Devices 38 1.5.2 High Speed Reader and Punch 41 1.6 SYSTEM MODULES 43 1.6.1 Microcomputer Card 43 1. 6. 2 2K Memory Card 47 1.6.3 8K Memory Card 49 1. 6.4 Control Console Card 51 1.6.5 Input/Output Card 58 1.6.6 4K PROM Card 72 1. 6. 7 General Purpose Interfacing Card 72 3 TABLE OF CONTENTS CHAPTER 2: GIC1600 MICROCOMPUTER SYSTEM - SOFTWARE PAGE 2.0 INTRODUCTION 74 2.1 RESIDENT FIRMWARE 74 2. 1. 1 S16MTR Monitor 74 2.1. 2 S160DP On-Line Debug Program 75 2.1.3 S16LDR Relocating Loader 78 2. 1. 4 S16DMP Memory Dump 79 2. 1. 5 Tape Duplication 79 2.1. 6 S16UTL Basic Utilities 80 2.2 ON-liNE SOFTWARE 83 2.2.1 S16AL Assembler 83 2.2.2 Features 83 2.2.3 Operation 84 2.2.4 Source Program Form,at 84 2.2.5 Symbols 85 2.2.6 Literals 85 2.2. 7 Expressions 86 2.2.8 Assembly Directives 87 2. 2. 9 Program Listing 90 2.2. 10 S16DGS Diagnostics 91 2.2. 11 Using S16AL 92 2.3 TEXT EDITOR 93 2.3. 1 Operation 93 2.3. 2 Commands 93 2.3.3 Using S16TXE 96 2.4 S16RLL RELOCATING liNKING LOADER 98 2. 4. 1 Operation 98 2.4.2 Error Messages 99 2.5 DIAGNOSTICS 100 2. 5. 1 CPU - Memory Test 100 2. 5. 2 Interrupt Test 100 APPENDICES: A. SOFTWARE 101 A. 1 Instruction Set 101 A.2 Monitor Commands 107 A.3 Sample Monitor Dialogue 108 A.4 Resident Utility Routines 113 A.5 Sample Assembly Listing 114 A.6 Text Editor Commands 117 A.7 Sample Text Editor Dialogue 118 A. 8 Binary Tape Formats 120 A. 9 Sl(~RLL Sample wad Map 123 A. 10 ASCII Character Codes 124 A. 11 Instruction Set Summary 125 4 TABLE OF CONTENTS APPENDICES GIC1600 MICROCOMPUTER SYSTEM (continued) B. HARDWARE B.1 MC1600/1601 Microcomputer Card Schematic DS-MC-002 B.2 RM1600 2K Memory Card Schematic S-RM-012 B.3 CC1600 Control Console Card Schematic DS-CC-007 B.4 1/01600/1601 Input/Output Card Schematic DS-lO-017 B.5 GIC1600/1601 Interconnection Schematic S-BP-026 5 CHAPTER 1 GIC1600 SERIES MICROCOMPUTER USERS MANUAL 1. 0 INTRODUCTION The GIC1600 Series Microcomputer Systems are general-purpose, stand-alone microcomputers built from the General Instrument family of OEM card level computer components. They are complete, self-contained development tools for both hardware and software prototyping and debugging. In addition, all the individual cards are fully-functional. stand-alone computer modules designed for easy integration into other systems. The GIC1600 Series Microcomputer Systems are high performance 16-bit com- puters featuring direct addressing to 65K 16-bit words, a push down stack of un- limited depth, direct memory access (DMA), and a versatile nested interrupt system with priority resolution and self-identifying vectors. All control signals, data, and address buses are fully buffered and available on the backplane so the user can expand memory, add I/O capability, or develop and debug custom interfaces as required. The GIC1600 Series Microcomputer Systems consist of a Central Processor Card, one or more RAM Memory Cards. an Input/Output Card, a Control Panel Card and Operators Console, and a Rack-Mountable Chassis. Additional cards may be added as required to expand the system capabilities and memory capacity. 11'1 its standard configuration, each system can support a Teletype, a high speed paper tape reader /punch, and any RS232C compatible device, such as a Silent 700 Data Terminal. Additional interfaces and drive software as well as general pur- pose support cards are continually being added to the family. At present, a 4K PROM Card, additional 2K and 8K RAM Cards, and a General Purpose I/O Card are available as optional accessories. The Rack-Mountable Chassis and Printed Circuit Backplane has 13 positions for Wire-Wrap or Printed Circuit Cards, of which nine are available to the user for expansion of memory or special Input/Output interface. A general purpose Wire- Wrap Card is available so the user can easily design and construct his own custom interfaces and plug directly into any of the nine available positions in the chassis. Extender cards are also available to provide live access to the circuitry. The GIC1600 Series Microcomputer System hardware and software provide the user with a versatile microcomputer system that is simple to configure to his individual application. 7 ADDRESS eus ¥rIG !ADORESS REGISTER (PART _OF Me I GoojtG:JO-O DATA. BUS I~ filG , J J 16 16 UJTERRUPT ~__________~ -REQU£ST LINES GEtJE~ALME.MOR,( nJPUT/ -CON"TRQL M\CRO- PuRPOSE CARDS (1-1'1) OUTPUT -CON_SOLE CoMPUTeR 1/0 CARJ)S _INTERRUPT RM li60: ~A'~ INiERRUPT -:cARD INTERRUPT CA'l.1) fNTER~UPT - CARD CD ,, - ) . I PAIORITY . PR\O~\lY _.PR\OR\'T'f. PRtoRrT"'(..' ..I - N .c.AA\\IJ ~MJG01:S\("\" -c:H~\f'.lrO \v,OOI 'C,RAl)...i CCtGOO .cHA\1J I Me IGOq.- . GP_1GOO _-RAM Ho01 fIRMWARE 1<001 -sus PM \6oo:4KlCl6 BUS eus OPERATI~ BlJS . CtAC\ t 2. "\0 9 8 7 6 5 4 3 2. 0 \ Bl l8l~[§] E IE] ~ 1 [§] [§] ~! !§] [§] ~ SW\,C.,"" REG\S,ER _ _ _ _ _ _ _- - . - J1 ~~Ia] I-' ~ ORUtJ r - R7 P.6 RS R4 R~ R.'2.. R \ RO ot\! CONT 8 81 81 IB p;;jc=JLJCJLJLJDD MC\..R. SA lNC.R. U> ~E.6 L - SW SA eo ML M~ FN FI F2. EJ OF-=- 8 IBI SINGl.E STA~r/ PC\"",", tNST~ STOP FI G. 4 _ CoN1"ROL PANEL 1.3.1 Control Console Description The console has the following indicators and switches: 1) A RUN indicator light 2) A 16-bit Data Register Display 3) A 16 -bit Switch Register 4) A set of 8 interlocked Register Select Switches to indicate one of 8 registers to be displayed. 5) A Register Bank Select Switch to indicate one of two banks of 8 registers each to be applied to the Register Select Switches. 6) Control Switches: a) LD REG: Load value set in Switch Register into selected register b) BA INC: Increment BA Register and update BD Register to reflect contents of new BA address c) MCLR: Master Clear .d) PCINH; Inhibit incrementing of program counter during fetch phase to enable repetitive execution of a one word instruction e) CaNT - SINGLE INSTR: Mode of operation - continuous or single instruction f) START ISTOP: Toggle control for starting and stopping CPU When the system is running a program, BAINC & LD REG are disabled to prevent any disruption of the operation. The PCINH switch should not be operated while the microcomputer is running. 1.3.2 Control Console Functions The console contains a 16-bit Switch Register that is capable of refer- enCing a 16-bit address (i. e., 65K of memory space). A switch in the up position is considered to have a 1 value. A switch in the down posi- tion is considered to have aO value. The contents of the Switch Register can be loaded into any register by selecting that register on the Register Select and Bank Select Switches; it can be anyone of the eight internal registers, RO to R7, of the CPU or the SW, BA, BD, ML, MH, FN, Fl & F2 registers described below. After depressing LD REG, the contents of the selected register will be modified and the 16-bit Display Register will change to reflect the modification. The lower bank of 8 front panel accessible registers contains a number of important and useful functions for the user. The Status Word (SW) of 15 the CPU contains four bits; they are located in bits 4 to 7 of a 16-bit word to correspond to their position in the CP1600 Microprocessor word. They are arranged as follows: Carry (C) in Bit 4, Overflow (OV) in Bit 5, Zero (Z) in Bit 6, Sign (S) in Bit 7. The remaining bits will always read a and are "don't care" when loading the SW from the front panel. In order to provide the capability of accessing memory, two registers BA and BD have been assigned. Register BA contains a Bus Address and the contents of that bus location is displayed in the Bus Data Register BD. In order to examine a memory location, the address is first keyed into the Switch Register and BA is selected on the Register Select and Bank Select Switches. Pressing LD REG will then deposit the contents of the Switch Register into Register BA. Tl)e contents of the selected location (the address now held in BA) will automatically be loaded into Register BD. By selecting BD on the Register Select Switches, the con- tents of the memory address just loaded into BA will appear in the Display Register. Sequential memory locations can then be examined by depress- ing BAINC while BD is selected. In order to modify any bus (memory) location the Bus Address must first be loaded into BA. Then BD is selected and the contents of that location will appear on the Data Display. The new data to be deposited is then keyed into the Switch Register. By depressing ill REG, the contents of the Switch Register will be deposited at the specified address held in BA and the Data Display will reflect the new data. Sequential memory loca- tions can be written while BD is selected by depressing BAINC, updating the Switch Register to the new data, and then depressing ill REG. The ML and MH registers are the Memory Low limit and the Memory High limit registers. The memory space between these two limits, which can be set by the user, is available for loading new programs. The memory space below the Memory Low limit and above the Memory High limit is protected from being overwritten during loading operations. The FN (Function Number) register, the Fl register and F2 register can control the high speed reader/punch if a teletype is not available for communication with the Resident Firmware Operating System. After depressing MCLR, but before depressing START/STOP~ select the de- sired operation by setting up these registers as follows: FN=l: Load program tapes via the high speed reader. If relocation is desired, set Fl to the relocation address. F2 is not used in this mode. FN=2: Punch the contents of memory via the high speed punch. Fl is set to the low address; F2 is set to t4e high address. FN=3: Copy a tape via the high speed reader /punch. Fl and F2 are not used in this mode. 16 1.3.3 GIC1600 Operation Via Control Console Operation of the GIC1600 Series Microcomputer Systems must initially begin with the pressing of MCLR. This function initializes all internal hardware, supplies the starting address of the Resident Operating Sys- tern to the PC (R7) and halts. Execution of the Resident Operating Sys- tern begins by pressing START/STOP. If the user does not wish to en- ter the Operating System, the PC must be modified before pressing START/STOP. A new starting address must be keyed into the Switch Register, R7 selected and LD REG pressed. When START/STOP is pressed, the CPU will begin executing instructions at the supplied ad- dress. The system can either be in CONT (Continuous) mode or SINGLE INSTR mode. In CONT, the system will free run until either a HALT instruc- tion is executed or START/STOP is pressed. In SINGLE INSTR mode, the CPU will normally execute one instruction before halting. Depress- ing START/STOP repeatedly will allow single stepping through the pro- gram. The only instructions that have been designed to be bypassed in SING LE INSTR mode are TCI and HLT. For these instructions the CPU . will stop after executing the next instruction. (If, however, the follow- ing instructions are MVO, shift or control instructions, the CPU will stop after executing the first instruction that is not a MVO, shift, control, TCI or HLT instruction.) 1. 3. 4 Operational Flow Charts The diagrams shown in Figs. 5 to 8 depict step-by-step flow charts of the following procedures: Fig. Procedure 5 GIC1600 Start Up Procedure 6 Procedure to Examine Memory 7 Procedure to Deposit New Data into Memory 8 Procedure to Examine and/or Modify the Internal CPU Registers 1.4 DATA, ADDRESS & CONTROL BUSES The GIC1600 Series Microcomputer Systems have a Data Bus, an Address Bus, and a Control Bus which connect the microprocessor, the memory, and all the peripher- als. The form of communication is the same for every device on the bus. Since a single Address Space concept is utilized in the CP1600 microprocessor arch- itecture' memory and peripheral devices reside within the same 65K Address Space. The system address allocation alone differentiates memory from I/O devices; there- 17 P-RE.SS M('LR Ot-J-LI~E DE6U6: PROGR.AM IS \~\T\ ALI'Z.EO PRESS 5TART/STOP ~-~ BEG1~ DE.13OG . 5ET~STAR.TIN6- ·A.1)Q.R£SS.Q\-J· . SWlTCH REG'ST£~ _P"'ESS LO R.e.G PRESS . s.:rART/5ToP PROGRA.M E,){ECUTIOfo'J WI L... \..~tGn•.t FIG .. 5 .. Gle J (oOOSTAQ, UPPROCE.OURE._ 18 -~5TOP CPU _~VIA --STAR, /STOP . -SE.LECT 5A. _0- -RE.G1SIER :r ADt>~ESS TO BE E)(AMHJED -O~ SWITCH -ReGISTER DEPRES' 1:0 R£G_ --SWITCY SELEC'T 5l)~EGISTER.S N\i.bf10R.Y CO~'TE~tS' C\SPL.A1e.C PRESS eA. \NC. >-_~ _t;J.E~T MEMOR'(o CO).4TE.~TS '0\ 'SPLA"(ED EJG. (D. PROCEDURE. TO E~AM'NE MEMOR.,'1' . 19 STOP CPU ... :YlA. .sT~R.TlsmP . -SELECt ~L RE.GISTER .-s ET ADDRESS "to BE MOl) lJrtE.l) -·:oN-·SWJTCf1 . ~ -REGISTER L)E.PRSS$ ·L··I"'\.·~·Ir·..e " w.... _~._ .·SW1TCR· ..s.aEC' 80 Qe(;ISTE.R ~'T.])AT.A.. :r.O... . . . . DE~rr.E.'O -~~;:T"""""ll·· 3J._l~ ···.wJm...ll..wn. ·.lttG1S.~. ··PRES'S ... LD.RE:G '{ es =1?RESS . :~e~:A~~:lrgc . 20 STOp·· CPU ..V\A TART/STOP -S!L.ECT R£6lST!R ::TO BE E'tAMIWED .. ~j:,.:sW,8A, ,MG,MJ.I, FA, ··.I-:OI:tFZ -C.ONTENTS OF' lORO,( lll'''S' I \ I O~0 , _ s I , O-r5 ~ S I I \ I S .. » I , ,MC"1'C.LE. B =FLOAT '~G o= CPU S~MPLES BDRDY L,NE. TO DELAY CPU, LoweR eDRD'( l\JO LATER THAN SO NS BEFORE iHE. ENO OF 151 i CPU WILL AGAlN SAMPLE. 60'<,0'1' A'T T\-\E BEG\~I\J\tJG OF EVERY ,54. F\G. '\ \ . RE.A.D SE.gUE-Nee. - WITH ONE CYCLe OF DELAY.. REG' S'ER. \~D\RE..C" AODRESS\"-lG. 1111111111111'111111 I1IIII111 II ITSIITS211S3ITS4rrSIITS2IrS3ITS4ITSIIjSZITS~ITS4ITSIITSZITS311541TSI (f.s2ITS3ITS4ITSIITSZITS3IT~4ITSIITS2Ir531TS4ITSI ITS2-1 It II IIII1I f I I" 1111111111111111 I I s CK4* ~I U, U U U U U U * n I I/----~---~- -------- ( BAR \ I DBL~* VALID DATA I I.,~~~-=--=-:-­ ==7-/ ---~~~~-- ~ADRi* YAL\O AODRIiSS ~ 0'1 BDRDY ';, WJ O s DW~ ,I \ I j DWS~ S \ I S I.. J I ,u. CYCLE ~= FLOAT It-JG o :; CPU SAMPLES BDRDY t.INE. TO. DELAY CPU, LOWER BDR.DY NO LAl"ER THA~ 50 NS BE.~ORE THE E."-lD or:: TSI ; CPU WILL AGAI~ SAMPLE BDRD'< A.T Tl4E. 8EGI~~ING OF EVERY TS4. FIG. 12. DA,-rA WR\TE. SEqUENCE - WlT\-\ DELA'< REGISTEQ INDIRECT ADDQ.ESSING. I I I I r. I I I I I I I I I I I I I I I I I I. '.' I I I I I I I I I I I I ITSIITS2 I TS3.1S4ITSllTS2ITS3ITS4.TSIITS2 .'TS3ITS4,TSI.TSZ liS3jTS4 ITS••1'SZI1331r.s411SIITSZlTS3.TS4ITSI.T.SZ'T5'JtT.S1lTSIIfSZ,IT'SJITS4ITSI 11S2ITSJITS411l1ITSll 11"'1111 " 1,. II I III II1II11111111 .1111 1 I I CK4 *# 'I Ur--I--U U U U U U U U f ~I\ 'I S ·DW'*· N ~ ~. \ J f OWS. I :. L IAB* ~II----II------------------------\ / r------------------ , ' B!)~!)'I' " \ \\j • I • ~ BA' ~ f R. I.. I • '..u. C'RI ,. hJ IPRO!.. , IMSKO ... A.)Q DE~'CE-' H INTER~:+~ }- it IMSKO IMSl<1 RE Ue.~T DEVICE·Z IN~~~UPT _ ~ >~ " '~ , , IMSt«)... -! Ht2 , 1-/ 4l-/' C-)- 5 o Q 10- - }- DS~ M'C\600 - - ...... c.. q - c- q - w U1 ie, tJI.. 1-451 ,.... ... -,.... - - r L>- - ADD~ L.>- ~4~ lAB *- ,...... ,.... INTEIUtUPT ADDRE$"" T J INTERRUPT ..S.2. ~ ""\ r. 4 I I j" 1 iJ----- ,Ll ~1 ~ . '-,~ '-,~ ~ '-,,-J J3 DeL~"" J"36 - DeLI" I I • I DBL\~* J""4, FIG .. '4 DEVICE ,NTERRUPT . LOGIC . INTRM * /~ I~ lr-. l~.JTR ~ /~ 11\ 7~ ,~ .~ . \11 JNTAK~ ..... I ,/ POWER ~AIt. ~ R'TC M CCI600 I---? De-VICE"' , ~ OEV'CE *'2 ./ I/O INTERRUP7 '~TERRUPT t,.oo/ 0 I I I Plo p/o LOGIC. f~TERRUpr INTERRUPT I~TERRUPT; I MC1600/01 IMSt(O ..... MC , '-00/0 I ~ MG'60ofOI .... ---7 ~ ..... LOGIC. I + .. ~ 7 " I . 1[\ I i\. I~ I~ 1\ 1\ TCI· , rA8~ W 0\ The basic GIC1600 Series Microcomputer Systems are factory wired such that the Power Faillnterrupt 8t Real Time Clock(0n MC1601) are connected to lNI'R'" followed by the Control Console Interface Interrupt. All additional peripherals are wired into the priority chain as the user desires. The interrupt logic on 1/01600/1601 is wired to have the lowest order priority. Once a device is cOlUlected to INrRM'" rather than INrR "', all lower order priority devices must be connected to INI'RM'" also. FIG, '5 .. INTE.RRUPT SYSTE..tv\ COtJNECT\OtJ. I, WY.Y:t..77 LE. The interrupt addresses supplied by the peripherals in the GIC1600 Systems are arranged to be consecutive entries into an Interrupt Branch Table. Each entry in this table consists of two ';lords which normally contain a BRANCH instruction to direct the CPU to the appropriate ser- vice routine. The Interrupt Branch Table can be located anywhere in memory and is defined by the connection of J13 (STADO*) and J48 (STADl*) to the appropriate Data Bus lines (DBLO-15 *). The interrupting device generates a unique code defining the low order part of its interrupt ad- dress and the IAB* signal automatically gates STADO* and STADI * de- fining the upper part of all interrupt addresses. The result is an Inter- rupt Branch Table as shown in Fig .16. At the completion of the interrupt service routine, the CPU generates a Terminate Current Interrupt signal, TCl, to reset the current interrupt (highest priority interrupt presently being serviced) and re-establish priority at the next lowest device needing service. 1.5 PERIPHERAL OPERATION The basic GIC1600 Series Microcomputer System supports both Teletype and high speed paper tape reader /punch peripheral devices. All necessary hardware is contained in the fully character -buffered controllers located on the I/O 1600/1601 Input/Output Module and all necessary software drivers are contained within the ROM Resident Operating System. 1. 5.1 Teletype/EIA Devices An ASR33 Teletype (Model ASR33, Catalog No. 3320/XXX with 20/60mA current loop) or any EIA compat1ble device can be used to provide inter- active communication between the GIC1600 Series Microcomputers and the user. The TTY (or EIA device) can input data to the microcomputer via its keyboard or paper tape reader. The microcomputer can output information to the TTY (or EIA device) printer or paper tape punch. To use the Teletype with the GIC1600 Series Microcomputers, install the TTY cable plug into the smaller connector (10 pins) on the 1/01600/ 1601 Input/Output Module. The ASR33 Teletype must receive the follow~ ing internal modifications and external connections (refer to Figures 17 and 18). Internal Modifications 1. The current source resistor value must be changed to 1450 oluns. This is accomplished by moving a single wire. 2. A full duplex hook-up must be created internally. This is accomplish- ed by moving two wires on a terminal strip. 38 MODE SW'TC~ TElE T'IPE' READER CONTROL ~ 4o.~ \3D I (roBE 1NST~LLE'D) ___ nl I KE't' BOAR.D I I I TAPE. I I I READER CAPACITOR "'-I III I PRlt--JiE'R UN" I ClJRREtJi SOURCE ~I I I I RES'STOR ~ . I "TAPE PUNCH "tIlo .:;;en II I ~ ~ [) l 5T Rot 1!>U'TOR w 0 TR \P MAGN-E.T \0 POWE.R I ASS~Me!>\...."( SUPP\..'< I """"-- I I 0 (MOTOR) I 'TER.M'.~AL ~ STRtP I , I F\G. \7. ,OPv\EW -TELET,(PE MODEL ASR3?>. k-I .TELET'(PE TERMltJAL. STR \ P 15' 4\ \ ~ tool • - , .-..... I " VIO '2.0 MOo. CUP-RENT SOURc.E \1.1. YE.L COO ma.. ~&S'STO~(7'rt- +- BLK/GR..'::;-- - - - - Wl-li/BRN ~~-¥>I$~ £. A '2. T1''''( IN puT A-\ WHT/P>L.U 'WHT/eL.u FULL PlJPle"c (~ eRN I 't'EL _ 0 ~ AB TT"f OU T PUT ,;~ ....... -- _ -~~L _J.lAL.': -D~t.£)(- :J. ..J All ~~f/Fut[) &\.~ 0... WIH WHT IISVAC >- .~. MA~I TAPE READER CONT~OL I 1 or:. o PLUGS INTD ...,I- GIC.-1600 2: "I/O CARD· eRt-..l ~ A 470...n.. 1 NOTE: V2. W I S~\t=T WlRES F"R.O~ "~E 470J'\. PA'S>~ E..D \...\NE i'b T~E -.v O.Iu.t I S()\.\O L.'~E POS\ T) ON • L _ _ _ _ _ --1 F'RO~i V\EW WHEELOCK SlGNALS INC.. OF: ~ooe SW\.,.C ... LE.~T,{PER.eA.OER C:;OmRO\..:;" 431.~ 1'\5 VAC COtll\~ON J;"lG. \8 • \NTERFACE OF l'E'LET,(PE ASR ~~ AND G\C -l(QOO -r/O '~OO/\GOI CA.RD .. 3. The receiver current level must be changed from 60mA to 20mA. This is aceolll:plilOlhed by moving a single wire. 4. A relay circuit must be introduced into the paper tape reader drive circuit if the TTY reader is to be used to asynchronously read tapes under program controL The recommended circuit consists of a relay, a resistor, a capacitor, and suitable mounting fixture. This relay network is manufactured by Wheelock Signals, Inc., as part "Tele- type Reader Control #4913D". It may be mounted in the Teletype by using two tapped holes in the mounting plate shown in Figure 17 The relay network may then be added without alteration of the ex- isting Teletype circuits. That is, Wire "A", to be connected to the brown wire in Figure 18, may be spliced into the brown wire near its connector plug .. The "Line" and "Local" wires must then be connected to the mode switch. Existing reader control circuitry within the teletype need not be altered. External Connections 1. A two-wire receive loop, a two-wire send loop, and a two-wire tape reader control loop must be created. This is accomplished by the connection of six wires between the Teletype and the TTY Plug to the 1/01600/1601 card. 2. The TTY/EIA interface cable should have the following pin assign- ments: SIGNAL GIC1600 (Upper Connector on 1/01600/1601 Module) (3M Connector #3473-0000) TTY PRINTER- Al TTY PRINTER+ A2 EIA SEND A3 GND (EIA SEND) A4 TTY RDR CONTROL+ AS TTY RDR CONTROL- A6 EIA RCVE A7 TTY KYBD+ A8 TTY KYBD- A9 GND (EIA RCVE) AlO 1.5.2 High Speed Reader and Punch A high-speed paper tape reader/punch can be a time-saving device dur- ing program preparation.· The GIC1600 Series Microcomputer Systems can accommodate Remex (1733G Alton St., Santa Ana, Calif.) models 41 RAB6375 and RAF6375 or equal. Tally (8301 So. 180th St., Kent, Washington) model 1315C is a plug-compatible equivalent. EECO (1441 E. Chestnut St., Santa Ana, Calif.) models RP-9360 and RPF9360 are equivalents in performance, but be sure to specify plug- compatibility with Remex 6375 series when ordering. For detailed reader /punch description and operating procedures, refer to the manual of the specific high-speed reader/punch being used. The interface cables should be less than 10 feet in length and should have the following pin assignments: GIC1600 Rem ex Rem ex Lower Connector on Punch (PI) Reader (P2) 1/01600/1601 Module (Cannon (Cannon Signal (3M Connector #3414-3000) BD25P DB24S) HSP 0 Bl 1 HSP 1 B2 2 HSP 2 B3 3 HSP3 B4 4 HSP4 B5 5 HSP5 B6 6 HSP 6 B7 7 HSP7 B8 8 GND B9 18 PUNCH COMMAND BlO 11 GND B11 25 DIRECTION B12 10 PUNCH INPUT I MODE SELECT Bl3 14 PUNCH OUTPUT MODE SELECT B14 15 TAPE/CHAD ERROR B15 20 TAPE LOW B16 21 SYSTEM READY B17 13 GND B18 23 PUNCH READY B19 12 GND B20 11 HSR DATA RDY B21 9 GND B22 13 HSR READY B23 14 DRIVE LEFT B24 17 HSRO B25 1 HSR MODE SELECT B26 10 HSR 1 B27 2 HSR2 B28 3 HSR3 B29 4 HSR4 B30 5 HSR5 B31 6 GND B32 24 HSR6 B33 7 HSR 7 834 8 42 1. 6 SYSTEM MODULES The GIC1600 Series Microcomputer Systems are built from a family of stand-alone, functional computer modules. All of these printed circuit cards are backplane com- patible and can be combined in various combinations to suit individual customer re- quirements. At present the GIC1600 Series Modules include the following: 1. 6.1 Microcomputer Card The Microcomputer Card contains the CP1600 Microprocessor and all the basic elements that are necessary for implementing a microcomputer system. It is packaged on a 9. 75" X 9. 25 x . 062 printed circuit board II II with a 140 pin connector for mounting into the card cage. The major functional units on the card are shown in Figure 19 and are composed of the following: 1) CP1600 Microprocessor 2) 10 MHz Crystal Oscillator 3) Clock Generator 4) External Branch Multiplexer 5) Data Bus Driver/Receiver 6) Address Register/Address Bus Control Logic 7) Control Bus Decoder /Driver 8) Real Time Clock (Optional) 9) Power Fail (Optional) 10) Initialization Address Selection Logic The following description details the logic and operation of the MC1600/ 1601 Card with reference to Schematic Dwg. No. DS-MC-002. CP1600 Microprocessor - This chip is the Central Processing Unit for the GIC1600 Series Microcomputer Systems. It is described in detail in the CP1600 Microprocessor User's Manual. Oscillator - The card contains an 8 MHz crystal oscillator (Yl & U2 -8, 9, 12, 13) that mayor may not be used. The output (OSC) is provided at the connector. In order to use the oscillator a jumper is inserted between J22 (MCLK) and J57 (OSC) on the backplane of the Microcomputer. Clock Generator - The clock generator circuitry divides the oscillator frequency (MCLK) into the high level, high speed, non-overlapping two phase clocks that are necessary for proper CPU operation. In addition, timing clock CK4 * is provided for the user. This signal corresponds to an internal CPU time slot (TS4) where most Data Bus and Control signal clocking is performed. U19 is a 4-bit parallel-access, presettable shift register. Initially, a 43 DATA 11-1\\ 16 I J I HI6 DATA BUS DRIVER/RCVR (Vl.U3 u, UI0l-- --------- I_ _>l~ tB5 EBCI -~U~ : ---BUS N~- , IE&:A¢-~ CPJaOQ. 6C1,2. C=~~U~TROL _-7f:::-:::----..J---I~~-~TR~*J (026) 1.o._ _ _.....L - ]~lA)1. CLOCK ~7'lNC* -RE.AL TIME- r-~eRA"OR CLOCK(OPT) I C-U&I\J\\V\' .. (u-L7)-U30) I I t------J POWE~ L_< I_OS<: FA\L-COPt) I< PF I t-J'- ('1J) (UI6) INTR'- FI G. \ 9 MICROCOMPU1E.R C.ARD BLocK DIAGRAM .. 0111 pattern is loaded while MCLR* remains at its active low level. When MCLR* is high, the 0111 pattern is continuously recirculated in the shift register by the MCLK signal since the output of the last flip- flop is connected to the input of the first stage. CKbc and CK3" are ORed together via Ul1-3, 4, 5, 6 and buffered via U8-2, 7 to provide 01 for the CP1600. 02 is formed in a similar manner. Ull is cross- coupled to prevent both 01 and 02 from being high at the same time. The card input, MCLR*, must be held low momentraily after the power supplies are stable. In the GIC1600 Systems, the MCLR push button on the Control Console would be depressed after the power supplies have been turned on. U22, 1-6, synchronizes the positive transition of MS YNC * with the falling edge of CK3 *; this is needed to synchronize the CP1600 with the clock. External Branch Multiplexer - In order to provide external branching capability, a sixteen to one multiplexer (U14) is supplied on this board. Each of the external branch conditions (EBCO-1S *) is "0" active so that a true condition is sensed by a logical "0". The BEXT instructions per- form the branch when the external branch inputs (EBCO-IS *) are logic "0". Data Bus Driver/Receiver - A 16-bit high speed driver/receiver com- prised of U1, U3, U7 and UlO is provided to buffer each of the 16-data lines of the CPU. The output of the driver is the Data Bus which is con- nected to the memory and all the peripheral by U1S. During CK1 * both inputs to latch U1S, 1-6, are held high. On the rising edge of CK1*, pin 1 will be set low if BDIR from the CPU is high, causing the latch output to latch high (CPU data to be transferred to the bus). Address Register/Address Bus Control Logic - A sixteen bit wide ad- dress register (U18, U21, U2S and U29) is supplied on this card along with an output driver (UI3, U17, U20 and U24). This register is clocked during CK4* if ADAR*, BAR* or INTAK* is decoded by U26. Access to the Address Bus for DMA operation is provided. A logical "0" input applied to DISBAR* will floate the address bus via U28, 10-11 and U22, 11-13 as long as the CPU has acknowledged BUSRQ* with BUSAK*. A MAXADR * input is also supplied, but it is used exclusively by the control console card to force the storage of the current program counter into address 177777 for TRAP interrupt instructions associated with the On Line Debug Program (S16Q)P) which is part of the Resident Operating System. Bus Control Decoder/Driver - CPU control lines BC1, BC2 and BDIR are decoded by U26 to provide the Control Bus signals. Each output control line of the decoder has an open collector output so that DMA control can be achieved by wire "OR"ing. As the decoder is enabled by CK1 * the Control Bus is valid only durin~ CK2, i CK3 and CK4 .. 45 Real Time Clock - The Real Time Clock option interrupts the CPU and supplies a starting address to the bus at specified intervals of time. U30 is a timer whose period can be set by user-selected components, RA, RB and CT. U27 syncs the RTC interrupt request with the CPU. Initially, the Interrupt Acknowledge (lACK) FF (U16) is "0". This allows an INTR* (Interrupt Request Not) via U9, 4-6, if there is a RTC or Power Fail (PF) interrupt request. The lACK FF is preset if either the RTC or the Power Fail (PF) is requesting an interrupt (U12, 1-3) and the INTAK* (Interrupt Acknolwedge Not) pulse comes from the Bus Control Logic (U9, 1-3) in response to the INTR*. INfR* is then raised high as soon as lACK is preset, again via U9, 4-6. During the NACT * time, which follows the INTAK * in an interrupt sequence, (see the CP1600 Microprocessor User's Manual) the RTCRQ FF (U27, 8-13) will be set to "0". The lACK FF enables U6, 11-13, which ultimately allows the starting address of the RTC interrupt routine (RTCSTAD*) to be placed on the bus. The lAB* pulse which appears in an interrupt sequence gates the address onto the bus via U9, 11-13 and also clears U27, 1-6 via U12, 4 -6, and U6, 8 -10, to allow future interrupts. The TCI (Term- inate Current Interrupt) software command will cause the CPU to generate a TCI signal on pin 26 of the CP1600, which will clear the lACK FF at the end of the RTC interrupt routine. Power Fail Option· - The Power Fail Option enables the user to save crit- ical register information if he has either a core memory or a semicon- ductor RAM memory with battery backup. The Power Fail Sense Signal In (PFIN*) is synchronized to the CPU by being clocked into U16, 8 -13 by the next available NACT * signal. As with the RTC above, PFRQ gener- ates INTR*. When the lACK is preset, PFSTAD* (Power Fail Starting Address) is allowed onto the bus during lAB. If the Real Time Clock Option or the Power Fail Option is not used, IPRO * (Interrupt Priority Out Not) is strapped to INTAK* (Sl to 00), so that INTAK * is enabled for the next card down the priority chain. U28 -1 is strapped to PB which is -t5 volts or the Power Fail Option is used, IPRO * is strapped to pin 8 of U12 (Sl to B1) and U28-1 is strapped to U16-6 (SO to AI). Gate U12, 8-10, prevents the INTAK* pulse from acknowledging an interrupt further down the priority chain if RTC or PF requests an in.., terrupt. Strap SO to Al is needed to mask out further interrupts down the priority chain while the IACK FF is set to a "1". Gate U6, 1-3, decides in favor of the Power Fail if the Power Fail requests an interrupt within the time an interrupt is requested by the RTC and the lAB pulse presents the interrupt address to the bus. Initialization Address Selection Logic - Two signals, STADO*-l*, are 46 provided by the Microcomputer Card for generating the starting address of the user's Interrupt Brancp Table. The user may tie on the back- plane either or both of these lines to Data Bus lines to eliminate the need for extra open collector drivers. For example, if the main program be- gins at address 030000: DBL12 *, 13 "\ should be tied to STADO *, 1 *, respectively. They are gated (US, 1-6) by DISTAD* (Disable Starting Address Not). DISTAD* is provided for use by the Control Console Card. The Control Console Card lowers DISTAD,,' when it interrupts the CPU, so that the program counter is forced to an address specified by the Control Console Card during IAB rather than the one specified by the user on the CPU card. On startup, for example, the Control Console Card would place the entry address of the Resident Operating System on the bus and lower DISTAD* to the CPU card; thereby causing the GIC1600 Systems to always start by typing S160DP VOlA. 1. 6. 2 2K Memory Card The 2K x 16 Memory Card provides the GIC1600 Systems with a 2K x 16- bit static random access memory (RAM). There are thrity-two 22 pin 256 x 4 static RAMs packaged on a 9.75" x 9.25" x .062" printed circuit board with a 140 pin I/O connector. These RAMs are TTL compatible and operate from a single +5 volt supply. Read access and write cycle times for the card are each specified as 550nsec maximum for all rated variations in power supply over the OOC to 55 0 C temperature range. The 2K x 16 Memory Card is shown in blo::k diagram from in Figure 20. The major functional units on the card are: 1) Memory Matrix 2) Row Decoder 3) Card Decoder 4) Bus Control Logic 5) Read/Write Logic The following description details the logic and operation of the RM1600 card with reference to Schematic Dwg. No. S-RM-012. Memory Matrix - The static memory is organized as 2048 rows of 16 bits each. Each horizontal grouping of four RAM's (main row) contains 256 of the rows. Each of the four RAM's in a horizontal grouping (main row) contributes 4 of the 16 outputs. Addresses 0-7 (BADRO* - BADR7 *) are applied to each group of 256 rows via U29 and U30. Main Row Decoder - The desired horizontal group of four RAM's (main row) is selected by enabling the chip select inputs on the four RAM's via the 3 -to -8 decoder U24. Card Decoder - U35 and U40 decide if this is the particular memory card 47 DATA I~ - B LOWER BYTE COt.JTROL I @ I :> D6LOlit -DBL 7. HIGHER BYTE CONTRoL 8 8 DA1'A OUT 8 D6L.S---DBlIS)ft BADRO*-> J [)x> (LOWER 6ADR1* I ' 044 2S. , . . . . .- BA[)RI'L~ DECODE.R. • It;~DR\"r.s .EAC\-\ -? .=-~MA1N_ROW­ IS --4096 J,16 1.6.~.al~ WORDS. "'I'Z.'YC~.~;~~~~~ER f + '\S .J LAiC~ I' J, 1'6 'MEMOI<'1' 'MATRI)( (EACH"RAM'ORG~NlZED ,AS _,._4Q~ .~ Memory Module: Memory Matrix - The memory is organized as 819 2 rows of 16 bits each. Each of the two main rows (horizontal groupings of 16 RAMs) contain 4096 of the rows. Each of the 16 RAMs in a main row contri- butes 1 of the 16 outputs. Addresses 0-11 (BADRO* - BADR11*) are applied to each group of 4096 rows. Main Row Decoder - The desired horizontal grouping of 16 RAMs (main row) is selected by enabling the chip select inputs on the 16 RAMs. BADR12 * is steered via LW1IT* and HG1IT* (as on the 2K x 16 Memory card) to two chip select drivers for the top row and BADR12 is steered via LWBT* and HG1IT* to two chip select drivers for the bottom row. Card Decoder - The card is selected via gating similar to the RM1600 2K x 16 Memory Card. HWI-3 are provided to select the particular 8K memory address block that the module will occupy. For example, if the beginning address is 20000, HWI should be tied to Vo while HW2 & 3 should be tied to GND. For systems using 1-8K module the backplane is wired for the lowest 8K in slot 3. Bus Control LogiC - The bus is driven via logic similar to the RM1600 2K x 16 Memory Card discussed above. Read/Write Logic - In addition to providing the read/write controls to the RAMs, this logic provides a NACT * signal to latch the output data after a read operation since the output data is valid only for a certain amount of time after the chip select signal falls. DC-to-DC Converter - A 12 volt to 15 volt converter is required to power the chip select drivers. 1.6.4 Control Console Card The Control Console Card provides the interface between the Control Panel and the CP 1600 Microproces sor • It is packaged on a 9. 75" x 9. 25" x . 062 " printed circuit board and a 140 pin connector is located on the edge of the card for mounting into the card cage supplied. Connection to the control panel is achieved with two flex cables and are connected to another edge- board connector mounted on the Control Console Card. Thie card contains control logic to handle all front panel commands as well as the required interrupt logic to interface with the CPU. The basic func- tional units on the card are shown in Figure 22 and consist of the following: 1) Data Multiplexer and Data Bus Driver 2) Switch Register 3) Status Register 51 ,~ DBLO-IS* , , 16 BADRO-IS· "' ... 16 , v I(c '~TR· , / IMSKO L" lNTERROPl IPRO~ .... L 1/ ~ ....... -;; ~AM INTAK~ ...... LOG\C ,II / I 1\ ~2 TCI~ ~ /' ,~ J "'- ADDRESS , , ~'6 ,/ "'- / MU~ .,4 \ 1I '1\ t -,- CONTROL'~ CONTROL- t4ALT AODRE-55 ROM , ~~ ,II -PANEL LOGIC. -, -; DA'l'A U'I tIJ -------- ~A INC ~ 16 ,- DATA \6 . ~ .... BUS 16 " ... ..,.....------ J J~. ~ -~ MUX ./ 77 LD RE.G ~ DR.\VER -------- SINGLe. t-JST - ll~ r7 -- - ----- , ... STATUS f- START /STOP '" REG1STE.R. ; - \<0 \~ - l' ~-'NTERRUPT ADDRESS ,.fIG ..... -SW \TC,,", ./ REGlSTER C.ON"TROL PANEL. v ,\~ . t>ISPLA '< k!. -- DR\VER f" F\G. 2.2. CO'N'TROL CO~SOLE. CARD ANO PA~EL ~LOCK D1AGR.AM. 4) Address Multiplexer 5) Control ROMs (Resident Operating System) 6) Scratchpad memory (RAM) 7) Control Panel Logic 8) Interrupt Logic The following description details the function and operation of the CC 1600 Control Module with reference to Schematic Dwg. No. DS-CC-007. Data Multiplexer and DAta Bus Driver, Switch Register and Status Register The data multiplexer comprised of U24, U23, U19, U18, U14, U13, U4 and U3 enables data to be placed on the data bus as a function of its two control lines, A and B: A B DATA a a ROM/RAM Output a 1 Switch Register Data 1 a Status Register Data 1 1 Interrupt Address (170000 for ODP) A=B=I: When the Master Clear Switch (MCLR*) is depressed after power is ap- plied, MAXADR* at U48-8 goes low. This, in turn, presets U44, 8-13 to a "1 ", forcing the multiplexer control signals (A at U33 -11 and B at U33 -3) to a "1". The Interrupt Address for the Resident Operating System (170000) will now be presented to the inputs of the data bus drivers U29, U28, U9 and U8. The first control signal from the CP1600 after MSYNC* goes high is an Interrupt Address to Bus (IAB*). (See Sec. 2.3 of the CP1600 Micropro- cessor User's Manual). IAB* is buffered by U48, 1-3. It then passes thru the Bus Control OR gate U52, 1-6, and allows the Interrupt Address onto the bus by gating on the data bus drivers. During the NACT time that follows the IAB on the Bus Control lines, the Interrupt address is stored in R7 (the Program Counter) in the CP1600. Then the CP1600 out- puts the Program Counter to the Bus Address Register on the MC1600 card and the On-Line Debug Program begins. (Part of Resident Operating System). ODP clears its pseudo-registers located in the ODP RAM (see Figure 2 - Memory Map). A=B=O: If data from the output of the 16-bit RAM comprised of U2, U7, U17 and U22 or one of the 10 -bit On-Line Debug ROMs comprised of U27, U37, U42, U47, U56 and U62 (the higher six bits are tied to a "1") are to be placed on the da.ta bus, the control signals A and B must be "0". A and S3 B being low is the normal quiesient state of the multiplexer; if the switch register, the status register or the interrupt is not requesting service by the user, A and B will be "0". Logically, to have U33 -3 and 11 low, U33- 1, 2, 12, 13 must be high. U33-2 and 12 are high since U44, 8-13 will not be set. U33 -1 and 13 will be high since address 177 XXX (which is required by the switch or status registers being steered thru the multi- plexer) has not been decoded at U38-9. The "1" at U38-9 is ORed thru U43, 4-6, U-43, 11-l3 and U43, 8-10 and presented to U33-1 and 13. Thus, the multiplexer will be steering RAM/ROM data in the data bus drivers unless otherwise directed. A=l; B=O: The switch register of the control panel is used for data and address entry. It can be inspected by the CP1600 by a MVI 177200, RO type instruction. When the first four high order bits appear as 1" s on the address register, U58-2 goes low enabling U38, U38-9, in turn, will go low for the first seven high order bits being 1. U43-6 will then go low for 1 III HI OXX XXX XXX. If BADR7 is high, B will be one and A will be zero. (The In- terrupt Address FF, U44, 8-13, is not set and both U33, 1-3 and U33, 11-13 are low. Note all addresses between 177200 and 177377 will decode in an identical manner and thus all are reserved for the switch register). With A=l and B=O, the multiplexer gates SWRO thru SWR15 onto the data bus. A=O, B=1: The status register of the Control Console Panel is defined below: 8 6 4 3 Bit ~~~~----~------~----~----~----~~~--~----~--~~ Note: All the bits in this register 1 o thru 7: RO-R7 are low active; i. e., a "0" in bit 8 indicates that the Single Instruct o O:SW\ 1: BA lever is depressed. Bits 0-3 indicate 2: BD to the Control Console Card which 3: 'ML See Section register is to be displayed. 4: MHy 5:FN 1.3.2 6: Fl 7: F2 This status register can be inspected by the CP1600 by a MVI 177000, RO type instruction. The decoding is the same as described above for the switch register, except that A will be zero and B will be one, since BADR7 is now 0 and not 1. (Note again that 1.11 addresses between 177000 and 177177 will decode in an identical manner and thus all are reserved for 54 the status register). UIS encodes the 8 register lines to 3 bits. With A=O and B= 1, the multiplexer gates the status register onto the bus. The data multiplexer is enabled for the ROM/RAM, the switch register and the status register since they all require 17 XXXX to be decoded which is done by US2, 8-13. Presenting the Interrupt Address to the data bus also requires 17 XXXX to be decoded; MAXADR*created by the interrupt places 177777 on the bus. Thus, the data multiplexer is enabled for all four uses. U40, U4S and USO drive the data display lamps in the Control Console Panel. US2, 1-6, serves as an OR gate to allow DTB*, lAB* and ADAR * to strobe the multiplexed data onto the bus through gates U8, U9, U28 and U29 when commanded by the CP 1600. ADDRESS MULTIPLEXER Multiplexer U36, U41, U46 and USI directs the Bus Address Register onto the Control Console Card in the Run mode (if the machine is not in the Single Instruct mode). In the Halt mode, the multiplexer places all 1 's onto the card, except for the least four significant bits, which are the en- coded register lines that are used as addresses to display the top 16 lo- cations of the RAM contents. When halted, the contents of the RO to R7 registers and the contents of the SW, BA, BD, ML, MH, FN, Fl and F2 registers can thus be displayed. The Halt signal forces 1 's on multiplexer USI 's output. US2, 8-13, decode these 1 's to a 0, which enables the data multiplexer. If the Control Panel is not disabled by DISCC * (Disable Control Console Not), the high level of the Halt signal on U61-2 passes to US2-6, which enables the data bus drivers and thus allows the RAM con- tents to be displayed during halt, if selected. In the Single Instruction mode, an interruptable instruction is placed on the data bus in place of certain non-interruptable instructions. When this occurs, DISDTB* at U21-10 goes low forcing USl-l high, which places O's on all the outputs of USl. This disables the data multiplexers and forces all their outputs low. When DTB enables the data bus drivers, the data multiplexer will not contribute any data to the bus, thereby freeing the bus for the NOP instruction needed for the Single Instruction mode. CONTROL ROMs The firmware necessary for the Resident Operating System and the On- Line Debug Program is incorporated in ROMs\ U27, U37, U42, U47, 056 and U62. They are all supplied with input addresses BADRO -8; each chip is selected by decoder U38 using BADR9-U. The ROM outputs are routed thru the data multiplexer as discussed above. 55 SCRATCHPAD MEMORY (RAMs) The top 16 locations of the Scratchpad Memory formed by RAMs, U2, U7, U17 and U22 store the RO to 7 registers and the SW, RA, BD, ML, MH, FN, Fl and F2 registers as shown in the Memory Map in Figure 2. The other 240 locations are used for temporary storage for the On-Line Debug Program. The RAMs are all supplied with input ad- dresses BADRO-7; all chips are selected by addresses BADRS-ll being all l' s via U63, 8 -10. The RAM outputs are routed thru the data multi- plexer as discussed above. CONTROL PANEL LOGIC The Control Panel Logic in conjunction with the On - Line Debug Program enable the user to inspect and modify CPU registers, memory locations and I/O device registers, and to read and punch paper tapes. When the CPU is halted, the control panel is enabled by usa, 3 -4. U30 debounces and latches LDREG, BA INCR, START/STOP and PCINH. If LDREG or BAINC is depressed when the machine is halted, an interrupt request is sent to the CPU via U34 and U57, 11-13. The CPU is also started in a delayed fashion via U25, 1-6 and delay inverters U32, 12-13 and U12, 1-4 so that the interrupt request is present at the CPU when the start command is given. The appropriate routine is then selected and exe" cuted under control of the ODP program. The machine is then halted. If the START/STOP switch is depressed and the machine is halted, the negative transition on U32-8 will cause a negative transition on U39-8. This will be ORed through U25, 1-6 causing the machine to start. After the machine is started, the HALT signal on U53-13 will go low, resetting the STRT FF, U39, 8-l3. If the START/STOP switch is depressed and the machine is running, U39- 6 will go low causing an interrupt and lowering STOP* via US, 3-6. A routine in ODP will then be entered which will note that STOP* is active and dump out the CPU's internal registers and the status word into ODP's RAM pseudo-registers before halting. In order to also update the pseudo registers when the machine is halted via an instrue~lon, a circuit is needed to detect a halt while running. When the machine is started, the low-going signal on U39-8 also resets U49, 6-12. When a halt occurs in the program, U44, 1-6 is set to a "1" by the halt. U44-6 going low restarts the programs via U25, 1-6, interrupts the CPU via U34, and lowers STOP* in the status register via US, 3-6, which tells ODP to write the CPU's registers and status word into ODP's RAM and halt. This last halt will not cause an in- terrupt again because U44-6 going low from the halt in the program dis- armed the D input of U44, 1-6, via U5-2 and 12 and U49, 8-12. U49, 8-12 is also set to a "1" via US -1, 12 & 13 when the machine is stopped via the 56 STOP/START switch to prevent the halt while running FF, U44, 1-6 from acting when it is not needed. When PCINH is depressed, the program counter is inhibited from being incremented to enable repetitive execution of a one word instruction. In this case, U21-12 drives PCIT * low until the switch is reset. PCIT * will also go low when the CPU decodes a TRAP instruction, which enables ODP to provide program breakpoints. The negative transition of PCIT* will fire the 500ns one-shot U26, presetting the TRAP FF U16, 1-5. U33 -8 will then fall causing an interrupt and telling the status reg- ister a TRAP has occurred. After the TRAP routine is executed, the TCI* (Terminate Current Interrupt Not) pulse clears the TRAP FF. Note that when PCINH is depressed on the control panel, the one-shot U26 is also fired setting the TRAP FF. Since a TRAP routine is unwanted, however, U32-1O does not allow the TRAP signal thru gate U33, 8-10 and also resets the TRAP FF thru U53, 4-6. To inspect the state of the microcomputer after each instruction, place the CONT /SINGLE INSTR switch down. The program can now be stepped through using the START/STOP SWITCH. Every time the START/STOP switch is depressed, an interrupt is generated which executes that one instruction, updates the pseudo-registers and the status word, and then halts the machine. For most instructions, this is done via pin 2 of state decoder U59 going low. U59 is made active only in the SI0JGLE INSTR mode via pin 12. U61, 8-13, decodes a MVO instruction; U60 decodes a CONTROL-type instruction (EIS, DIS, CLRC, SETC) and U25, 8-13 decodes a SHIFT- type instructiol1 : .Theseparticular instructions are not interruptible in the .CP1600 microprocessor. The state flow logic driving U59 allows the user to single step even these non -interruptible instructions. After executing the instruction, the logic forces an interruptible instruction, GSWD R4 onto the bus via U57 and U21, 10-11. The interrupt put out by U59-5 can then be recognized. The control console card's RAM is again then updated and the machine is halted. With this logic there are only two instructions that cannot be single-stepped through: TCI and HLT. The machine will halt on the first interruptible instruction following a TClor HLT. INTERRUPT LOGIC If the interrupt priority is enabling interrupts for the Control Console Card, ISMI on U48-4 and U31-9 will be low (not masked). Since the IACK FF U16, 8-13, is not set, U57 -13 will be high, allowing the interrupt request 57 when an interrupt occurs at U34-8. The acknowledge pulse (IPRI*) . which will occur in response to the interrupt request, passes thru gates U63, 1-3 and U48, 8 -10, setting the IACK FF. It also forces the ad- dress latch on the MC1600/1601 card to the maximum address where the present PC will be stored for the return to the program. The set IACK FF turns off the interrupt request via U31, 8 -10 and masks out lower priority devices from interrupting via U21, 5-6. The IACK FF also lowers the Dl'STAD * signal to prevent the machine from starting at the address specified on the CPU card, rather than at ODP's starting address generated on the Control Console Card. If a higher priority device in- terrupt service routine is completed, the IACK FF will again be set high when the higher priority device program finishes its routine and issues a Tel. The TCI pulse will clock the high (formed by the AND of IMSKI being high due to the higher priority interrupt and IACK being set) on its o input to its output. This allows the Control Console Card to finish its interrupt routine and keep lower order priorities masked out. At the end of the routine, the TCI pulse will clear the IACK FF. 1. 6.5 Input/Output Card The Input/Output card provides full duplex buffered communication inter·· facing between the Microcomputer and a Teletype, a High Speed Reader / Punch combination and/or an EIA device, such as a T.!. Silent 700 Data Terminal or the G. E. Terminet printer. The Teletype and the EIA interface is asynchronous; a. Universal Asyn- chronous Receiver/Transmitter (UAR/T) is used. When receiving data, The UAR/T converts an asynchronous serial character from the Teletype into a parallel character required for transfer to microcomputer bus. This parallel character can then be gated through the bus to the micro- processor registers or to some other device's register. When transmit- ting data, a parallel character from the bus is converted to a serial data stream for transmission to the Teletype Punch/Printer. The two data transfer units are independent; therefore, they are capable of simultan- eous two-way communication (full duplex operation). The high speed reader/punch works on a synchronous basis under the control of the Input/Output card. Figure 23 is the 1/01600/1601 Input/Output Module Block Diagram. The basic functional units of the card are: 1) Data Bus Multiplexer and Status Register Multiplexer and Control Logic. 2) TTY/ElA Reader/Keyboard Receiver & Receive Status Registers 3) TTY/EIA Punch/Printer Transmit and Transmit Status Registers 4) High Speed Reader & HSR Status Registers 5) High Speed Punch & HSP Status Registers 6) Interrupt. Logic 58 ~o W\ A CONTROL TTY I ~ RCVP. TT '1 ~E~OE.R /KE'1'SOARD L OGle READER/ -';:V ~ OR T.t ,SILENT KE""(60AR'D KE."fBD I RECE\vER. REulSiER fE:- I ~~~---+------~ I ,If ,1/ I Rs'Z31. J}Il'T ERR UPT REAOER. K.£"t50AR.O ::: ET~ r--..... ~VR ~ CONT~L IE- -STATUS REGISTE.R.. \(E.'CSD ~l ~ \1/ t ~ DATA BUS! a I ~"ERRUPT.' ~ STATUS ~ -8ll'S ~ DRIVERS --f- I TTY PU~C~/T. I. PRINTf~ r REG" ~ MP)( j TRANSMIT r:: ~ MP" -;;; I 2.0mA" RE.G I STE.R. r; DATAl I /' DR l' Ii'" PUNCH/ PRlN1'£R I « I -. . . . ~ ,If ' - - - - -.......1-+-11-1-1 AOoRE..SS eus "'"""'" lNTEAA\lPf'~ PUijCH I PRI~TE.R. t-- U1 I COKTROL. STATUS REG'~TER. " \D I R.523'2 . 'If JN1ERRUPT"Z -1' I - - - - - - - - H - +.... ETA" r+<0~ PRIJ..lTER f-- I4'G~ SPEE.'O IE-j-.... I :-" READER SUFFER ...'''_-+++-+-_---' I !~ aus~ I .-- l~E~UP1H~~ CONiRO\.. STATUS REG\STER I RC.VRCi H \G&-\ I '~ 1'--.--____----1.....-.+... ~~:;~I I INTERRUPT #3 4 -\~iRPT PUNC~ ~ ~~~~~~E~E;:~~~~ ~ -I-? AOORESS ~ I -ENCODER I IJ' \\.lT~RIJPI' . '---------I~·I- ~ I ... tNTe.RRUPrH~.s,p. CONT~OL STATUS REGlSTE.R,'t--- 'I ~\')PT ~ _ _ _ _ _ _ _~ 'l\IL.4 F"'G.Z?J_ I Jo \(oOO/IGOI lNPUT/Ou'TPU'T MODULE BLOCK D\AGRAM The receiver registers. transmitter registers. and status registers are each assigned an address. These addresses are assigned as follows: ADDRESS FUNCTION 167770 High Speed Reader Status - 8 - Bit Wide 167771 High Speed Reader Data - 8 - Bit Wide 167772 High Speed Punch Status - 8-Bit Wide 167773 High Speed Punch Data - 8 - Bit Wide 167774 TTY Reader/Keyboard Status - 8 - Bit Wide 167775 TTY Reader/Keyboard Data - 8 - Bit Wide 167776 TTY Printer /Punch Status - 8 - Bit Wide 167777 TTY Printer/Punch Data - 8 - Bit Wide The formats for the contents of each of these addresses are as follows: Address 167770 - High Speed Reader Status Register 7 6 5 4 3 2 1 o 0 0 0 I 0 i Interrupt Reader i Error iReady ! Enable Enable I! Summary: BIT NAME FUNCTION Read Only Bits o Ready Set to a logical "1" when a character is available in the Reader Data Buffer. Cleared by pressing the MCLR switch or by referencing the Reader Data Buffer. 1 Error Summary Set to a logical "1" whenever the Run-Load switch of the reader is in Load or when there is no tape or torn tape in the reader. Cleared when the error condition is corrected or when the MCLR switch is depressed. 2 Reader Enable A logical "1" drives tape to the left to read one character. Cleared by pressing the MCLR switch. Also cleared by the Ready signal indicating character available. 3. Interrupt Enable Set to logical "1" to allow Ready = 1 or Error = 1 to cause an interrupt. Cleared by pressing the MCLR switch or by disabling interrupts in the program. 60 Address 167771 - High Speed Reader Data 7 0 I DATA I Bits 0 thru 7 hold the data from the Reader. This buffer can only be read. When this data buffer is referenced, Ready is cleared. Address 167772- High Speed Punch Status Register 7 6 5 4 3 2 1 o I 0 0 0 o I Interrupt Enable I 0 I Error R ead y Summary I Read Only Bits BIT NAME FUNCTION o Ready A logical "I" indicates unit is ready to accept data to be punched. Cleared by pressing the MCLR switch; also cleared while the data is being punched. It is reset when new data can be loaded. 1 Error Summary A logical "I" indicates one of the following con- ditions: a) Perforator Run - Load switch in Load. b) Tape from supply is loose, broken or tight. c) Chad level has reached a predetermine height. d) Tape supply is low. It is cleared when the MCLR switch is depressed or when the error condition is corrected. 2 Not used 3 Interrupt Enable Set to logical "I" to allow Ready = 1 or Error =. 1 to cause an interrupt. Cleared by pressing the MCLR switch or by disabling interrupts in the pro- gram. Address 167773 - High Speed Punch Data 15 7 0 I 0 I DATA Bits 0 thru 7 hold the character to be punched. In this buffer, data can only be stored, not read. Storing data in this buffer causes that data to 61 be punched. which clears Ready until the data is punched and the device . accept d ata. can once agam I . Address 167774 - TTY Re'ldy/Keyboard Status 7 6 5 4 3 2 1 o 0 0 0 0 Interrupt Reader Error I I Enable Enable Summary Ready Read Only BIts BIT NAME FUNCTION o Ready Set to logical "1" when a character is available in UAR/T Data Buffer. Ready is cleared when data register is read into the CPU or when the MCLR switch is depressed. 1 Error Summary True signal indicates that a Parity Error. Framing Error. or Over-Run has occurred; cleared when the MCLR switch is depressed or when the error condition is corrected. 2 Reader Enable Set to a lOgical "1" to enable the Paper Tape Reader (not the keyboard) to read a character. Reader Enable is cleared when a legitimate start bit is detected or when the MCLR switch is depressed. 3 Interrupt Enable Set to allow an interrupt when Ready or Error is set to a logical" 1". Cleared by pressing the MCLR switch or by disabling interrupts in the program. Address 167775 - TTY Reader/Keyboard Data 15 7 0 I 0 I DATA Bits thru 7 holds the coded data frem the TTY Reader or Keyboard. This buffer is for read only operation. When data register is referenced. Ready is cleared. Address 167776 - TTY Printer/Punch Status 76543 2 1 0 ~_O__~__O__~__O__~___O__~II__~~:l~tl 0 o !ReadY Read J 62 Only Bit BIT NAME FUNCTION o Ready Set to logical "1" when Punch/Printer is available to accept data. It is cleared when Printer/Punch Data Buffer (UART /T) is loaded and reset when new data can be loaded. It is also cleared when the MCLR switch is depressed. 3 Interrupt Enable Set to logical "1" to allow Ready = 1 to cause an interrupt. Cleared by pressing the MCLR switch or by disabling interrupts in the program. Address 167777 - TTY Punch Data 7 0 o I DATA I Bits 0 thru 7 hold the character to be punched. In this buffer, data can only be stored, not read. Storing data in this buffer causes that data to be printed and punched, which clears Ready until the device can once again accept data. Typical flow diagrams showing computer interaction with the keyboard, reader, punch and printer are shown in Figures 24, 25, 26. The following description details the function and operation of the 1/01600/ 1601 Input/Output Module with reference to Schematic Dwg. No. DS-IO-017. Data from the TTY Reader/Keyboard Buffer, the High Speed Reader Buffer, the Status Registers, and the Interrupt Address are fed into a multiplexer. The multiplexer control is determined by which device is selected by the software program. The input/output interface has four channels of interrupts; two for the receiver section (High Speed Reader and TTY Reader) and two for the transmitter section (High Speed Punch and TTY Punch). These four cir- cuits operate independently, except that the receiver takes priority on simultaneous interrupts. The high speed reader and punch have a higher priority than the TTY reader and punch. Four interrupt vector addresses are generated by each interrupt section. The interrupt addresses can be changed by selection of jumpers provided on the interface board. The input/output interface has a 20 rnA current loop, electrical interface for the TTY paper tape Reader control, and a control line to energize the paper tape Reader Run Relay which is an internal modification to the 63 seT \NTER~UPT Et-.l~BLE. =- \ \1 MA.IN PROGRAM MA\N - PROGRAM --'" .... 11j ~o REAO,"( NO- :.\? READ , 'YES C~A.RA.CTE.R. INTERR.UPT ec~o C\-\ARACTE.R RE~O TO PR\NTE,Q C.H A.RACl e. R. \' POLL\NG ECl40 C\4A~C.iER BAS'S TO P~'NTE~ \NTERRUPT SAS\S F\G.24. \ \ '( lElA KEYBOARD FLOW D\~C;RAM. 64 SET INTERRUPT E~A8LE =( SET READE.R. . E.~Ae,LE :. I SET READER ENABLE=I N YES READ C~ARACTe.R INTERRUPT BAS'S FlG .25. HtGI4 SPEE..D/'TTY READER FLOW D\AGRAM_ 65 SET ItJTERRUPT e.toJ~61..E. :. , MA\N PROGRAM ~o NO YES LOAD PUNC1-4/ \NTERf:1='UNCH/ TRAl\lSM ,,. P R'NTER BUFFER OA'TA lRA~SM\T POLL\~G O~-r A. -B~S'5 INTERRUPT BA.S'S FIG.l£>. iTY PUNC\-\ /~\GH SPE.ED PUNCH ~ND ,1"'( IE.\ A ?R\~TE.R FLOW D\A.GRAM. 66 ASR 33 explained in Section 1. 5. 1. This relay allows computer control of the reader during on-line operation. A. T. 1. Silent 700 Data Terminal Model 733 or equivalent EIA-Compat- ible terminal, which can provide selectable printing speeds of 30 char- acters per second as well as keyboard operation, can be controlled by the input/output interface board. A Remex Model 6375 Reader/Punch Combination (or equivalent - see Section 1. 5.2) capable of reading paper tape at 300 characters per second and punching t(,lpe at 75 char- acters per second, can also be driven by the input/output interface. The basic Card Dimensions of the input/output interface is 9.75" x 9.25" x . 062" with a 140 Pin Input/Output connector. Data Bus Multiplexer & Status Register Multiplexer and Control Logic U13, U8, U7 and U12 form the Data Bus Multiplexer. The multiplexers are enabled via pins 1 and 15 for all status register data (addresses 167770, 167772, 167774, 167776), for the low and high speed reader data registers (167771 and 167775), and for inter:rupts. U25, 8-11 pro- vide the required ORing function of the address decodes and the inter- rupt signal. Data enabled to be placed on the data bus is also a function of its two control lines, A and B: A B DATA 0 0 Low Speed Reader (UAR) 0 1 Status Register 1 0 High Speed Reader 1 1 Interrupt Address A = B= 1: The quiescent state (when address 16777 X is not being decoded) of the control lines is A = B = 1. This allows one of four interrupt addresses to be placed on the data bus when an interrupt occurs. Although the interrupt addresses can be changed via changing the straps, the stan- dard strapping from the factory is as signed as follows: Interrupting Device Interrupt Address High Speed Reader 0000010 High Speed Punch 0000012 Low Speed Reader 0000014 Low Speed Fuooh 0000016 A== B= 0: Data from the Low Speed Reader is held in the low speed receiver register, 67 which is the holding register of Universal Asynchroncus Receiver/Trans- mitter (UART) U3, 5-12. Gates U30, U31, U25 (1, 2, 12, 13), Ull (8, 9), and U39 (5, 6) decode the 16777 X part of the reader /punch addresses defined in the previous section. U44 decodes the last three bits into eight lines. If the LSR (167775) is selected, U44-3 would go low, forCing control line B (U42-6) to O. Control line A (U46-8) is also 0, since U31-6 is a (16777X is de- coded) and U44-6 is 1 (167771 is not decoded). The LSR data thus selected will be presented to the data bus when BDTB* on UI0-10 goes low, enabling data bus drivers Ul and US. A = 1, B = 0: Data from the high speed reader are presented to the data bus drivers when address 167771 is decoded on U44-6, causing A (U46-8) to go high and B (U42-6) to go low. A = 0, B = 1: Data from the status multiplexers U27 and U28 are presented to the data bus drivers when address 16777X is decoded on U31-6, but address 167771 (high speed reader) or address 167775 (low speed reader) is not decoded. These conditions will force A to be a and B to be 1. (The punch data addresses never enable the data multiplexers and thus can be ignored). The four (LSR, LSP, HSR, HSP) status registers will place their data (see bit assignments in previous section) onto four least significant data bits of the data bus as follows: A B STATUS REGISTER ADDRESS a a High Speed Reader 167770 J 1 Low Speed Reader 167772 1 a High Speed Punch 167774 1 1 Low Speed Punch 167776 If the HSR status is required, for example, both A for the status mux (U46-11) and B for the status mux (U46-3) will be 0, since only U44-9 and not U44 -2, 4 or 6 is low. The other status mux controls are simi- larly decoded by U46, 1-3 and U46, 11-13 from the outputs of address decoder U44. The Low Speed Reader Status Register is contained in flip-flops U33, U23, 5-9 and U23, 9-15. Errors in parity (U3-13), framing (U3-14) or over- flow (U3 -15) are ORed together to form the LSR error summary bit of 68 the TTY Reader /Keyboard Status register after being clocked by NACT * into the LSR Error FF, U23, 9-15. The UART's Data Available U3-19 serves as the LSR Ready bit, after being clocked by NACT* into the LSR Ready FF U23, 5-9. When the LSR address 167775 is decoded on U44-3, U45-13 will go high when strobed by BDTB* and reset DAV (Data Available). The Low Speed Reader Enable FF, U33, 1-5 and the Interrupt Enable FF, U33, 9-13 will be set on the clock edge if DBL2 and DBL3, respectively, are high (see bit assigrunent in previous sec- tion). The flip-flops are clocked by the Low Speed Reader decoded address 167774 ANDed with DWS* (Data Write Strobe Not). The Reader Enable FF is reset by the start bit of the incoming asynchronous data word via U4, 11-13. TTY /ELA Punch/Printer Transmit & Transmit Status Register DBLO * thru DLB7 * are loaded into the Data Bit Inputs of the transmitter section of UART U3 with the pulse on U49-13 formed by the AND of the LSP address decode on U44-1 (167777) and DWS*. U9-3, 4, 10, 11 drives the TTY punch/printer. U14 provides EIA level signals (ELA in- terfacing is available only on 1/01601 Module). U34 and U29 provide the required clocking signals for the UART. The BAUD RATE strap is fac- tory set at 110 baud, although 330 band (30 char/sec) can also be selected. The LSP Status Register is contained in flip-flops U23, 9-12 and U50, 9-13. The LSP Interrupt Enable FF, U50, 9-13, will be set on the clock edge if DBL3 is high. The FF is clocked by the LSP decoded address (167776) ANDed with DWS*. The LSP Ready FF is set if TBMT (Trans- mit Buffer Empty) from the UART is a "1", signifying that the UART is ready to accept another character. High Speed Reader & HSR Status Registers The HSR data register is effectively contained in the high speed reader itself and enters the 1/01600/1601 module on J2-1 thru J2-8. Whenever HSR data is to be read, the Reader Enable (Drive) FF U51, 9-13 must first be set via the program. The program will set DBL2 high, setting the flip-flop upon receipt of the clock signal (U49-1) formed by the AND of the HSR address decode (167770) and DWS*. (The HSR Interrupt En- able FF US1, 1-5 is set in a similar manner). The Reader Enable (Drive) FF causes the reader to drive to the left one step. When data is available from the HSR, HSRDAV on B21 goes high, firing one-shot U38, 1-4 and 14-15. (U38-4 going low will reset the Reader Enable (Drive) FF via U4, 4-6). The rising edge of the one-shot's pulse, which will occur 1. 5 ms later, will clock a one into U37, 9-13 if the reader system is ready; i. e., the RUN/LOAD switch is in the RUN position and the power is on. The 1. 5 ms delay serves to insure settling 69 of the reader drive before data is read and to prevent the computer from exceeding the maximum operating speed of the reader. NACT * will clock HSR Data Ready FF, U32, 9-12 and the HSR Error FF, U32, 9-14. High Speed Punch & HSP Status Registers DBLO* thru DBL7'* are loaded into latches U17 and U18 via a clock on U45-4 formed by the AND of the HSP address 167773 and DWS*. The falling edge of the HSPSTB clock triggers ... DATA 16 .... ...- , / ,I .... 3 ROW ,J9 . " BUFFER DE 0'" - BADR9'*- \ 6A.DR14 ~ " ~ ,. DECODE.R ...... "... ...- 11\ 5* ,,9 ..... ,. I 'TO 8 ROWS- .... ". E.ACH ROW \ S 19 .... 5\2 IGBIT WORDS • ...- ".... ....... J' '"..... MEMOR'< MA."R~~ I ,; ...... , 51'2 )( \G ,0 409G. ~ \(0 • ,,9 ...... EAC~ PROM .,( oR..G~ l"'Z.. E. t:> ,[\ AS 5>12)(8 • ,..... OUTPUT I'~ ITB__ COt-Jt'ROL ...,J ,...... BADRI2'11'-\ BADR ISit'c \ ...- . - - - ,. ~ MEMOR'I I ,. MEMOR'I -"'" LOGle IE--'ADAR~ lLOGle Dl S DT511_\ ..... CARD ,.___ __ . ... .., DE.LA'( ,. _DEC.ODER - --- - - ...,. ~W\-H'N4 ... ", ' ~-'"' - . ~ r CIRCUlT ORO)' / FIG,27. 4K~ IG PRCM CARD reset its acknowlf'...;:;ge FFif it has already commenced its device routine. 1. 6.6 4K PROM Card The PM1600 PROM Memory Module has 16 sockets for 512 x 8 PROM chips, chips, such as National Semiconductor's MM5204. The total capacity of the card is 4096 words of 16 bits each and as many cards as re- quired can be used to meet the particular program requirement. The PM1600 PROM Memory Module is useful during the initial product de- sign phase before freezing the program for a production quantity of • lower cost masked ROM's, such as General Instrument's RO-3-8316 (2K x 8) or RO-3-20480 (2K x 10). The nine lower order address bits are applied to each PROM. Refer to Figure 27. BADR9*-BADRI4* select a main row of 2 PROM's, while BADR12 *-BADRI5 * select the particular PM1600 module. A memory delay circuit is used to insure that the CP1600 waits until stable data is available from the PROM's. 1. 6. 7 General Purpose Interfacing Card Additional peripheral interfacing capability to the GIC1600 Systems can be provided by the GP1600 General Purpose I/O Module. It has 2 16-bit data input ports, 2 4-bit status data input ports, 2 16-bit latching data output ports and 2 4-bit latching status data output ports. All ports are accessible under software control. Wire/wrap sockets can be accom- modated on the card for specific interface circuitry. The Data Bus lines, Address Bus lines, Control Bus lines and other signal lines, such as the interrupt and bus request handshaking signals, are brought from the edge connector to wire/wrap pins to facilitate prototype development. The module select logic uses BADR3 *-15 * and four wires on the backplane (HWI-4). Refer to Figure 2S. The three low order address bits BADRO* -2 * are decoded such that one of the eight ports can be addressed. The input ports are fed to the data bus thru a multiplexer whose control lines are fed from the address decoder. The output ports are fed from the Data Bus to latches which are strobed by the address decoder. 72 , .. DA-rA BUS ./ " '" If\ ./ 16.( I~ , _ _ \~ , ..... l~/ , H·LA.TCJ.l~OUT I \<0 ) I ~ CUR. ..... ~ -4. IsrATUS..--, STAT IN I -+-i LATCl-I '-----« S TRO 6e. ~ '[----. ~ ~CUR~£NT IN 2. > 161 I = 111( 14, ~ r~ c? MPl< DRIVE.R " STATUS LA"TC.H 4 I STAT. > OUT I --"" CUR. S1Al \N '2. 4. ISTAllJs~ I +-t LATCH I I '4 }2 I~ STRO&e. ~ -..J W t1\ ·l..ATC~ f(O I ~ OUT 2. :fJ ... l SiROSE. r 4 MODULE SELEC.T ADDIOUT 2 j) 13; }4 If\ If' /f\ r--- I STROBE. NACT BADR3-\S BA.DRZ I BADRO DTB HWI-4 BADR.I ows FIG.28 . GPICDOO GENERAL PURPOSE. I/O MODULE. -BLOCK DlAGRAM .. CHAPTER 2 GIC1600 SUPPORT PROGRAMS 2.0 INTRODUCTION The GIC1600 $eriel3 Microcomputer System is supported by a comprehensive firmware and software package which provides the user with a powerful yet low cost program development facility. The firmware, resident in Read Only Memory (ROM) is a small operating system which includes a monitor, an on -line program debugger, a relocating program loader, a memory dump routine and a collection of utility sub- routines. The software includes a symbolic assembler, a relocating linking loader, a text editor, a system diagnostic program and an extensive library of subroutines. 2.1 RESIDENT FIRMWARE The ROM resident operating system, an integral part of the GIC1600 microcomputer, provides the user with a convenient and easy to use facility for developing and de- bugging CP1600 programs. 2.1.1 MONITOR The resident monitor supports control panel functions and recognizes a set of symbolic commands which are used to control the GIC1600 microcomputer. Front . panel functions are provided by interrupt driven routines which en- able the user to inspect and/or modify CP1600 registers & memory and input/ output device registers by depressing awrcpriate switches. Control commands are processed by the resident monitor interactively via a teletype terminal. Upon initial start -up via a system master clear, the monitor types an identi- fying message on the teletype and then types a currency symbol "$" on the next line. The "$" prompts the user to enter a control command on the tele- type keyboard. Such commands are entered as lines terminated by a carriage return character. The monitor responds to a command with a line feed and then processes the command. If a command is unrecognized or contains an error, the monitor types a question mark "?", indicating the command has been rejected. Another command prompt "$" is then typed on the next line. When processing of a valid command is completed, another command prompt is typed on the next line. When additional data is required during command proc.essing, the user is prompted by a colon ":". Data is entered as unsigned octal numbers of one to six digits, i. e., 0-177777, with leading zeros option- al. Data is always displayed as unsigned six digit octal numbers. Charac- ters in a line may be deleted one at a time by typing a "rubout" for each character to be deleted. The monitor responds by typing the characters de- leted in order surrounded by " ....... ". Entire lines may be deleted by typing "~ " 74 instead of a carriage return. Monitor input/output is conducted using full duplex polled mode so that programs utilizing the teletype in interrupt driven mode can be debugged on-line. 2.1.2 ON-LINE DEBUGGING The On-Line Debug Program (OOP), an integral component of the resident firmware, aids in rapid debugging of CP1600 programs by providing the follow- ing capabilities: Display and/or modify CPU registers, status word, memory and I/O device registers; search and initialize memory; program breakpoints and relocation origins and modifications of branch and jump instruction destin- ations. Program execution may be suspended and control returned to OOP during pro- gram debugging in order to inspect registers, memory, etc. by setting break- points. Up to eight program breakpoints may be set shnultaneously, each of which causes OOP to insert a SIN instruction at the specified address and save the original instruction. When a SIN is executed, an interrupt is generated which causes program control to be returned to OOP and the address of the ex- ecuted SIN to be saved. Upon entry, OOP scans its table of active breakpoints to determine if entry is due to a breakpoint. If a breakpoint caused entry, "Br@ataaaa" is typed to inform the user which program breakpoint was reached. OOP then removes all active breakpoints so that the program is restored to its original state, i. e., no SIN instructions before interaction with the user via the monitor is resumed. When the user enters a continue command indicating the program execution is to be resumed at the current breakpOint, OOP checks for an active breakpoint entry, rejecting the command if no breakpoint entry is acti\{'!o OOP then analyzes the breakpointed instruction and CPU status to determine which instruction after the breakpointed instruction will be executed. The in- struction is saved, a SIN inserted at this address and the breakpointed instruc- tion restored. Program control is then transferred to the restored breakpointed instruction, causing the CPU to execute it and the hnmediately trap back to OOP because of the SIN at the next instruction address. The breakpointed instruction is then saved again, a SIN inserted, the continuation restored and program exe- cution resumed. Thus, whenever the user is interacting with OOP, the program environment is undistlmbed and the instructions at breakpoints may be changed before execution continues. There are no restrictions on breakpoint placement except that the breakpoint address must be at the first word of a multi -word in- struction. If a SIN entry is unknown, i. e., not a breakpoint or the user has not defined a trap address, "T@aaaaa ?" is displayed indicating that an unknown trap from address aaaaa caused entry. In this case all active breakpoints are remo\{'!d from the program and interaction with the user via the monitor initiated. A sub- sequent continue command, however, will be rejected because a valid breakpoint did not cause entry. Although there are no restrictions on breakpoint placement, continuation from 75 a breakpointed BEXT instruction or from most instructions which alter the contents of register 7, the program counter, is not permitted. Con- tinuation is, however, provided for from breakpointed PULR PC (MVI R6, R&), JR Rn (MOVR Rn, R7) and MVII i, R7 instructions. Program development and debugging efforts can be minimized by using modular programming techniques. CP1600 software enables the user to separate a pro- gram into logical sections or modules conveniently. These modules may be assembled separately and then linked together, relocated, and loaded prior to execution. ODP enables the user to reference addresses within a module rela -. tive to its assembly base address by setting an Origin to the relocated module base address. The user is thus relieved of the task of computing relocation addresses during debugging. An address may be expressed relative to Origin n(0-7) by entering the address value in the following format: On+a. For ex- ample, if Origin 3 is set to 2053, 03+16 specifies address 2071. Addressing may be specified in this fasion in any command which contains address speci- fication(s) . When ODP is processing a comrriam which results in extended output on the tele- type, such as display addresses and search address, the user can cancel the activity by depressing the "CTRL" key while striking the "C" key. This causes the activity to be canceled and another command prompt "$" to be displayed. In the following command description& required items are underlined and "i" represents a carriage return. Command Function $1c ...... c! Commentary. $!:!:J Inspect/modify contents of address a. $Bn, aJ, Set breakpoint n (0-7) at address a. $B, all Set next available breakPoint at address a. $Bnl Remove breakpoint n (0-7). $B,t Remove all breakpoints. - ..... $CnJ Continue execution from current breakpoint (n times). $DAl,.hl. Display contents of addresses 1 to h inclusive. $DB,t- Display active breakpoints. $ooj - Display active origins. 76 Command Function $DR»- Display contents of registers 0-7 and status word. $DT~ Display current SIN trap vectoT address. $Ea~ Execute at address a, if no address is specified the current value of R7 is used. $lA1, h, v, m,i Initialize the contents of addresses 1 to h inclusive to value v using mask m. If no mask is specified, 177777 is used. $Mlh,bt Modify the branch instruction at address a for destin- ation address b, Modify the jurrp instruction at address a for destination address b. $On, ai Set origin n (0-7) to address a. $~ Set next available origin to address a. $On.J- Remove origin n (0-7). $Qj Remove all origins. $Rn~ Inspect/modify contents of register n (0-7). $~ Single step instruction at address a, if no address i specified the current value to R7 is used. $SA1, h, v, ml Search address 1 to h inclusive for value v using mask m. The mask is used to extract the corresponding bits from the contents of each address before the comparison with the value takes place. If no mask is specified, 177777 is used. Inspect/modify status word. Trap to address a, i. e., set SIN trap rector address. Deactivate SIN trap vector. 77 2.1.3 RELOCATING LOADER The resident relocating program loader is used to read relocatable and absolute paper tape load modules into memory. The following commands are used to initiate loader activity. Command Function Load relocatable or absolute binary paper tape from device d (L = low speed reader, i. e., TTY;H=high speed reader). If address a is specified and the tape is relocatable, load- ing begins at address a. If address a is not specified, loading begins at the origin address specified on the tape. $Mla, bi, Set lower and upper load memory limits to addresses a and b respectively. If a and b are not specified, the current memory limits are displayed. The memory limit command is ,used to protect program code which may be resident in memory from accidental corruption during program loading. Up- on successful completion of a program load, a summary is typed which indicates the initial address and final address loaded and if an entry was specified in the load module, its address. During loadfug several error conditions may arise which cause the load to be aborted. Such errors are reported to the user by one of the following messages which are typed on the teletype. L@aaaaaa - memory limit violation, i. e., a word is to be loaded into the indicated memory location which is outside the currently defined memory limits. M@ aaaaaa - memory failure, i. e., a word has been stored into the indicated memory location and cannot be correctly read back. Possibly due to a non existant memory cell, a ROM memo;ry cell or a defective memory cell. R - user has specified relocation for an absolute load module. T - user is attempting to load an object module or non binary tape, i. e., source tape. C - an error has been detected while reading the last tape record. As each record is read, a check sum is computed which is compared to the tape record check sum. ' E - end of medium or device error has been detected on the high speed paper tape reader. 78 2.1.4 MEMORY DUMP The resident memory dump routine is used to punch a memory image tape of a specific area of memory. The tape: is formatted as an absolute load module wnich can be loaded back into the same memory area using the resident loader. The following command is used to initiate punch activity:· Command Function $Pd, 1, hJ. Punch the contents of addresses 1 to h inclusive on paper tape in absolute format using device d (L = low speed punch, i. e., TTY; H - high speed punch). The paper tape dump may be cancelled by typing "CTRL/C" on the teletype keyboard. If the high speed paper tape punch runs out of tape during the dump, "E" is typed to so indicate and the dump is aborted. 2. 1. 5 TAPE DUPUCATION Paper tapes of any format may be duplicated using the high speed paper tape reader and punch by entering the following command: Copy tape on high speed tape reader and punch. Copying continues until end of tape is sensed or until the user types "CTRL/C" on the teletype keyboard. If an error or end of medium on the reader or out of tape on the punch is de- tected. an "E" is typed and the tape copy 1isJtaiminalted. 79 2. 1. 6 UTILITY ROUTINES The GIC1600 resident firmware contains' several general purpose utility subroutines which may be utilized by user programs via subroutine calls aSR. R5 instructions). The following list describes each subroutine function, its entry address and its general characteristics. BINOCT - Binary to six digit ASCII octal conversion. Entry address: 175000 Inputs: RO = binary' quantity to be converted. Rl = buffer base address. Output: Six octal digits stored in the low byte of each buffer word. The most significant digit is stored in the first (base address) buffer word. Registers 0-4 unchanged. OCTBIN - Six digit ASCII oChl to binary conversion. Entry address: 175002 Inputs: One or more ASCII octal digits stored contiguously in the low byte of each buff er word, most significant digit stored in base address of buffer. Rl = buffer base address. Outputs: RO = binary quantity. Rl = address of character at which conversion terminated. I:.eading spaces are ignored and conversion is terminated on the first non octal digit (0-7) or when six digits have been. converted. Registers 2-4 unchanged. TYPSTR - Type character string on teletype. Entry address: 175004 Inputs: R4=character 'string base address. ASC1I characters to be typed are ~tored in the low byte of each word with a zero byte terminating the string. Outputs: None Registers 0 -3 unchanged. TYPR2 - Type ASCII character on teletype Entry address: 175006 Input: R2 = character Outputs: None Registers 0-4 unchanged. TYPOCT - Convert binary quantity to six digit octal and type on teletype. Entry address: 175010 Input: RO = binary quantity to be converted. Outputs: Nona Registers 0-4 unchanged. 80 TYCRLF - Type carriage return ~d line feed on teletype. Entry address: 175012 Inputs: None Outputs: None Registers 0-4 unchanged. SELDEV - Select paper tape device. Entry address: 175014 Input: RO ::: 0 - low speed device (TTY) RO ::: 1- high speed device (HSP) Outputs: None Registers 0-4 unchanged. PUNLDR - Punch 100 frame paper tape leader on selected device. Entry address: 175016 Inputs: None Outputs: None Registers 0 - 4 unchanged. PUNWRD - Punch word on selected device. Entry address: 175020 Input: R2.::: data word Outputs: RO - check sum accumulation. Registers 1- 4 unchanged. Note that each word results in two data frames, low byte, high byte. PUNR2 - Punch byte on selected device Entry address: 175022 Input: R2 ::: data byte (low byte) Output: None Registers 0-4 unchanged. RDFRM - Read byte from selected device. Entry address: 175024 Inputs: None Outputs: R1 ::: data byte (low byte) Registers 0, 2 -5 unchanged. INURSP - Type on teletype and then input character I t : It tring from teletype. Entry address: 175026 Inputs :N:>ne Outputs: R1 = buffer base address R2 ::: first character Input characters :in low byte of each buffer word. Registers 0, 3 ..4 unchanged. Note that input is via the resident monitor which provides character 81 echo, character delete (rubout) and line delete (of-) facilities. The character string is terminated by a carriage return (15 returned in buffer) to which the monitor responds with a line feed. CHKUSR - Sample teletype input register for CTRL/C character. Entry address: 175030 Inputs: None Outputs: Status word C bit set if CTRL/C detected, cleared otherwise. Registers 0-4 unchanged. INSTR - Input character string from teletype. Entry address: 175032 Inputs: No register inputs. Calling sequence as follows: ]SR R5, INSTR BYTE buffer b~se address WORD number of buffer words WORD 'c' (prompt character) Outputs: Input characters in low byte of each buffer word. Registers 0-4 unchanged. Note that input is via the resident monitor which provides character echo, character delete (rubout) and line delete ( ... ) facilities. The character string is terminated by a carriage return (15 returned in buffer) to which the monitor responds with a line feed. 82 2.2 ON-LINE SOFTWARE The On-Line software supplied with the GIC1600 Microcomputer System provides the user with a sophisticated program preparation facility which is especially oriented toward developing CP1600 programs using modular techniques. The Symbolic Assembler (S16AL) allows source program tapes to be segmented in order to simplify editing, recognizes global symbols and external symbol references and generates relocatable object modules. The Relocating Linking Loader (S16RLL) relocates, links and loads object modules produced by either S16AL or the Series 1600 Cross Assembler (S16XAL). The text editor (S16TXE) provides source tape editing facilities at both line and charac- ter levels in order to simplify source program tape preparation and correction. The system diagnostic program (S16DGS) is used to test and establish confidence in the GIC1600 Microcomputer System. 2.2.1 S16AL SYMBOliC ASSEMBLER The Series 1600 Symbolic Assembler (S16AL) is a program preparation aid which supports General Instrument's family of 16-bit microprocessors. It translates ASCII coded alphanumeric source programs into several different types of binary machine coded paper tape object modules. 2.2.2 FEATURES Symbolic representation of all CP1600 instructions Literal representations in Octal, Decimal, Hexadecimal, Binary and Character notation Arithmetic evaluation of operand expressions Assembly directives for Controlling memory allocation Defining character strings Specifying input/output options Establishing conditional assemblies Declaring global and external symbols Assembly in three forms Absolute Relocatable Relocatable/ Linkable Program listings Error diagnosis 83 2.2.3 OPERATION The S16AL Symbolic Assembler converts symbolic source programs into binary machine code in a two pass process. During the first pass through the source program, all user specified symbols are placed in a symbol table containing the symbol, its value, and several other attributes. During the second pass through the source program, symbolic instruction mnemonics are translated, symbol references resolved, errors diagnosed, binary machine code gener- ated, and a program listing produced. The binary code produced by the S16AL assembler can be formatted in several ways depending upon the use of assembly directives. If the source program specified an absolute assembly, the binary code is formatted as an absolute load module which can be loaded but not relocated by the resident loader and subsequently executed. If the source program contains global symbol defini- tions and/or external symbol references, the binary code is formatted as a relocatable object module. Relocatable object modules must be linked together by the relocating linking loader (S16RLL) prior to execution. If the source program does not contain globals or externals, the binary code is formatted as a relocatable load module which can be relocated and loaded by the resident loader and then executed. 2.2.4 SOURCE PROGRAM FORMAT A S16A;L source program is composed of a sequence of statements with each statement contained on a single line terminated by a carriage return charac- ter. A statement may contain up to four fields which are identified by their appearance from left to right. The general format of a S16AL state- ment is: Label, Operator, Operand, Comment. The label and comment are optional, while the operator is always required. The presence and nature of the operand depends upon individual operators. It is recommended that statements be lirrrlted to approximately 50 characters so that assembled programs can be printed on teletype or other terminals. Label A label is a user defined charact er string, used to symbolically reference a specific location within a program. If a statement contains a label, the label must begin in the first position of the statement. Labels may contain up to six characters; the first of which must be a letter (A-Z), a currency symbol ($), a question mark (?), or an ampersand (&). The remaining five optional cParacters may be any valid ASCII character except a blank space, since a space serves as the label terminator. Labels conm.ining more than six characters cause a diagnostic to be issued and are truncated after the sixth character. Labels must be unique in the first six characters, i. e., a specific character string cannot be used in the label field of a statement mo~e than once in a program. Multiple use of a label causes a diagnostic to be issued and the subsequent definitions of the label to be ignored. 84 An operator follows the label field in a statement. A statement operator contains up to four characters and may be an instruction mnemonic or an assembly directive. Instruction mnemonics are symbolic character strings which represent the various Series 1600 microprocessor instructions. As s err, bly directives are symbolic character strings used to represent certain func- tions or actions performed by the assembler during the assembly process. If a statement does not contain a label, the operator must be preceded by at least one blank space. If the operator is the last field in a statement, it is followed by a carriage return, otherwise it is followed by a blank space. Operand An operand follows the statement operator separated by at least one blank space. The operand represents an item or items to be operated upon by the statement operator. Operands may be symbols, literals or expressions. When multiple operands are used, they are separated by commas. If an oper- and is the last field in a statement it is followed by a carriage return, other- wise it is followed by the comment field. Comment The comment field is optional in all statements and must be preceded by a semicolon (;). The contents of the comment field are printed on the program listing but have no effect on the assembled program. Entire lines may serve as comments if the first non blank character is a semicolon. Blank lines are printed on the program listing but otherwise ignored so that statements may be separated in order to enhance program readability. The liberal use of commentary is strongly recommended so that the function and operation of programs is evident from the program listing. 2.2.5 SYMBOLS A symbol is a character string which appears in an operand and is used to represent the value assigned to the symbol by the assembler, A symbol is given a value either by direct assigmnent via an assembly directive or by ap- pearing in the label field of a statement. Instruction labels are given the value of the assembly location counter assigned to the associated instruction. The assembler recognizes the exclamation mark (I) as a special symbol for the current value of the program counter. 2.2.6 LITERALS Literals are character strings which serve as sources of data, i. e., cannot be changed and are interpreted by the assembler as constants. The assem- bIer accepts literals expressed as octal, decimal, hexadecimal, binary and character. Literals may be preceded by a plus or minus to signify sign; plus is assumed unless a minus is present. 85 Octal soooooo s = optional + or -, + assumed 0=0-7 000000 = 0 to 177777 Decimal s.ddddd s = optional + or -, + assumed . = leading character d = 0-9 ddddd = -32768 to 32767 Hexadecimal X'hhhh' s = optional + or -, + assumed X' = leading characters, '= trailing character h = 0 9, A-F hhhh = 0 to FFFF Binary sB'bbbbbbbbbbbbbbbb' - s = optional + or -, + assumed b' = leading characters, '= trailing character b = 0, 1 bbbbbbbbbbbbbbbb = 0 to 1111111111111111 Character s"cc" or 'c' s = optional + or -, + assumed "or' = delimiter c = any ASCII character One or two characters may be packed into each 16-bit wqrd. If one character is specified ("c" or 'c ') it is placed in the low order byte of the word with zeros in the high order byte. If two characters are specified ("ab" or 'ab') the first (a)is placed in the low order byte and the second (b) is placed in the high order byte. 2.2.7 EXPRESSIONS Arithmetic operators (+ and -) may be used to form operand expressions. An element of an expression may be: a user defined symbol, the current assembly location counter symbol (I) or a literal. Expressions may contain up to six elements separated by either + or - operators. The total expression may be terminated by a comma, a carriage return or a semicolon. Expressions are always evaluated from left to right with no parenthetical groupings allowed. 86 2.2.8 ASSEMBLY DIRECTIVES Assembly directives are used to control the assembly process and in some cases cause data to be generated. In the following assembly directive de- scriptions optional elements are enclosed in []. Comments may be used with all assembly directives. LABEL OP OPRND ACTION PAGE Advance program listing to the top of the next page. Sixty lines are normally printed on each page. HEAD 'ccc ... c' Use the character string specified as the operand as a page heading. The first character ('o~''') is used as the string delimiter. REL [name] Assemble a relocatable module and use the six character name as the object module identifier. If no name is specified, an un- named relocatable object module is gener- ated. The module name is used by the Series 1600 Relocating Linking Loader (S16RLL) to identify object modules on its load map. The REL directive must be en- countered by the assembler before any data generating oper'ators are processed. If this is not the case, a' questiOMjle use di- agnostic is issued and an unnamed relocatable object module generated. If no REL or ABS directive is specified, an unnamed relocatable object module is generated; i. e., REL is the default assembly mode. ABS Assemble an absolute load module, which can- not be relocated or linked when loaded. The ABS directive must be encountered by the assembler before any data generating operators are processed. If this is not the case, a ques- tiona:':>le use diagnostic is issued and an unnamed r,elocatable object module is generated. ENTR Define the program entry pOint; i. e., the loca- tion at which execution is to begin after the program is loaded. 87 LABEL OP OPRND ACTION GLOB Sym[, Sym ... , SynH Declare the symbol(s) as global. Global symbols must be defined as labels in the current program unit but can be referenced from other program units. EXT Sym[, Sym ... , Sym] Declare the symbol(s) as external. External . symbols reference global symbols in other program units. Both external and global symbol references are resolved by the Series 1600 Relocating Linking Loader (S16RLL). ORG expr Set the assembly location counter to the value of expr, Program Assembly starts at zero by default. SYMBOL EQU operand Assign the value of the operand V to the sym- bolo The operand may be a symbol, a literal or the assembly location counter symbol (!). If ! is specified it may be followed by + or - and a literal. Note that only one level of forward symbol reference is allowed. [LABEL] RES. expr Reserve a block of storage whose length is specified by expr. The contents of individual storage locations is undefined. If a label is specified, it is assigned a value equal to the address of the first word in the block [LABEL] ZERO expr Zero a block of storage whose length is specified by expr. If a label is specified, it is assigned a value equal to the address of the first word in the block. BITS expr Use the value of expr to specify the number of bits in a memory word, i. e., word size. The word size is used to check generated data for magnitude exceeding word size dur- ing assembly. The default is 16 bits. MEML expr 1[, expr2] Specify lower and upper memory address limits as the values of expr 1 and expr2. If only expr 1 is specified, its value will be used as the upper memory address limit and 88 LABEL OP OPRND ACTION the lower limit will be set to zero. These limits are used by the assembler to check the validity of addresses assigned to gen- erate code. The defaults are a and 177777. [LABEL] WORD expr[, expr, ... , expr] Generate a data word for each operand expression. The contents of each word is set equal to the value of the respective expr. If a label is specified it is assigned a value equal to the address of the first word gener- ated. [LABEL] BYTE exprL expr, ... , expr] Generate two data bytes for each operand expressions. The operation is the same as with WORD but 8 bit data is generated for use with double byte addressing in 10 -bit memory. [LABEL] TEXT p, 'cc .... cc' Generate a word or words of data which contain the seven bit ASCII code for each character between the delimiters 'or". If p= 1, one character is placed in the low byte with zeros in the high byte of each word. If p=2, two characters are packed in each word, low byte to high byte. Incompletely filled words contain a space character in the high byte. If p is not specified, two characters are packed per word. If a label is specified, it is assigned a value equal to the address of the Lrst word generated. END End of the program, the assembly is termin- ated on the previous statement. EOT End of tape indicator, used to separate a source program into sever:::tl thpe segments. NLST Disable the program listing. The assembly proceeds normally but with the listing sup- pressed. This directive is used, for example, to avoid printing a length ZERO block. LST Enable the program listing. This directive is used to cause a listing to again be pro- duced after a NLST directive. IFEQ expr Start conditional assembly. The statements 89 LABEL OP OPRND ACTION that follow will be assembled if expr is equal to zero. If expr is not equal to zero, the statements will be listed but not assembled. Conditional assemblies are useful when a program has statements which are to be assembled only under certain conditions. For example, statements which are to be assembled only during debugging of the program. IFNE expr Start conditional assembly. The following statements will be assembled if expr is not equal to zero, the following statements will be listed but not assembled. ENDC End conditional assembly, i. e., resume normal assembly. 2.2.9 PROGRAM LISTING The S16AL Symbolic Assembler produces a listing of the assembled program containing the following fields: line number; address; contents; the statement label, operator, operand a.nd comments. The address and contents fields each contain six octal digits and the operator, operand and comments are tabulated to enhance program readability. If the assembled word is subject to modification when the program is loaded at an address different than that of assembly; i. e. , relocated, the contents are followed by the letter "R". If the assembled word references an external symbol, the contents are followed by the letter "X". Each page of listing contains sixty lines and begins with a one or two line head- ing. The first heading line contains the module name, the version of the assembler in use and the page number .. If the user has specified a heading via the HEAD directive, it follows on the next line. The program listing follows, separated from the page heading by a blank line. At the end of the program listing, .all user defined symbols and the number of diagnostics issued are summarized. The symbol summary lists each symbol in alphabetical order, its octal value, and its attributes. The following codes are used to indicate symbol attributes: U symbol is undefined A symbol is absolute R symbol is relocatable X symbol is external IN - 'Symbol is an instruction label EQ - symbol is defined by an EQU statement RS symbol is a RES or ZERO statement label DT - symbol is a WORD BITE, or TEXT statement label 90 G symbol is global E symbol is entry point DO - symbol is doubly defined UR - symbol is unreferenced 2.2.10 DIAGNOSTICS The S16AL Assembler performs extensive dia~nostic checking of each statement during program assembly and prints diagnostic codes on the program listing immediately preceding any statement in error. The diagnostic code characters and their meanings follow. Diagnostic Meaning A Address outside memory limits B Double byte data sequence error o Doubly defined symbol E Expression longer than 6 elements L Label missing or illegal M Doubly defined symbol referenced N Numeric value of literal illegal o Operator unrecognized P Pass 2 symbol value different than in pass 1 Q Questionable syntax R Register designator illegal S Syntax illegal T Truncation of statement field U Undefined symbol referenced V Value of operand illegal W Word size exceeded X Expression contains more than one external symbol ? Questionat:ile use of directive Preyi~)us statement incomplete + Symbol table overflow 91 2.2.11 USING S16AL The Series 1600 On-Line Assembler requires a GIC1600 Microcomputer system with 6144 words of RAM and a teletype terminal for execution. A high speed paper tape reader and punch may be used if available. Up- on initial start-up, S16ALidentifies the version in use, indicates assembly pass 1 and requests source input device identification by printing "S;R,.C?:" The user responds with "L" (low speed tape reader, i. e., teletype) or "H" (high speed tape reader). Note that all user responses are termin- ated by a carriage return. If only a carriage return is entered in response to "SRC?:", control is returned to the resident system monitor. Next, the assembler requests the user to select a pass 1 listing option by printing "LST?:". The user may select no listing, diagnositcs only listed or a full listing by entering "N", . "D" or "Y". A pass 1 program listing is complete except for forward symbol references and undefined symbol diagnostics. During initial stages of program development it may be suitable to work with a pass 1 listing until all errors are corrected. If a diagnostic listing is selected, only diagnostics and the corresponding statement are listed. When the listing option is entered, pass 1 of the assembly process begins. If a source tape ends with an "EOT" directive, the assembler prints "END?:" to which the user responds with "N" when the next tape segment is mounted and ready in the tape reader. ,If the "EOT" is to be treated as an "END", the user responds with "Y". At the end of pass 1, "PASS2?:" is printed allowing the user to proceed with assembly pass 2 ("Y" entered) or return to the resident system monitor ("N" entered). At the beginning of assembly pass 2, "LST?:" is again printed allowing the user to select no listing ("N"), a diagnostic listing ("D") or a full program listing ("Y"). Next, the device upon which the object module is to be punched is requested by "OBJ?:" being printed. If the high speed tape punch is to be used, "H" is entered; if the low speed tape punch is to be used, "L" is enter .. ed. If no object module is to be generated during pass 2, "N" is entered. If a pass 2 listing and object output on the low speed punch,are selected, "DEV CNFLCT" is printed and the pass 2 options again requested because the listing and object code cannot be mixed on the teletype during the same assembly pass. If object output is to be pun ched on the low speed reader, the user must manually enable the teletype punch before entering the "L" response. Since pass 2 starts when the object option is entered, the source tape must be repositioned on the appropriate reader before the option is entered. If the source program tape is segmeneted, the segments must be mounted in the same order as in pass 1. Pass 2 may be rerun by entering "Y" in response to the message "PASS 2 AGAIN?:" which is printed at the end of pass 2. If "N" is entered, pass 1 is reinitiated. A program assembly can be aborted by depressing the teletype "CTRL" key while simultaneously striking the "C" key. This causes the assembly to be cancelled (voiding any binary output) and control to be returned to the resident monitor. 92 2.3 TEXT EDITOR The Series 1600 Text Editor (S16TXE) is used to prepare, correct and modify source programs or other text using the GIC1600 Microcomputer System. S16TXE provides both line and character editing facilities with deletion recall via simple single character commands. 2.3.1 OPERATION S16TXE communicates interactively with the user via a teletype terminal, accepting single character commands when a command prompt "*:" is printed. Text to be edited is read into memory from paper tape or entered directly via the teletype keyboard. If more paper tape text is to be edited than available memory can hold, the text is automatically segmented when space remains for approximately 256 additional characters. When all editing operations are complete on the text currently in memory, it is written out on paper tape and additional text segments are read in for subsequent editing. S16TXE accepts paper tapes punched in eight bit ASCII code as input, ignor- ing nulls, rubouts and non eight bit characters. Interactive user dialogue is conducted using seven bit ASCII code to prevent possible corruption of text tapes when using a teletype for output. Each line of text must be termin- ated by a carriage return and should not exceed 72 characters in length.. The user can specify input text segments explicitly by punching form feed charac- ters (CTRL/L) at appropriate pOints in the text tape. Form feeds, however, are not read into memory and if output text segmentation is desired the user must explicitly inject form feeds using the appropriate command. Text edit- ing is performed at either the line or character level 'by m0ving a character pointer through the text. Lines of text may be exchanged, inserted or de- leted while character strings within a line maybe changed or deleted. Text which has been deleted remain in memory in an inactive state untii the text is written out or purged. Consequently, deleted text may be recalled if re- quired. 2.3.2 COMMANDS S16TXE recognizes a set of single character commands which may be grouped according to the following functions: Input/output of text Searching for character strings Moving and marking the character pointer Inserting, exchanging and deleting lines Changing and deleting character strings The user enters one of the following command characters and any additional data required followed by a carriage return in response to the command prompt "*:". If a command requires additional text, S16T XE enters the text mode, prompting the user with a colon ":" on the next line. The user then enters the appropriate text terminated by a carriage return. When processing of a com- mand is completed, another command prompt is ITinted. If a command is unrecognized or contains an error, a question mark "?" is printed followed by 93 another command prompt. All user input via the teletype is under resident monitor control which provides character deletion and line deletion facilities using "Rubout" and ".,". In the following command descriptions "*,, and ":" are printed by S16TXE, required user entries are underlined and a carriage return is represented by "J- ". *:Ani Advance the character pointer +or - n lines. AO moves the character pointer to the beginning of the current line, A moves the character pointer ahead to the next line. *:~ Move the character pOinter back to the beginning of text, i. e. , the first line. *:~n! Change n characters in a line beginning with the current :c ... cJ. character to the specified character string. C changes the current character. *:Dnt Delete n characters in a line beginning with the current charac- ter. Note that deleted characters are deactivated and may be yanked (recalled) until the text is written out or purged. *:!l End, i. e., W!ite out current text followed by a form feed, i. e., text segment indicator and approximately 100 frames of blank tape. Write out a form feed, i. e., text segment indicator followed by approximately 100 frames of blank tape. *:GnJ Get the nth occurrence of the specified character string from the current character position. G gets the first occurrence. When the specified character string is found, the character pOinter is positioned at the next character. If the specified character string is not found, "NONE!" is printed and the, character pointer is positioned at the end of text. *:!1 :c ... cli Insert lines prior to the current line. One or more lines are inserted as entered at the text level until a null line, i. e., :c... .ct only a carriage return is entered. *:In) Jump the character pointer + or n character positions. JO moves the character pointer to the beginning of the current line, J moves the character pointer ahead to the next character. *:KnJ Kill (delete) n lines beginning with the current line. K kills -- the current line. Note that the killed lines are deactivated and maybe yanked (recalled) until the text is written out or purged. 94 *:LnJ -- List it lines beginning with the current line. current line. L.lists the *:MaJ. Mark the current character position. M. sets mark, MO . -- clears mark. Read next text segment. The text curreI'tly in memory is written out and the next text segment is read into memory. *:9.1 Open output tape, i. e., punch blank leader. *:!t Purge the text currently in memory. All deactive text re- sulting from delete or kill operations is permanently re- moved and associated storage released. *:QnJ Quote, i. e., repeat or copy text from one position to another. Text is copied from the marked character position to the current character position. Qn copies n, Q copies one line. *:!i Read text into memory until a.n text segment indicator, i. e., form feed is detected or until space for approximately 256 characters remains. The input text is read into memory starting at the current position of the character pointer and consequently may be appended to text already in memory. Stop, i. e., return to the resident monitor Tab set, i. e., specify tabulation positions. When tab charac- ters (CTRL/I) are detected either in input text or text enter- ed at the text level sufficient space characters are injected to advance to the next tabulation pOf?ition. Tn, n=2-71 sets tab radix to n. TO resets the tab radix to the default, 8. T prints the current tab radix. *:V J, Verify the current charactj'i!r position by listing the current line from the current character position to the end. VMz) verifies the currently marked character position. Write out the text currently in memory. W writes all text, W-1 writes from the marked position up to the character prior to the current character. WO writes the current line. *:X J. Exchange the current line, i. e., the line currently containing :c~... cJ the character pOinter with the specified line of text. Additional - ~ :cc .... c..!! lines may be then inserted following the line exchanged until a null line is entered, i. e., only a carriage return. 95 Yank inactive text, i. e., recall deleted characters and/or killed lines. YO yanks the current line, Y-1 yanks from the character pointer to the marked character, y yanks the all text in memory. Zero buffer, i. e., reset pointers. Print the number of the current line, i. e., the line currently containing the character pointer. *:=J, Print the number of character positions currently available for use in memory. *:zi Accept text punched in 7 -bit ASCII code as input. - *:8J Accept text punched in 8-bit ASCII code as input. 2.3.3 USING S16TXE S16TXE requires a GIC1600 Microcomputer with 4096 words of RAM and a tele- type terminal for operation. This configuration provides buffer space for ap- proximately 2200 text characters while additional available memory increase~ the buffer size one character per word. A high speed paper tape reader and punch may be used for input and output of text tape if available. Upon initial startup, S16TXE identifies the version in use and them prints the text buffer base address. Next, "BUFFER END ADDR?:" is printed, request- ing the user to enter the octal address to be used as the text buffer upper limit. The address entered, which must be greater than the buffer starting address, allows the user to protect data or program code that may be in memory. If no address is entered, i. e., only a carriage return, all of available memory is used as the text buffer. After the buffer limit has been determined, a com- mand prompt "*:" is printed. When~n input command is entered, the user is requested to select the device by the message "DEV?:". The user must then respond with either "L" (low speed TTY paper tape reader) or "H" (high speed paper tape, reader). If the low speed reader is selected, "RDR ON!" is printed to remind the user to manually enable the TTY tape reader. Likewise, when an output command is entered, t!DXY,1.:·~ Is printed to which the user must respond with "L" or "H;'. If the low speed punch Is selected, "PNCH ONI" is printed to remind the user to manually enable the TTY tape punch. When the punch has been enabled the user must enter a carriage return which indicates to S16TXE that the punch is ready. When input or output via either of the low speed TTY devices is complete, indicated by a command prompt, the user must manually dis- able the device. Accidental corruption of output text tapes is prevented if the punch is not turned off 'siIice seven bit ASCII code-is for user dialogue and eight bit ASCII code for all text information. 96 If the user attempts to insert additional text when the text buffer is full, "BVFFER FULLI" is printed and the command is rejected. Note that a purge releases memory space occupied by text placed in an inactive state by delete or kill operations. S16TXE can be restarted at any time with no loss of text by executing at its entry address +2. Initial startup, however, should always begin at the entry address. I/O operations can be cancelled by depressing the teletype "CTRL" key while simultaneously striking the "c" key. S16TXE then returns to the command level, i. e., a command prompt "*" is printed. 97 2.4 S16RLL RELOCATING liNKING LOADER The Series 1600 Relocating Linking Loader (S16RLL) is used to load and link together one or more object modules produced by the Series 1600 Cross or On-Line Assemblers (S16XAL) or (Sl(~AL). S16RLL enables the user of a GIC1600 Prototyping Microcomputer System to utilize efficient modular pro- gram development techniques by providing the following facilities: Relocates and loads program object modules Resolves global/external symbol linkages . Produces a load map containing module names, origins,. sizes and global symbol allocations. Detects and reports: unsatisfied external symbols; multiple global symbols and program entries. 2.4.1 OPERATION Upon initial start-up, S16RLL identifies the version in use and makes the following requests for information from the user (jrepresents a carriage return). ADR?::.! - specify initial or base load address (a = one to six digit octal address). MAP?:oJ - load map desired? (0 = Yor N). specify load device (d =l~.high or low speed tape reader) - DEV?:dJ,. - Loading begins after the user responds to the ItDEV7.;,i request~ If a load map had been requested, the object module origin address, its name, any global symbols and the module size are printed. When the end of the object module tape is reached, another tape is requested by the "DEV7:" message. If another object module is to be loaded it is mounted and a try "response is typed. The load process repeats for each module until the user indicates that the last module has been loaded by typing only a carriage return in response to the "DEV?·:" message. S16RLL then resolves any global linkages that may be outstanding, reporting as un- satisfied externals, references to global symbols which are undefined. Finally, a load summary is printed, indicating the initial and final load addresses and the entry address if an entry was specified in one of the loaded object modules. Control is then returned to the resident monitor. 98 During the load/link process a table of global symbols and temporartly unresolved external references is constructed. The table extends down- ward in address from the initial address occupied by S16RLL toward the program being loaded. Table size may be minimized by loading modules with global symbol definitions first so that loading of subsequent modules do not result in temporarily unresolved externals. Since the table extends downward, S16RLL should be loaded as high as possible in the _'available storage area to provide maximum free storage for the program being loaded and the linkage table. S16RLL requires approximately 1180 (2234 octal) word of storage for execution with the global/external symbol table vary- ing in size depending upon the number of global/unresolved externals (four words per entry). 2.4 .2 ERROR MESSAGES S16RLL detects several error conditions during the loading process which are reported to the user by the following messages: REL? - The current object module is not relocatable, load aborted. MLT GLOB:s - Multiple definition of the indicated global symbol has been detected', the first definition is retained, load continues. MLT ENTR@a - Multiple program entry point of the indicated address has been detected, the first entry pOint is retained, load continues. UNSAT EXTS - The following references to undefined global symbols at the indicated address have been detected, zero value is supplied, load continues. OVERFLO The global symbol/unsatisfied external reference table has overlapped the program being loaded, load aborted. E? End of tape (medium) or reader error, load aborted. C? Checksum error, load aborted. L@a? Memory limit violation at address a, load aborted M@a? Memory failure at address a, load aborted. 99 2.5 S16DGS - DIAGNOSTICS The Series 1600 diagnostic program package consists of a combined CPU-memory test and an interrupt system test. The primary purpose of the diagnostic pro- grams is to establish operational confidence in the major microcomputer system components. If the diagnostic programs run without error and the resident moni- tor functions properly, the chance that the Microcomputer is not in proper working order is remote. 2.5.1 CPU-MEMORY TEST The CPU-memory test exercies the GIC1600 CPU, memory and bus by stor- ing and reading various data patterns throughout a user specified area of memory. The data patterns consist of all zeros, all ones, alternate zeros and ones, shifting ones and shifting zeros, etc. Address decoding is also checked by storing a data pattern throughout the memory area and then storing a different pattern in each subsequent memory location while check- ing that all other locations are unchanged. Upon initial start up the user is requested to specify the address limits of the area to be tested and also the number (octal) of test passes to be run. If the specified test area overlaps the program, a question mark "7" is printed and the memory limits are requested again. When the test is com- plete, the number of errors detected are printed and control is returned to the resident monitor. Any errors detected are reported by descriptive printouts 'on the TTY as the test proceeds. Since the program is supplied in RLM (relocatable load module) format, any area of memory can be checked by relocating the program when it is loaded. 2.5.2 INTERRUPT TEST The interrupt test exercies the Microcomputer interrupt facilities by driving the teletype and high speed tape reader and punch. Upon initial start up the user is instructed as to which keyboard characters are used as controls. The test starts by pun ching characters on the high speed reader which are entered on the teletype keyboard. These characters may also be output to the teletype. The second part of the test reads the tape output in the first part on the high speed reader and punches on the high speed punch. Note that the test does not check the devices for data integrity, but such tests can easily be implemented as required utilizing the resident utility routines. The characters used to control the interrupt test are as follows: CTRL/C Cancel, i. e., stop and return to resident monitor CTRL/G Go, 1. e., start tape output CTRUS Restart test CTRL/R Start output to TTY CTRL/T Stop output· to TTY CTRL/D End tape output, start high speed reader 100 Appendix A.I INSTRUCTION SET REGISTER - REGISTER ----- M:--.lEMONIC OPERAND CYCLES INSTRUCTION DESCRIPTION STATUS CHANGE ~.- Mova SSS. DOD 6 • 0010 SSS DDD MOVe contents of Register SSS to register DOD. ·If DDD is 6 or 7 add I to Cycles. 5, Z T5TR SSS 6• 0010 SSS SSS TeST contents of Register SSS. ·If SSS is 6 or 7 add 1 to Cycles. S, Z JR SSS 7 . 0010 SSS 111 Ju.mp to .address in Register SSs. (Move address toRegister 7). S •..~ __ . ___ ADDR SSS; DOD ·6" 0011 SsS DDD ADD contents of Register SSS to contents of register ODD. Results to DOD . S, Z. C, OV SUBR SSS, DOD 6 0100 SSS DDD . SL'Btrllct of Register SSS from contents of register DDD. Results to iIDIf::. _ s, Z, 'C,' QV _ CMPR ANDR 555:-000 55$, ODD 6 6 0101 0110 SSS SSS DDD 000 CoMPare Register SSS with register DOD by subtraction. Results not stored. ·lo~_cal.AND contents of Register SSS with contents of r~gister DDD~~e~~ltfi t? DDD S, Z, C,........... S. Z OV -_ .• XORR SSS. ODD '6- 'olii 'SSS DOD eXclusive OR contents of Register SSS with contents of register DOD. Results to DDI: S. Z CLRR DOD 6 .' 0111 0000 DOD riOl DOD CLeaR Register to zero. S, Z ,.. - INCR DDD 6 DOD INCrement contents of Register DOD. Results to DOD .~, ~ '-'-- DECR COMR DDD DOD 6 6 0000 0000 010 011 DDD DOD DECrement contents of Register DOD. Results to DOD one's COMplement cuntents of Regillter DOD•. Results to DDD S. Z S. Z ....-- NEGR DOD 6 0000 100 J2DD ...T!-'.o's complement contents of Register ODD. ~esults to DDD §-'__ ~ C'-OV- ADCR DOD 6 0000 101 DOD ADd Carry bit to contents of Register DOD. Results to DOD S. Z, C. OV --.- .. --~~- -- - - - - - - - -------- ... _-'---- ..... REGISTER SHIFT Executable only with Register 0, 1, 2, 3. 0 .... Shift Right instructions set the S flip-flop with Bit 7 of the result after the instruction• Add 2 cycles if shift is 2 bits or two bytes. Sh.!fts are not interruptable. C- SWAP SLL RR<:n> Q 0001 000 . _ .... ___8_,. __ .. _______ RR<:;n.> 6 0001 001 NRR NRR N = O. SWAP bytes of register RR. S equals Bit 7 of results of SWAP. 00_______ 5, Z _.l'!_=:_!,._~_\'(~p. bytes of register RR, then swapthemba~k to.()r!gin..!~!.~!!!!.:..._ _ _ _ .. _ .~, Z _____--< N = O. ShUt Logical Left one bit. zero to low bit. S. Z ....JJ__ . N =:=.1. Shift Logical Left two bits, zero to low) bits. ."__ .___ ..•. _ 1? ~_ .. ____ RLC RR<:;n> 6 0001 010 NRR N = 0, Rotate Left one bit using Carry bit as bit 16. S. Z. C .. 8 _. . . . _..... ....... ~. 1._ Rotate Lef!!~~..bits using C asbit 17 and 9Vas..bit,l6._ .•. _.• _... _ "_" 2J! e, OY-, SLLC RR 6 0001 011 NRR N =O. Shift Logical Left one bit using C as bit 16. zero to low bit. S. Z. e . .. ... 8 ..... __._oo____ l'{= 1, Shif!_Lo,gl<,8! Le(t_t~9 bit~ u.!!.lngG.as bit 17.•. 9Y a.s.J?lJ.!~.13erQ to low. 2 bits, _5, Z.LQ~ SLR RR 6 0001 100 NRR N • O. Shift Logical Right one bit. zero to high bit. S. Z ........_._ ... .... ~ __ ..._. ._ .. ___ . _ _ _ ._._. _ N = !.too Shltt.~Q&!!=!lL~J&i!.~_!~Q.'p'its, zer9_! 6 0001 101 NRR N .. O. Shift Arithmetic Right one bit. sign bit copied to high bit. S, Z 8 N :a 1. Shift Arithmetic Right two bits. sign bit copied to high bits. S. Z RRC RR<:;il> 6' as "000·(·-IT6-iifIHC· ·--Fr;;-O'-ROtate Right one bit uBlng Carry bit 16. . - ....... _ ..-- ... - .. - --- -.. ---. . ·5. Z.·C·" 8 N • 1, Rotate Right two bits using C as bit 16. OV as bit 17. .S._;l. C._~ SARe RR<:;n> 6 0001 ui NRR N ,. O. Shift Arithmetic Right one bit, thru Carry. sign bit copied to high bit. 5, Z. C 8 N .. 1, Shift Arithmetic Right two bits, thru Carry and OV. sign bit copied to high 2 blta S. z. e, OV 1 INS T.R U C T ION SET (continued) 'BRANCHES The Branch instructions are Program Counter Relative. I. e •• the Effective Address = PC+Displacement. PPPPPPPPPP is the ntsnlacement and S , is 0 for +. 1 for -. If Memory is greater than 10 bits then the appropriate number of lead bits pppppp will be a part of the Displacement. For a ~ branch an addition is performed; for a backward branch a ones complement subtraction is performed. Computation performed on PC+2. ~f~EMONIC J OPERAND CYCLES INSTRUCTION DESCRlmON STATUS CHANGE I B DA 7/9 1000 SO 0000 Branch unconditional. Program Counter Relative (+1025to -1024) I pppPfjP:. PPI? pp PPPP NOPP I! t 1000· SO 1000 NoOPeration. two words ., j .pppppp . pppp PP PPPP BC I DA 7/9 1000 SO 0001 Branch on Carry. C=I BLGT i DA pppppp pppp PP 'PPPP Branch if Logical Greater Than.. C = J BNC I DA 7/9 1000 SO 1001 Branch on No Carry. C =0 BLLT DA PPPPPP, PP?P .. PI' PPPP Branch if Logical Less Than. C=O BOV SN:>V II DA DA 7/9 7/9 1000 SO PPPPPP pppp PP 1000 SO 0010 pppp 1010 Branch on OVerflow; OV = 1 Branch on No OVerflow. OV = 0 I pppppp PI?P pp PPPP BPL II DA 7/9 1000 SO 0011 Branch on PLus. 5=0 .PPPPPP PPPP pp pppp .... o BMI DA 7/9 1000 SO 1011 Branch on MInus. 5 - I II,) pPPPl'P PPPP pp PPPP BZE DA 7/9 1000 SO 0100 Branch on ZEro. Z=l BEQ DA PI?PP.Pf PPPP pp PPPP Branch if EQual. Z - 1 - BNZE DA 7/9 1000 SO 1100 Branch on No ZEro. Z·O BNEQ DA PPPR>P pppp pp pppp Branch if Not EQual. z=o I BLT DA 7/9 1000 SO 0101. Branch if Less Than. S¥OV =1 PPPR>~ PPPP pp PPPP , BGE DA 7/9 1000 SO 1101 Branch if Greater than or Equal. S-V-OV =0 I ~. PPPP . :SO pp PPPP I I I BLE I DA 7/9 1000 0110 Branch if Less than or Equal. Z V (S-¥OV) = 1 I PPPWP. PPPP pp PPPP ~ BGT I DA 7/9 1000 SO pppwp. PPPP PP 1110 PPPP . Branch if Greater Than. Z V (S.J;.OV) = 0 ~ I BUSC i DA 7/9 - 1000 SO 0111 Branch if Unequal Sign and Carry C-¥'S = 1 I, pppppp' PPPP PP PPPP .' ........- -fOO()"-"sO' 1111 Bran-:h if Equal'Sign and Carry C4f,.!'; .. O· " BESC DA 7/9 .PPPf\l.l? PPPP PP PPPP J BEXT DA,E 7/9 1000. Sl EEEE Branch if EXternal condition is True. Field E is externally decoded to select 10f 16 conditions. Response is.tested for true condition. PPPPllP PPPP pp pppp - - - - - - - - - ~~--.~~ - ---~ '- INSTRUCTION SET (Co.ntinued) CONTROL INSTRUCTION DESCRIPTION STATUS CHANGE MNEMONIC OPERAND CYCLES 6 0000 110 ODD Get Status WorD in register DD. Bits 0-3, 8-11 set to. O. GSWD DO Bits 4, 12 = C; 5, 13 = OV; 6, 14 = Z; 7, 15 = S. NOP 6 0000 110 ION No operatio.n. Software Interrupt; p~6e to PCIT • pin SIN 6 0000 110 llN Restore Status Word from register SSS; Bit 4 to f:. Bit 5 to OV, Bit 6 to. Z. S. Z. C, OV RSVID sss 6 0000 ~~ 111 SSS Bit 7 to. S. HLT 4 0000 000 000 P.aLT after next instructio.n is executed. Resume on co.nttol start. EIS 4 0000 000 010 Enable bl!errupt SYstem. Not Interruptable. DIS 4 OJOO 000 011 Disable lnterruryt System. Not lnl:erruptable. TCI 4 0000 000 101 Termirulte Current Interrupt. Not Interruptable. 000 110 CLeaR Carry to. zero. Not Interruptable. C CLRC 4 0000 000 III SET Carry to o.ne. Not Interruptable. C ~ETC 4 0000 - -~ .... o JUMP ·eN r- I J DA I 12 0000 11M 000 AM 100 ADO Jump to. address. Program counter is set to. 16 bits of 4 'R. AAAA AAA AAA JE DA 12 0000 000 100 Jump to address•. Enable interrupt system. Program counter is set ~o llAA AAA AOl 16 bits of A's. AAAA AAA AAA JD DA 12 0000 000 100 Jump to address. Disable interrupt system. Program counter is set 11AA AAA AIO to. 16 bits of A's. AAAA AAA AAA ~R BB. DA 12 0000 000 100 Jump and Save Return address (PC+3) in register d£signatec:! by ISB. RRAA AAA AOO Program counter is set to. 16 bits of A's. 813111 AAAA AAA AM --JSRE BB. DA 12 0000 000 100 Jump and Save Return and Enable interrupt system. Return (PC+3) is ~ B8M AAA AOI saved in register lBB. Program counter is set to. 16 bits of A·s. BSrf 11 AAAA AAA AAA r'-,1SRD -- BB. DA 12 0000 000 100 Jump and Save Return and Disable interrupt system. Return (PC+3) BBAA AAA A10 is saved in' register 18B. Program counter is set to 16 bits of A's. Bs,tll AAAA AAA AAA INS T R U C T ION SET (continued) DIRECT ADDRESSED DATA· MEMORY Field aaa aaa is dependent on the width of memory. 16 bits is maximum for aaaaaa AAAAAAAAAA. MNEMONIC OPERAND CYCLES INSTRUCTION DESCRIPTION STATUS CHANGE I MVO SSS, A 11 1001 000 SSS MoV Out data from register SSS to address A-A. I .. aaa aaa AAAA AAA AAA '" MVI A. 'DDD-- 10 loio 001.1 DOD MoVe In data from address A - A to register DOD. aaaaaa AAAA AAA AAA .1 ~-ADD----' i--.-----.-- 1---_. A, DOD 10 lOll"' '000 DOD -ADD- data' fr~m' addres-s A;, A-to ~e8i~t~r DOD: 'Res~lts to DOD. S, Z, C. OV aaaaaa AAAA AAA AAA SuB--- .-.. _- A:--OOO" . '" . Hi" 1100 000 DOD -. SUBtract data from address A - A from'register DOD. Results to DOD. S, Z, C, OV -- '--io' aaaaaa AAAA AAA AAA .-.. ,--.. -.-.. ... . . . .• r--cMP- A,- sss HOI 000 SSS CoMPare data from address A - A with register SSS by subtraction. S, Z, C. OV - ...... aaa aaa AAAA AAA AAA Results ,not stored. .. .. ., AND A, DOD 10 lllO 000 DOD logical AND data from address A - A with register DOD. Results to DOD. S. Z aaaaaa AAAA AAA AAA l--xoiC' . A. DOD - 10 1111 000 DOD eXclusive OR data from address A - A with register DOD. Results to DDIi 5, Z aaaaaa AAAA AAA AAA- -~---~- ----'---------- -- -- - - - - - - - - - - - - - --- ~- --- --------- INDIRECT ADDRESSED DATA - REGISTER ..... MMM Source data is located at the address contained in Register. o MMM 4, 5 post increment R4 or R5. JIIo MMM = 6 - MVO instruction - post increment R6. PUSH data from Register SSS to the Stack. Other instructions - p::-e-decrement R6. FULL data from the Stack to be used as the first operand. I MVO@ !, I SSS, MMM ~-:- I 'I --II, 100 1 MMM -SSS i MoVe Out data from register SSS to the address in register MMM. Note: SSS = MMM =4, 5, 6 or 7 not supported. 1 , PSHR I SSS 9 I 100 I 110 SSS PuSH data from Register SSS to the stack. ! ~ T" l'MVI@ 1 MMM, DOD 8· 1010 MMM DOD, MoVe In data to register DOD from address in register MMM. ,,, I t I _PULR lDDD 11 1010 110 DOD I PULl data from the stack to Register DOD. r~IJ@ ___ j~MM.~~~_8_~_.J __ lOll MMM DDD ~~g:"~::'t:~: ~~:,ess in regl~er MMM to content. the of re,,"er jS. Z'~LO\ I SUBt@ TMMM, DOD 8· .I 1100 MMM DOD SUBtract data located at address in Register MMM from contents of : !L___ ..___ _.. ___ ..... _ ..__ .. .'.j.··---··--'iio'i-·-MMM·- CMF@ - ... - MMM:-'DDD- 8. . . . . . _.._.+ ~:~~::~PE~ lo~:;!t:tt~d~~;; i~R~8i;te~ MM~.:i '~ith c~~-;m~'~'" :s. SSS , oy ._~egis!_erS_~S.!...!?'y'_s~9~~c:.~i~n.:•.. ~!!~!!.'?!..sto~___ Z. C. :5.!..Z! ...C'..5~V I A~~ rxOR@ I MMM, DOD MMM, DOD 8* 8· ~ .~:~i:~:~~~.nt~;:~:sr:t~~~.DDD With~t~_l~~_~~~~~~~dre: 1110 1111 MMM MMM DOD DOD is. ~ _..__.... eXclusive OR contents of register DOD with data located at addr.ess in.. _ I I in register MMM. Results to DOD. :S, _Z___ .. __ ._. L ·Add 3 to number of cycles if MMM=6. ------_. -.-.... INS T R U C T ION SET (continued) IMMEDIATE DATA - REGISTER The number of iiiiii bits depends on the memory width, 16 bits is maximum. f'1NEMONIC OPERAND CYCLES INSTRUCTION DESCRIPTION STA1'US ";H:ANGl': MVOI f--.-- . . . . SSS,I .. -- _.- 9 HHH 1001 IIII 111 III 555 III (field) - t MoVe Out Immediate data from register 555 to PC+l - -, t MVII I,DDD 8 1010 111 DOD MoVe In Immediate data to register DOD from PC+1 f---- -. --.--.-. ,- .. - ... --."'.~-. -. -- -~ .. ._ iiiHi IIII._.LII _ Ill __ (field ) . . ADDI I,DDD 8 1011 111 DOD ADD Immediate data to contents of register DOD. S,Z,C,OV - SUBI iiiiii II II III III Results to DOD. ··-1,-000·--· 8 1100 111 DOD SUBtract Immediate data from contents of register 5, Z~ C. OV f--. '- . HiHi II II III III DOD. Results to DOD. - CMPI I,SSS 8 1101 111 SSS CoMPare ~mediate data from contents of register S,Z,C,OV HHH I II I III III SSS by subtractipn.. Results notstoreq. -P;:--mr- I,DDD 8 llrO 111 - DOD logical AND Immediate data with contents of S, Z HHH II II III III register DOD. Results to DOD. XORI"- --. I,DDD 8 1111 111 DOD eXclusive OR Immediate data with contents of S, Z - iiHH IIII III III register DOD. Results to DOD. - - - - - - -- , ..... o WHD 4' II 0000 000 [his instruction is normally 001 Set Double Byte Data for the next instruction which must be all external reference instruction. The effective address of the '" supplied by the assembler as external reference instruction will address the low order data byte; the address of the high order data byte will be EA+1 if required to properly generate register 4, 5 or 7 is used. If register 1-3 is used the EA will machine code. access the same byte twice resulting in both bytes of data being the same. Use of modes 0 and 6 are not supported by this instruction I INDIRECT ADDRESSED DOUBLE BYTE DATA - REGISTER - SOBO 4 0000 000 001 MoVe In double byte data from the address in register MMM to ?vlV!@ MM~ •. _~ -.-- 10 --.-. 1010 MMM ------------DDD .~j~e!.DDp.:.._ ____ ._ SOBD ---4--- ~ ... .. --.- 000 000 001 ADD double byte data from the address in register MMM to the s, z. c:'ov AOD@ __ ~~M~DP 10 1011._- _.. ~~~~nto!.~~.~~e!. DQp. ___Res!1tt~_tQ .RDD,_ --.- -WBD- - -------- - --- - ." .. ---- -. --.- _MMM . .J)DJL -- ... 4 0000 000 001 SUBtract double byte data located at address MMM from the S. Z. C. OV 2l!fAV;..-_ I-_MM¥ • .DDD 10 ... .- .- 1100 MMM DDD content of J;.eg1.ste! POD, _Resul!~Q._QqD .. __ ,.... _____ .. _________ ~-.- SOBD 4 0000 000 001 CoMPare double byte data_located at address in register MMM S. Z. C. OY CM~ MWv~!..PP!L ---._-.-.-10 .. - 1101 MMM SSS _~J!.h..Et~.~~!l.!!..nt Of. re.cisteJ:" SSS by subtra,:~io~_ Results is not storedt-s. ~i3D 4 .-.-- --.. -'·--·0000- '- - 000 ----~. logical AND double byte data located at address in register MMM S. Z ANO@ -. MMM. - ..•. . DDD -... .. 10 - -- 1110 ~~_M DDD_ ~~d~~e....£~_~register DDD. Results to DDD. ---- -' SDBO--- I ". 4 0000 000 001 eXclusive OR double byte data located at address in register MMM S. Z XOR@ MMM. DDD 10 III MMM DDD With the content of register DDD. Results to DDD. -........----- -----~------ - - ---"'----- -- ------- - t INS T R U C T ION SET (continued) Note: The SDBD commaDd is provided by the assembler when the lmmed1ate data is greater than the IMMEDIATE DOUBLE BYTE DATA - REGISTER memory width and requires two bytes. MVII I,DDD 14 0000 000 001 MoVe In Immediate double byte data to register 1010 111 DOD DOD. L's will be low byte and U'. upper byte. XXLL LLL LLL XX = don't «;are. XXUU UOO ooU 0000 000 001 ADD Immediate double byte data to contents of S, Z, C, OV ADDl i,DDD 14 1011 111 DOD register DOD. Results to DOD. L's indicate low XXLL LLL LLL byte of literal, U's upper byte. XXUU UUU UOO 0000 000 001 SUBtract Immediate double byte data from contents S, Z, C, OV SUB I ·I,DDU 14 1100 III DOD of register DOD. Results to DOD. L'. indicate XXLL LLL LLL low byte of literal, U's upper byte. XXUU UOO UUU CMPI I,SSS 14 0000 000 001 CoMPare Immediate double byte data with contents S, Z, C, OV 1101 111 SSS of register SSS by subtraction. Results not XXLL LLL LLL stored. L's indicate low byte of literal, U's XXUU ooU OW upper byte. S, Z ANDI I,DDD 14 0000 000 001 logical AND Immediate double byte-data with the 1110 III DOD contents of Register ODD. Results to register I I ....o XXLL XXOO LLL UUU LLL OW DOD. L's indicate low byte of literal, U's upper .byte. 0000 000 001 eXclusive OR Immediate dOUble byte data with the S, Z 0\ XORI 1,000 14 1111 111 DOD contents of. register DOD. Results to Register XXLL LLL LLL DOD. L's indicate low byte of literal, U'. upper XXUU UOO UUU byte. GLOSSARY UF TERMS SSS Source Register MMM Address Mode ODD - Destination Register 000 direct address in location following Instruction. n Number of Shifts 001 Indirect address for Register 1 RR Register to Shift (only 0-3 allowed) oio Indirect address for Register 2 .AAAAAA Memory address for Jump. 011 - . indirect address for Register 3 AAAAAAAAAA (new Program Counter) 100 indirect address for Register 4. post Increment BB Register to save old PC in for Jump. {Reg :0: IBB. 4.5. or 6) 101 indirect address for Resrister 5. post Increment S' Sign of address displacement for Branch (PC relative). 110 indirect address for Register 6. post increment for MVO only .pppppp pppppppppp - Address displacement for Branch indirect address for Register 6. pre decrement for all instruc- pppppp is dependent on the memory word size. tions except MVO. aaaaaa .AAAAAAAAAA - Direct address of data word. 111 1ndlrect address for Register 7. post increment. . aaaaaa Is dependent'on the memory word size. (Immediate data in Iltcation following instruction.) UiiU \ IIIlIllIll .: Immediate data word. l1iiii is dependent on memory LLLLLLLL· Lower 8 bits of double byte data. word size. UUUUUUUU Upper 8 bits of double byte data. APPENDIX A. 2 MONITOR COMMANDS A Inspect/modify address B Set breakpoint C Continue from breakpoint DA Display contents of addresses < DB Display breakpoints DO Display Origins DR Display contents of registers DT Display trap address E Execute 1A InitialiZ'e contents of addresses K Copy tape L Load tape MB Modify branch destination MJ Modify jump destination ML Set memory limits 0 Set module origin P Punch tape R Inspect/modify register SA Search addresses SW Inspect/modify status word T Trap to address when SIN executed 107 APPENDIX A. 3 SAMPLE MONITOR DIALOGUE In the following examples "i." represents a carriage return character. Initial start up S160DM VOIB - Identifying message $ - Command prompt Comments $ ; commentary.-' $ Display registers $DR.J SR=000066 RO=000066 Rl=000066 R2=000066· R3=000066 R4=000066 R5=000066 R6=000066 R7=170000 $ Inspect register $R2.J 003201:.,t $ - Modify register $R2S 002053: 25 i $ Inspect. status Wf)rd $ - $SW';' 000160:1· Modify status WQ;ttd' $swi O00'i60:12OJ $ - 108 Display addresses $DA202,213,J. 000200 177777 177760 011064 125715 007417 007417 170360 170360 000210 125252 052525 052525 125252 000000 000001 000002 000003 $ Inspect address $A2300J 002300=100502:.,1 $ - Inspect addresses sequentially $A000302.,l 000302=000001:/ - note that "r causes the next addresses to be 000303=050021'7 displayed. 000304=027770::- - note that "-" causes the previous address to 000303=050021:-: 000302=000001:- 000301=012B45:~ - be displayed. -- - note that carriage return terminates activity. Modify address $A5037Ji: . 005037=177777:0," $ - Modify addresses sequentially $A01Oj 000010~000201:Q1 0000 11=005007:Qj 000012=000222:0/ 000013=001000:2= 000012=000000:~ $ Search addresses $SA205,321,50,70~ 000212=,120357 - note that any address containing a 5 in bits 000272:=000050 25 ,2 4 ,2 3 is displayed. 000307=155555 70 is used to AND out appropriate bits for $ Gomparison. 109 Initialize addresses $IA5230, 5501, 2, 71: - addresses 5230-5501 will have the lower 3 bits (i. e., mask of 7) set to 010 $ (i. e., value of 2). Load tape from low speed reader ~LL,J INITADDR 000000 - load summary FINL ADDR 000020 $ Load and relocate tape from high speed reader $LH3501, INIT ADDR 000350 - load summary FINL ADDR 001050 $ Note: If an error or an invalid tape is detected the load is aborted and an "E" or "T" is typed instead of the load summary. Punch on low speed punch $PL250. 300J PNCH ON!I - note that the user must manually turn the punch on and then respond with a carriage return. During punching binary the teletype printer remains on and may print erroneous data because of the binary data being punched. PNCH OFF - note that the user must turn the punch off $ or all subsequent dialogue will be punched on tape. Punch on high speed punch $PH505,3000), $ Step program one instruction at a time $if $S $§... $ J - start stepping at address 300 - step next instruction step next instruction Note that )Jreak points are deactivated during program stepping. 110 Execute program $ElO03j - begin execution at address 1003. Modify branch iIBtruction destination $MB200, 5011 - Modify branch instruction at address 200 $ & 201 for destination address 502. If the instruction is not a branch, ODP responds with "?" and no modification takes place. Modify jump instruction destination $ MJ 3210, 200,/. - Modify jump instruction at address 3210, $ 3211 & 3212 for destination address 200. If the instruction is not a jump, ODP responds with "t' and no modification takes place. Set break points - Set break point 2 at address 500. - ~ Set first available break pOint at address. 202. Display breakpoints - $DIj.! 80:000202 B2:000500 $ Remove break points - Remove breakpoint 0 - Remove all breakpoints ODP entry via a break point B3@001025 - Indicates break point reached $ - Command proJDpt Continue from a break point III Set program relocation origins $03, 752J Set origin 3 to address 752. $0, 15305j Set first available origin to address 15305. Display program relocation origins $00;' 00:015305 03:000752 Remove program relocation origins Remove origin O. Remove all origins. Addressing using origins $A03-+4J, Inspect the third location in the program module starting 000757;::xxxxxx: at address 752. Deletion. of input lines $DW200, 300.. $.R2,t - note that" Data Word Low 8 bits Data Word High 8 bits Checksum Frame Blank Trailer \, 122 APPENDIX A.9 S16RLL SAMPLE LOAD MAP S16RLL VOlA ADR?:1234 MAP? :Y DEV? :H MODUL:CNVRT GLOBS IOCNVR 001234 DEV? :H MODUL: INASC GLOBS HEXBIN 001641 INTBIN 001645 OCTBIN 001651 BINBIN 001655 DEV?:H MODUL:OUTASC GLOBS HEXASC 002007 INTASC 002013 OCTASC 002021 BINASC 002025 DEV? :H MODUL:TTYIN GLOBS TTYIN 002255 DEV? :H MODUL:TTYOUT GLOBS TTYOUT 002500 TYPCHR 002523 TYPR2 002534 DEV? : INIT ADDR 001234 FINL ADDR 002552 ENTR ADDR 001234 S160DP VOlA $ 123 APPENDIX A.IO ASCII CHARACTER CODES Char 7 Bit Octal Code Char 7 Bit Octal Code Space 040 @ 100 041 A 101 " 042 B 102 # 043 C 103 $ 044 D 104 % 045 E 105 & 046 F 106 047 G 107 ( 050 H 110 ) 051 III * 052 J 112 + 053 K 113 054 L 114 055 M 115 056 N 116 / 057 0 117 0 060 P i20 1 061 Q 121 2 062 R 122 3 063 S 123 4 064 T 124 5 065 U 125 6 066 V 126 7 067 W 127 8 070 X 130 9 071 Y 131 072 Z 132 073 C 133 074 \ 134 = 075 J 135 ? 076 077 124 ... t 136 137 APPEl'IDIX A. 11 CP1600 - INSTRUCTION SET SUMMARY MICROCYCLES MNEMONICS OPERATION Oir. Indr. Imrn, Stack COMMENTS ADD !l c u 'i u ADD 10 a a " ~• ~ .£E'r sua SUBtract 10 a a 11 CMP·. CoMPar. 10 a a 11 Result not saved 0 ..J a: i ~ iii AND XOR. logical AND eXclusive OR 10 10 a a a 11 11 ~ L----.--------------~.__--------~~--------------~r_----.__--~r_--~r_--~r_------------------------------- a -c:- ,Er ! MVO MoV.Out MVI 11 9 9 9 a w ADDR MoVe In ADD·contents Of Regine.. '0 6 a " Add one cycle SUBR SUBt(act contents of Regilter 6 if Register 6 or ~ CMPR CoMPere Regllt..1 by lubtr. 6 R .. ult not .aved;. except- ANDR logical AND Regilt..1 6 XORR eXclulive OR Regilte" 6 MOVR MOVe Register 6 CLRR CLeaR Regllter 6 XOR R with Itself .. TSTR TeST Register 6 ,. .. ~ u ~ JR INCR DECR Jump to addre.. in R.gi.~er INCrement Regllter DECrement Register 6 PC +-(RRR) " 6 ~ .I! r a: COMR COMplement Register 6 One's Complement NEGR NEGate Register 6 Two's Complemen~ ~ .! 10: ADCR ADd carry Bit to Register 6 2' 'ra: iii GSWD Get Status WorD 6 NOP No OPeration 6 Two Words ii c: SIN Software INterrupt Ii Pulse to.PCIT pin ~c: RSWO Return Status WorO 6 PULR PU LI from stack to Register 11 " PULR = MVI@R6 PSHR PuSH Register to stack g" PSHR = MVO@R6 SLL Shift Logical Left 6 RLC Rotate Left thru carry 6 one or two posi~ion SLLC Shift Logical·Left thru Carry 6 shift capability. Add SLR Shift Logical Right 6 two cycles for 2-position SAR Shift Arithmetic Right 6 shift RRC Rotate Right thru carry 6 SARC Shift Arithmetic Right thru Carry 6 SWAP SWAP a-bit bytes .6 2-position=SWAP twice HLT HaLT 4 SDBO Set D ou ble Byte 0 ata 4 Must precede external reference EIS Enable Interrupt System 4 to double byte data ,DIS Disable Interrupt SyStem 4 TCI Terminate Current Interrupt 4 Not Interruptible CLRC CLea.R Carry to zero 4 SETC SET Carry to one 4 J Jump 12 ~ JE Jump. ·Enable, interrupt 12 "E .-tlo J1- JD Jump, Disable interrupt 12 JSR Jump.• Save Return 12 Return' Address " 2 ~ j JSRE Ju"'P, Save Return & Enable 12 saveenn R4, 5 or 6 JSRO Jump. Save Return & Disable 12 Interrupt , ,,, B unconditional Branch Displacement in PC+1 Branch on Carry. C-1 PC +-PC ± Displacement .o c: BC, BLGE BNC, BLLT Branch on No carry, c=o Add 2' cycle. if test condition .~ BOV Branch on OVerflow, OV=O , is true . BNOV Branch on No OVerflow, OV=O , c: = BPL Branch on PLus, S=O , J! BMI Branch on Minus, S=1 , .. u c: BZE, BEQ Branch on ZEro or EQual , Z=1 Ui BNZE,BNEQ Branch if Not ZEro or Not EQual , Z=O ~ o BLT BGE Branch'if Less Than Branch if Greater than or Equal , SYOV=l SYOV=O ." BLE Branch if Less than or Equal ,7 Z V (SYOV)=l ~ <'3 BGT BUSC B ranch if Greater Then Branch if Sign ~ Carry , Z V (SYOV)a() C Y S=l SESC Branch if Sign = Carry 7 C Y Sa() BEXT Branch if External 7 4 LSB 'of I nstruction are de- condition is True coded to select 1 of 16 externa" conditions. 1 MICROCYCLE = 2 CLOCK CYCLES 125 SHIFT JNSTRUCTIONS: Register RO-R3 only. 000 0 SWAP 8 -bit bytes of Register RR. SWAP 000 1 SWAP bytes twice SLL rf .-c ,.... 0,0 0 0 1 1 0 1 Shift Logical Left (1 bit) (2 bits) 0 0 RLC ~ 4 h 0 1 0 0 Rotate Left thru carry (and Overflow) ~, -4 14r 0 1 0 1 ,....0 SLLC ~ 4 0 1 1 0 Shift Logical Left thru Carry (and Overflow) ~ -- !4- 0,0 0 1 1 1 O~ SLR =t- h 1 1 0 0 0 0 0 1 Shift Logical Right (1 bit)" (2 bits) SAR Q Itt h 1 0 1 0 Shift Arithmetic Right (1 bit) (2· bits) 1 0 1 1 ~ ... b 1 1 0 0 RRC ~ .. .b 1 1 0 1 Rotate Right thru Carry (and Overflow) ~ ~ ~ 1 1 1 0 SARC Q , III ~ 1 1 1 1 Shift Arithmetic Right thru Carry (and Overflow) 126 APPENDIX B CARD SCHEMATICS 127 I REVISIONS * ~ ... ~ ~ ... * it ~ II< 'ir.. AIPID.s V22. -...;::r ~~ L-~-ILC."I .... ~II :1'2' 1 ...•._ DrSBAIt,'f'. ,....... 1"1"'1-1-· +s-~~i''''''--oIIII'1fi il.~ .2~.JI Bus.... . ~+s I .. ~ ....--..:..::=-+~.cwcQiI"'--t'.~ 1"I .. UB~_rjo..~~H~3-'--------N"-J~. BA»I-'. ~_ _ _-+--=S"<-ej 1111 I&--lF~=-:::'--+.I.f'--:::. - 112 t ~ ......_ _ _ n J:; 12.. ~ I" t. ~I}II..3IL- _ _ _ _ _ _----'::"~=-.'J11DLI. t---+---+----+--"lj"GI. ~ lit ~' /14 B~t..z'J/t 1~£~-~=-~~~.~~L-----------~H~:3~'.~A»LJ¥ ., ~f) .. a I~ V:" .. .----~---~~----+-----_+------_T--~ ~U.1~·IIL-~----------------~~~S~-.8A~~~ t-----+----l~---+_---_+------r_------t_....~o..~ ~.: ~~.s--------------,H+ou..::~. 21A'j;)I.S~ t----+----+-----I~--+---+----+----+-....;=..U ~ I/~ ~. • HI. - . ."~ b* l&.:.-'o. .11 c117p)"*-L-_ _ _ _ _--- ,'=* ~.......,. t----~--+---~--_+---_+----1-------I~---~----+_----+_---4-----~---~----~~ ~~~}~~--------~N~~~~.~,,~* ~.---+---_1-----+-----_+---t_-----+-----......------+_----_+------It_---+_----_+------+-----~------~-L.!/lZ.""" ~ rL- ~.AM .-..- H'O "BADi- 14* ~-----~---___I~---+_---_+----t_--~---___I----.t------+------~----_+_--......-----+_---_r----~t_------r_~O~ ••- ~c..~ ~ .. , , • zlU~ Ir- :I ""'--' ~ 1>II-bL ts7f( I~ _ UIO - __ /~ --p.:!t--- ~ _ _ !l. VlZ I. ?4!>7 r-JJ: -'- _.!:l. TZ4, I 'I "--J'---' , 1 _ IL __ 4.-~ 7 --4 -- ., I 4 .--_":..L..__ --'7'-'-. ___ L ___ tt DIS D/4 DI3 DI"L '---_T--....JI.,ElJc.;c CP 11000 U4- L -_ _ _ _ _ _ _ _+-_27~Z~~ L------------4-~~~~2 L -_ _ _ _ _ _ _ _ _ _+-~2~4~I ~------------+_~~~I£a'A~ ~---- ....-.-.---..- .---- -.-.--------+--+-----+_------------------+----+----+-f------f-+-----------------' ." .k UII"'" +s "'" A.lZ ?fHIO ,... ~+s- ~ ___________________________________________~~~.-'--7--------~~~sr~~av5RQ* __ CIIUs"" -- >~~~~--~L--~----~I!~~~~--------I...----------~H2~3~.... Bus~~. ~+5 ~--_--!...I~ ~ ~. _________________________________. ______________________~~q-'~--------~~~5~1~< BDfDy ~~J~--------------~ ~~S- L -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .l__~.__ P _ _ _ _ _ _ _ _~J~20 R" R~ 0 '7 .I III H.SSS- U.30 I +S 3 J .rJ.IT 0 s;z Ik'~M~ U: ~74cl, 5 1474 P& I D Q /llci.l~. C~' 13 I,"TC.~Q / 'l400 a. ] VI2."'3 'L-- .. '143B .si I), .1. rI>JTf/..* ( 2.1 ~ '\ u/D 7~0' C-r qn'" Wfl&I 4~ ~tI"f f 743ft 1 ~ ...q I.J U1 f 9 JI4 PF-STAD '*' /\KLR,* I~. 3 1~ 4 V V ~ 740' .~ I 7+04- rAIC.. . iJ{oo/ II" ~"---"J :. I~Uf '\ /I 'J"'*I RTe. STAD*, NAc..T* 1-5 .s- UU I Hb2 Ik~ /l..Cj 1474IJ:~ PF~Q PFIN* 1 /) (}. III (l/~1 ?4G4 ~I ~ r 13 V~. " lNTllk* _ _ 13 '7+0. (2.- Pe, I Q ?tOO .6IU'2"\.1 61 51 0 HZI .IPRO* U23 ~ 40 51 -/51 1001 IL& $1 - 60 1","0':> \ 1"38 U'! j +s ~ "-s R&I-9 4 rAC~~~ 4 ....,0 Tex* '1404 q~.o 7404 -------_. _.. '.11 V/~, ¢. 7404- V23 (123 7~74 I~G ,~ fl}..,~.... HZZ. lMSKO ill-n V2D P2. .so - so - ""I ''0 '""0 '''01 rAE:. . ... 1 =. VIZ. - TYPe 7"00 +s- i4 ~"I> 7 +12 ,+ ,, ur;; I 7+I.-SCO 7 2- V IS uz6 (h U23 '1+04 ... 14- 7 74-08 S-PA1~£5 1 '14H10 I+-. 7 5 13 VI IT7'o V~ V$ u'l 7431 14- 7 74D4 ~4 1 1 2 vilo .g VI4 vz. 7474- DM7.f-,.S 14- If., ...4- , I;z.. VZ" 7""50 It VII VZ I)ZS Uz.+ ,1 UZ'2. .'7437 /4 7 In_j ..., 1..··1 ....n.IAI I I' ART 5 LIS T O£SCRU'TIOfil I Owe>. NO. T IlEM,.,ItKS 1,IoU.DI _ _ , --_.- III UNLESS OTHERWISE Sf'EeIFIED GENERAL INSTRUMENT CORPORATION -, IJ. u.nOfl 1IiI11CtIh. HICKSVILLE N,Y TITLE: L _IIOTICAI.I -.. MC/6 0 0/ Me/bD I NUT ASa .....,. I ...... I .... _ A U _ . -.~ Ie.... SUPERSEDED IT SIH'£ItS£DES .--' .. --'11 ALL _Ul.O, .- 2. DIII.... fIII CHECKED ENCii ......... "ROC. APP :2 OF ., 1~·~s..51 I 111 L4"'LL 'X 2 1 I._ACE n .... DA. . 14f1 '/7S" I I T DSM( 117 :>,1'Il!L":::IIi.:...",,,,,JI',,-----,""l Ii f.2 :>-"=--.!...::--tLI Hg :PBl/S. 3 1/ 'i! foWH RE,; iJIREtIIE.tJTS L PEvlCE TYl't G-f'tb HYDe //45 :> BII~/5" ~-sc I s- 7~o4- 7400 74oF? 7 7 14- 14 14- U4(., va; uJ 0 vI UI V/4 U4s" H31- :> ~15DTLJB"-,,,,:f,--_ _ I / , 741111 /4 U47 S~4 I 7430 14- V4-o 4 ]43~ /4- V2 V3 VI" Ul1 I 442 Ii /., Uz.4 7486 14- U35 7WO 3 .. RA-3-4JS68 I;?~ 'f 10 Tl4'l/i. tAl MEMORY READ / NAN05i.("t./,v~~ ~ 0 /00 200 300 400 Sot: W;o 700 ,'" 7,?? guO Nil }-'1('--_ _~~_+_;;..!, '::"~, ~ Blif)IH :i C:710U- ,j-'~;ts 5. ;N6S I -r -i~ AbIIR* : o/lllT,g" 0 --1-+----t--- .- .1";;':..Iy_-+_-+-__ I, ,I I I : !: ---'-11-, I~ Jo ... -b8Ll# ;-~~-----------~rl7.:~~p~/t-7~~r~A DvJSI' :I--. . . .!~-+I-...j,--+-\-1--\----+---...;1--+- i IVIEMORY WRITE i STr't-,jLC 1/)~1i6:i" "!"'~ __ ;-- ~T4i3'-t l>Arli llNfS ~---@ MICROELECTRONIC DIVISION --------@ GENERAL INSTRUMENT CORPORATION HICKSVILLI[ NI[W YORK Gr MEMORY BOARO RM \<000 @ .......... DRAft CHECKtD 'ROC. ..... ENG. ",. SMUT fW ~..OT I 7'"18"""-:,4+--+---4---l DII'IS-RIII-Ot 2 -"-l.".,,/,, 1 I ---' 1 i L''''' I ..n I • , • I REVISIONS oascttll"'T1 --+-+-Hf---I +s Ik 'IUO 111>1 ~~ I'~--~~----------------------- P61, ,I<- P61----~ ,. Ie. +s ~ 1>?of.O 4 ?,fOb 740r 174M 0 '4"J r,"'4 '7 V 1., V$'$ V.ft u+o ~, VSO _ ,_ _ _ _ _ _ _ __ -----. :3 1 4-1/ 14 vS" . .: 74Z-o ,~: 7 UZS I.Jt., 1 74U ,0/- 7 __31 .______ ~ 14-30 :4- ~ ",.. -0'·---:1.""'0,--------- : 1. 4-42- ,i> 8 VU 1.5"1 3 , .. ,. 14 1/'10 ~ ~ Z- 74 IS- S' 12. U" •. (U.S .:. 7 .. HID/' S'3 ~ 151' 1 +1. 14 v~c. -.!.:~ .~ - -- - ---~-----U-+-U----------------------------------t_--_1--------_1r_-----------------------------------.----------------~------------ rRA?~ ~-=============--~+-------4_-------------------------------------------- "",I ... 1"··1 ........ I ,-- -- III GENERAL INSTRUMENT CORPORATION --+-..",..,.,.,",,_=_:-:,---i _- Hie I(.V ILU[ N ., hT"CONT1WL CONSOLE CARD .. ...... I su..:ItKOlD .'1' -' "_ALL, J, _ _. . . , I REVISIONS An 1_ .... I··c.•. I + ?4Zo r- ___________________~==========================~==~~~~~U~~~~I~ /' .,..... "... ...._ _::r Lr;;Z. ...:..2. 5TSTP.j, LDR.--------------~?4~Z7~'~~---,...----------~--------~~------------------~----+_----------------~----------------_1~------------------------------------------------_, U, -aAr·~a:;:.e.:--.....--..::..~ ,,)0 10 • ... •• III. ~!,. Ii:r ST~~~,. III.:I~l'" ....r~ ~r===============f=;":''':''':''':'~~~~~~~~~~~51~~f7+~3~ ·L. . . ._ ,~ ,,1.1 .~ 11.1 " --.. ~3a >-..... •. ... .. I ~~N' ~~~---4---~~~~ 1);-.).1._+_--------'91..11 a I-IT»-If ,~ IJ57 ",:51.,...------. liZ. ,.. " 8A~----------------------_:--~~,~~~7~~JL-,~ I -··----+----------r--t-1-------'-----1 '-.... 5rpISTft..,: :.t~ A):,:.~-,I .-.:lvrlO- . lI~d\.r.=.7l.: =- ' __ . -v '" _ =~~__"';I"'I.I(-. . .7+'~='j°.i.1 1 7: )o'~ l_-_-_-_-_-_-_-_-_-_-_~-_-_-_-_-_~-_-_-_-_-_-_~-_-i+- - -.~- - - -li~- - - - - - - ~- - - - - - - - ~;:* ......----4 _____ ru,: -~ ~~..,~ +--------------;::::::i:~'__~IIJs. ST7/~':':: .. i ~e-- ~ ~ . t~ ~.. ..,.iJ s: -'.ol.'\~1A:,.:4~r--..:.."liJ60J./....--__--.rp"". _I ... I 11 ..... 7_ 1 4«>.J.J. till 7 ,0 .----..... .. c4 .,.~ ,. J.O+, - S-rp '81 IL _ _ _ L ____ !---''----".J _ _ _ _+-____-"~y J" 10 .. HAL~~H;~~1~--~s+L~~~~~~t4'~~~L-_t----------_i~·~'~~'·~··1~O ,.~ .~~------~ /1. .;; ~l/ V ... ~~.. IIWt ~ r'-" ~ O~ 7400 FN: :T·:6·:~:_~ ~ ~ 4~ ~_~ O~.~ ~ ~~ ~ ----------~~~-----------------------1~--~--~~------_,----------------~l - RVN.4i~-------.~~~--1 )/. .. ~~ "'ItO' fH~~~'-~~~I~K-----===~=~~I==~--.-~----~:~.~~~~~------~--_+---------------------------------------------------------r-~..J ~ ~~ ~~") I~ +s- 1. I IHf +5" ~ ~'Iii;. . . .~ ~t>'"--_+_~--_t--~ ~ 7.7. HZZ .,"~1---------_+----' --+-+-------------------+-:--------t------t--. . . . .-j_I~-:t MCLR~~H>3~:~· ~---------t~3~~~p-.~J ~ ~ !---J------------------------------~----------------,...~--+_~------------------------_t-----------t----~~-~f~::=~=·~--~~U~: ~ ....T--------t:..;.~~47 PIlII. ::: .. r---... 17 .. rACk. '---'-\ ... .. ..... ...L< !....It ... .. ... IMSI(O ')000 r \ ... it. ----.UUJI./' ,_ ~----------t------------~ :;;foI;..S~1 ........ .. "'3 U3S. 'p I Wllll~.-+---------- -+I'I . DISTAD¥- rex. II'I5kI : :~HS~7~----------~-----~I========================~~=====================9F========;----t_--------------------~ ; +S" II< IL-_________ AC.I<. '14'15- DBL~----------~~~;~I~~~========~:======~--------~~--~ .r~, D81.f{ ___________--...:3=-j I. .r.... .....,.. U~ ~~~====~~;===~~;:~==:j~~ I "'a t J16L 7 -----------4 ~ Viol.! .Zlt. - I1:>-" ll____ rR ? T ~ q »&Lj" ------------4 ~R----' ~~ .1 3 s ..2U.O ~ .. U4.Q\. r .. (..o-.TA.OL& ~s---------r----~~~o DBL4 3 Q (., Ll40S I ID-L-----t-- 14 JIIT _... I ,. o I""!. ..a.~ -J Lr;,." ,.. t ~, il53 DBI.3------~--~ I /I I ? ])f;L/ '" S 144 8UT8* ~O~~~+_----~~ FETUt.--"-~ L---~----~----------------------------i_----------::BDTB* H" 3~~7~.,~~p~/------+-------------< BAR* 3 L--------ll-_-_-_-_-_-_-_-_-_-_-_-:.--_-_-_-_-_~...;;_-q....:::::\C()4=3=_...±_---r-.-. ------ DW'S*, ~ ~,.o" + ,... ff ¢. 1--_ _ _ _ _ _ _ SIll' --- lit. pez 1-·1 ..- 1. I -. ... I -. • 7~3' '~rrIIS'/ • • IJ57 "51 3 .. • , _ ............. - . ,,_MI.. ....... -- III mu CONTR..OL HICKSVILLI: N.Y _ -- GENERAL INSTl'tUMENT CORPORATION . C.orvSOLE C.Ail.D \') f ~ t ... - j - ' - .. -' P. . . . . . . . II,. \HS7 L REVISIONS I It i I A ~"rA o0 VA lit 0' HS R.. , 0 ST..... TUS B A STA~ I I XNT£U,.IJPT 010 HS~ o I II.sP B2't TO ::r2-17 4 ) DRVIfT» ... _. REVISIONS U2 I +$'/ " ..... - ~ ~1I~l~vt~lgo--~------------------------------------------------------------------------------------ ___________________________ ~~v~~~~----~~~ PINb OFTTy ZH4 M I'" 3 21' ~ A~ :]"3 _MLtb'#o + 121/ ----""'" .... :J.10.f/... c-. -P"I 7 OF rT r J)... ,¥ :T31 .::r+ _];8, 2._ ""'" J.J'I ])BL.3* +I~>I _ - -12.>1 JS -_D8L4-iII .:r4gt_J::ol.Slfr U3 r-l.. rl~- -~, I UI4- I "3 ;;-'" _DB. l:>B.b4 ~~I 7~ ~----------------------------~~'~IC>--:~q~--------------------------------------------------------------~&r~A&N~~~;~~ga.~. J7 _J;eL.BI TT I ~ TVIT I"z.::.::~=--__-----, JlJ2. D1iL'i~ !~--~- ITI~ J ;rp "Dp>uti> * 10 i ~ j.(3 ~~~~ 1>&.11... ________________~1~4 V2 DB,_'Z~ /I :T't T+4 :;;,DBLl3* 5 :n¢ nBL.l+* I• D7+173 Q .3 M>Pd> ~ " 1"1):n-I "'DBLIS'ft; 1--+-++-+--i__+-_:.i!..jL3 D G! : .. _______________________________________________________________________________________________________________________________________________________________1I~ ~ .. ~" T"O T/ - 2- :]"45- ~t-+-+-t--i--~~D ~~~~ 7.~U~tr~·2~~~ ~rl-3 Q J. HSl'3 . . n :TI-4- '7+173 /I L-~i-~--~~HtD~~~~3----------------------------------------------------------------------------------------------------------------------------------------------------------------~~~P~.~~~~~ TI-~ /6/ ::::. -a:.. Pit J ~2. PD Q~______________________________________________________________________________________________________________________________________________________________ . .- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------ QFJO~ HSPC ~bTOJI-b ~M~SP~·~~nTOJI-7 /lIt.> C.K4* IS L-#-~ VI? Q" H~P7r.. "TOn-v ,~ --f-<'" ~>I ~U~A~T~ST~~L-______~'I'>~~ __________~ ~(H 1-1:/31. ~62. '7 '1 ~Isr (Iii- .oolSA.f ~Ot<. +5" ..-_______________'74_'_zt~~ I(JCi V~ I ID~$ 7404 6-IJp 6' TD :51-1; '6 ·a_-~~~It=,~~------~,q )~'~ ______________~____________________________________________________________________~______________--------------------r---~~~~'~,.,O TO TI-H V311 fj.OI.D ---." TD :TI-~S " l£FE..eolq;- TYPe G-ND +SV +12.11 -121/ ~ 3 VI' u46 tJS3 7400 7 14 IJIO 74HoD 14 (/) ALL RES'~TPR.S H_e r,w "'''L€->'> :L. 1)45. U+'t 7+0~ /4 5'~'-'FIE l> oTftfL.-J'~c SPARES 4- 14 U.v•. il6 III II~L';~ 1142, '-'t~, 1Jz., ?~D4 ?4Db 7+DlI ? 14 ,;If 14 ~ 14 TI:~"',';"TIN6- I" f"J IC- ;>"'-/C."~c NC:T,.)~ItIC.:' f':L " I ' C,'L I Ksrlfl'f I~ VlI V$iJ. 7420 14 u,t..o V.1,s 27 Q) H51-~" HIH It O.I .. f C/H ~ J)+T'i:in. IJ{U.L /J~..iI I' HsPST8 32. I (!) C.I2 ,..J. • ..JtA _< 1rJ10pF +0 "',ls V:U .3 ... t.I".e.~e {,o c.rs (R,,"'EII) Z. IJI .. S ~= 'fA-l,S D $- -. tJ 7 0 ~ $- 7 V 'Z UlJ r 1 r '3 I D- 3- un z. I ss.s- I -.''''2."'y'-----r--------------- -/21/ 1:>- .3 u VI liz. ~S" Ii ~ - - I I' t.' Tlo~f IIIf/-IS,3 :;:. I " n C.I':> + • --- ------- ............ ....... -- &._.-t . . . -. III GENElltAL INSTftUMENT CORPORATION ".e".VILLI: N .. I/o 11,00/ tiD 0 I .. :.au.: - ' 2 .. 2 r. :::-: o s-ro-o/7 CPu CONTR.OL C~Qt) MEMQR.'( O~ ~~ P\l""~1 c..... J j (MEM IGP) .n« r" , sr 7 -+SVk ,,. . ~bc :iJ. " ~ ~ -I:5~JIr. 7 rllii, ~ I 3", +~'1M ~# I/< UV.lJc ~ I!IJ 'l!llJ.1 " 1 MV./Jc X1l_'" ~b-vJ& of ITS. iM' •• ~~ 'U. 'WJ!Ai.I'iJ I~ Ji I,. JI&.~_ I~ j j ~*- 13, +!f'1IM 1+5"'" ~1 J1J, " •• ~ #SVk. 1 L +.N.k:. ~ 4~-' 17 JI..JlJk_ # Ii H'lIk " :2. t ... I~I-s~ IJ] LU"lolIL • I~k 2 11. 7 ~JIc -I61/k, '-~" "'fmc. 7 I:i" b8, • 11>8tH u6t ~. I I-SV~c. -/5Vjc. 37 +$_n ~ .,.., SCIJJ£ 31'.M. III f5dc. g ])8.. 011 ,1 r2" ,. , • • )II.. '" - Jl.J. , - 0; )It'l _ ' ~ 2, I1r MIl ~'" M,,~'" 13'i' l!8, ~,. 4:b8~2# 9 III £~ 1.1 :4# 8 .l&~" ~ f ,.. ~, ~~" MiS'. 4t1 I.,.7. ~~. lII~..H .>< t4'1 1IIIl ~. 1IIIL ("., .r'l t. .t3f r.. :.1 • ~4. ,L .t :34 ,II IU.. <.# 40111 .S# III Ii MUj' ~t;'# ,.N. ~ J.~, ~ ~il.:"· ,f. ,2 .. ,. lILt II ,loll ~!I' 11~ btll ~ )iI:H I.~ L4_ If<' 1I&S_ SM '4" ~I 2 7'1 "1'1 7 L{d II 8 B .)j ~ ,,., 1to 11>1 I, I ~'7" Il, ;. ,),1." I : 'f. ~j .J~ t', bI.i 7 ~ w<; .. ; 7 .. 9_ .. h 'f 9• Ii .. , ,w .. 'rill ), 1~IUj '" 7..h! 1-1 :'"U W ~ ..b.~li Leu 17A, ~ " 'il w ~t 6t '/, f L'~ ML 7# i1 ~A,~ 'to( 'fl i. "'- I ~Ji 7. ~~'S 17 1>1 ~ II Lfl. IJJ&J/¥ .l>l 41 M' 9. 1 D dltJ I.". 43 IJrJ r ", IL 1111 8 ll/! " I ~j ",J, 3 1>I\L'1" .,q,". f '-Ii-#. I ~i JI' I M.t~. Mi.1 , " I'. .t.~. 11# 7 .bI 114 II' "- ~III lUI VAl ,~# It " " ~ I• • 2 !J Ie, 110# r LII, ~.. 1# ulI. ICl STAPft fl.TC.srADlI IJ'F$-'-"_ 51 8/JJU~ + 1.1/ IS +-12-V IbMf~LY" #I 50 :;1 1AI0Y ~ +11-1/ 13 II I! ~+I~ 'JLJJJ!J..L ~\Io ~ '-I (jJ.eJY £.i. +,.>1 I 3HIAI3 +12.11 Il2.. ,1 ,sJ.oV c\f +12.'1 IIWl4 v. J N..n 1M Os- JlwJ4- " 'i.. !!2.. 11-1 &J>D~ '-D +u.V IJI I..- +12.01 '-~ ~ IrI r Jlil./fo >SI'J. VII &\0)0' i!:l ""1..11 13 JlIAI .... •- ilK I""'~ 13 iI~ l 11'1'1.. li1 ~ l~tOy +r. II M 1Ir. +AV ",. 11""-# flfv... I"" 1i'/~Y In ... 'J.V I. .- JJ JlI4IJ. ~ 17 +12.11 " ." 'I- !!12 .1 &by Jlw4 I ,a +1'2.V IJI ~ .- 11';3 + '-V 14K JI""# ~" Ls1L i>J h.U-.. L~ +1'l.Y '.3 HAJJ JI ,. 11 +Il.'i ~ JIL - 6Jb( 11,.)# d Jiu 13 II" M - IlL +1 VI .'1' IIIA14- rIJ' lID. .~ -I 8)0)1 ,..; j 11 rll-II H"".J ~---,T-- I,D 5l~If~y' 52 +Iz..v ", f-/Lr- ,I. i'* - +1 .... " " +/2.11 r1 '"' +12." " rl-"''' ,53 fi3--.J)c. If+12v:bC. iG3 +J'uiJC. 'i+I2~ >3 +J2v.k::. +12"~' 3 f"v.b, ,If +1'-V.lI&. Ie] +J!VIc. +/~ Sl t~".k. ., fl3,vPc. fltvk. " fl.tllk. " +I~VI>L. IX +/111A1: .0 fl:/.>IJt. i H2-I~' I<;'~ +l2>1~ J~ +/2'il1G r1 +1:1 vA i J:JI/~c. ~/~"JIc. r "/2v~C. si t'2vJ><, II +12Vl1C. 5~ 55 If 20 51I11A)I'iI,M.. 1'-~/S1~1 PI;I","" B SI r t.. Ilf iIO Pc.1NM" ~ .)- :/p, ~ .s1L ,W ~, !J Jl;sAJiii" ~ I>s' bt~ ~ ! lis I.D 10-", s- ~ IS ~ lu' OIL :" 12, ~ 2S I E8c..S* " ec.4-... 61 .u; Il. I I ill. ~ '"I is' 61 '" f~c.7* 17EI}Cb* ~ 1 7 l1 7 ~ 1-'1 t.1 I., 1 :I ~ 11 " 1. 1.<.1 J.L I"" 1.27 r.1 i!' !J7 - ,3 ~ ,27 .,, /oJ fll~t. ~8c.r ... l(d ~ 'B ~ tj Itl aJ j »' ~ f 3 ,3 12;' ~ ;' 128 ,- ~C8C.' .. 27 £8cl"" .. flJc.l3. 3D EIICIZ*, , ,filetS. IEBcl4+- 67 .s 3l a. Iu ~ ~ ~ 2'i 'JO 3J U ~ 5 !f1 M ~ I IlL ~ "7 ri .lo 5/ It '" ~] U .., lJo JJ ~! <:.... ~ U 1 ~ lil lu U. .7 - JI .32 ~ ~ ~ ~l 2f 31> jl I ." ~ os 11<> I IJt ~ ,.. 7 "lo I 12 I.t.I " I- :7 I.Ij 3D 11.2 I ~ (; "" ~] 'l'7 ~ () I 6# r I" " ....,,' I"1"'''''0 "" I"" 3.1. I B ,~ 70 Golll 34 1,3!i ""~ '", 7f) GO!a> 3l 34 3$' Go4Q) "" '5" I?~ 33 131 35" WI~ lK.. J> 7 GIfi.l » 3S' r;"'J I" ~ ,5" In lw l1l'"~ ~ '5 'JC ~ ~ IV' GN.J ;f I..V l1P ~_ .33 H J5'~ ~ I"f 7() ~ H 121 lS"~ Ii' f .~~ In IJ>I l.if' (IMJJ " ,~ 1O~ .3 ~ 3S'~' ~ f 1~ r;:~ 1.13 !If. 1~5 r;:MlJ ~ "70 G.w.!J lU 33 l~ r.~ "~'''''' 7tJ GNh S GN) JU'S M'fW.'f 'U""0l;:7,4(fFsrAO-lt) T'EO TO 731 (D.L,.) 1("01 ON~'I Foil sys-rfH5 W'TH F.~ SYST~HS WI''''' :7"', (~T~STf-D") TI'P To 7 .:r22 (I'1CLI<.) S~oT,3 14"""'-'1 : .wJ) s~o..,. S II"'~': .HD :.072 H21 (~'J.(H") TICl> TO SLoTI3 HSI. (:Cf'/IZ.'iI) S,oT' H~':"- th~~y:#ItI. 5L'T~ Hl.~ (::I'tS/:.O) TIED ro SLOT,3 HS'l (:r:MSlIlX I fsvbc. » -+5Vx. I +")1/)(.. .lO f51/,bc. I f5Vjc ~ +S'I#C I +S'/k. + iYJt, I :l'+'N.c. I fSI/;C 3. Hit/bc.. , f 5"~ be ~ 31 7 11 Jl 1 31 8 oJ 3 " 8 4- flAM I... 3 I,,,, 3i "IV"'.. 3 ~d .. l3r Wb.I III. t3 '''' d, ~1 ]I I. ' 11- ;¥/JI /" ' 13r /1 'rP., 1 :Jf~/(1"3 'Il~f. • l .1 31>' IMb~ I. S6 ~OL 8 ... 2 .. 8 fi r;1/Jt3,. ~ Jt ~3" 4 ti 3,.4 Iofu !Dj j. l7 ';/1 ~ ~ Jj~3_ !9«i!l_ 1.,. 37 flAJII. 3JI. I- 'JJ~. If "If /I 1(1 # 37 3,f. 8 4c 5'''. Ii. ~ 8f)I. 5'" l5' il , 4. 10 WVI J"... ) 11 '. (4" 10 .1.:' .~'! II. 4ft) la, - S 'J. -fI '"r.. I(J, s. ',,"-I ~ '7;1" ~ f() IJA.)I( 5 ,1,('4- " 0 S If ' ~ 1.3. 'MIlS. ,t) 11141 11" iItb I~' ~ ,- 13 ~ IS. J(} ,'12. , 140, 1115< I~ 1# '!I~- ~·13. - 'fl I:) 10 'IflIIt /I~ 1(/ '7 /.I biiN< 13 '!ilf.11:!* 6 , w ~L T'I1 I". 1< ,i/.i(J(1TIf I/. LW8r'fl /1/1 T", S/lJIj II<: '" ISjP Vl./~; f'rI 1/ #~t1T" #(I:illt) L'tM'1'1I I ,.- D 1#" L I/$r~ III, '1.16 r. M ",~T* 1/ U" ; . I> 1£ I.., 16 Llol TtJ II UG8TIf :.; lit " /I H >iJr~ 4" 5 tlI!/)/fIS. ;c. BA)[ 141> Lw,6r. " jL(rBr. B 47 ))18" B 48 It]),. , 7.~7: f~ I/jM, • I~ bw. J? blAJ S·" nD78~ If All/II ~ ii, lIu J' ~7 bJli II If IIAIIl- 12 :bwJ 13.Jws /I If 4))1111 II ~J )w, jI "liM. )T8 .. ,/2 w,. 1>78" ill 1tW1J J3 "" . _ )_~JI 1 iYlfl. 1/2,}w.. II It? IJ,W" JJ1lwS , "', b~. II. /lJM¥ L1.M; I J2 IAJ" #7 )) ~ " It ,,,,,,, If IilJI. ~ "'s" .1>' 8.,.. tl AUII<,. ,:: 1)\'/;1- 13])'Ol5. - I4'i IAA,. " \OJ '" " h"",'" 3 B~ B II r#- ,Il IIi8" SO AlA",r. II 15 BM I> rAIl. If. l'urM. f) 1M' 14, I'JIB " IIf. i/Jf'1/£ '" ;/i:D NlfC,r; 1II1(l,.J, t'i [1/8" ,/~;;.mIII " q) Nlrer" /s M~ .. "'. LRl/l " scNllcr_ 14 .mt. - ,lilt ... * ~II 14 ;,J7'If(, SONIif.1'''' Stilli•• 8 I Tr.l, 51 -I>: ,J K,- ~ I'a~' ;1 TC ''II , C1t4. z.V III -ON 151 rei I' Jr. Clt4 ... n;, '. Cf'4 .. 17 -Il..v IQ TCI~ I/' a4J# 1'<1 -/2. v J7 -/2v '>J 71:.-r ~ -:-.t:4,. 'St TC '. "r:J/~" ('I TC. - II '/I, rK~" -12 v ,1 K', I" J(~f SiIe" :. o.'~~ " Sl -12.'1 17 -11.'1 ~ -I,ll 7 - _V d -ILV " -/2.V -12..11 ~ -~II 1l..11 (-, -/2-11 I I;, -Jl.V 17 -ILV 7ZV 11 -1211 6 '-I2VOc. ~3 -I'{IX. If -/2,V!)" ' 15'3 -/2.flK.. r -J2'1cx. 3 -/211DC. If 1211oc.. .l:l ~~ Ii. -/2VDC L~ -lz~1X.. -/UTl':- .d -I2.VDc:. 12VlJc. CO I'VIX. ~j' -12VJX. tn -12 Vl>C if -/~'f1)c 3 IJYl>C Jf -I Z vex::. ;3 -i!:~:X ,( -,':v])C 54 ,51 II 54 Ilf ~ fi ->t I >4- 117 I~ If ~ 17 ' !>'L -Ii S. . , 11 -!45EllsE. I"" ~f/NlI ~ LirA" !.>o, 5"IPRI. 1 'PI/Oil- ., - -j, 1 SS _ "",. • , PII,.cKl- 1..!1 Iot>t'O IT I rA # rl't(O~ :5:5- '.<1 T~'" 20 I ... TA. ~. IfJR,i /I U IMP. 5iI '" ,. Irr i.J7IIM# ru IurAI IIJtNz ... '"r~D~ '>!o- J.J nth,,, -Q; TAlJI IWH 'I - IM,U'o - j,O ""kI ,1> /lItJSKD ""liIrlskZ ~-&t5K.:> '" l#f/Sl{, 11>&01.'-",-" - ~ (7 M/slO &1SI(O - (7 &itlK.l ;l;,-IJ,tIi/0 ~ , &-rSKZ ~r"y,5KO .. J ~ W !7 .,;. I- I:!z. 6J 20 ~ I ~ 7 '7 '" 111. &1 ~.. 7 ~~ J '7 __ '.__ , ___: " ~. °7 , .7 l7 .t1 t!1 191 (f ~ '-' i.w '-'. :i ;,3,. ::f_ ~.1.4-'7-----1~7----.- I'I-i-" , 3 ? u 2f ~ ~ ,~ -9 ...."" U J.'i 16# , ~- ~ 6.;- 30 ~- 30 ~- .l.