Digital PDFs
Documents
Guest
Register
Log In
EK-KMC11-OP-PRE
2000
100 pages
Original
16MB
view
download
OCR Version
8.8MB
view
download
Document:
KMC11 General Purpose Microprocessor User's Manual
Order Number:
EK-KMC11-OP
Revision:
PRE
Pages:
100
Original Filename:
OCR Text
KMC11 general purpose microprocessor user's manual EK-KMC11-OP-PRE KMC11 general purpose microprocessor user’'s manual digital equipment corporation - maynard, massachusetts Preliminary Edition May 1977 Copyright © 1977 by Digital Equipment Corporation The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors which may appear in this manual. Printed in U.S.A. This document was set on DIGITAL’s DECset-8000 computerized typesetting system. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC DECtape DECCOMM DECUS PDP RSTS DECsystem-10 DIGITAL TYPESET-8 DECSYSTEM-20 MASSBUS TYPESET-11 UNIBUS CONTENTS CHAPTER 1 INTRODUCTION 1.1 SCOPE 1.2 GENERAL DESCRIPTION OF KMC11-A MICROPROCESSOR CHAPTER 2 INSTALLATION 2.1 SCOPE 2.2 UNPACKING 2.3 OPTION 2.4 MECHANICAL 2.5 PRE-INSTALLATION 2.5.1 General 2.5.2 Pre-Installation 2.6 INSTALLATION 2.7 DEVICE 2.7.1 Introduction 2.7.2 Floating 2.7.3 Device Address 2.8 VECTOR ADDRESSES 2.8.1 Introduction 2.8.2 Floating 2.8.3 Vector 2.9 INSTALLATION AND INSPECTION DESIGNATIONS PACKAGING PROCEDURES Information Checkout Procedures 2-12 ADDRESSES 2-12 Device Address Assignments Selection 2-12 2-15 2-18 2-18 Vector Address Address Selection CHECKLIST e & (L @ Assignment 2-18 2-19 CHAPTER UNIBUS 3 CONTROL AND STATUS 3.1 INTRODUCTION 3.2 BSEILL, CHAPTER 4 1 MICROPROCESSOR REGISTERS | MAINTENANCE REGISTER CONTROL STATUS AND 4.1 INTRODUCTION 4,2 OUT BUS*/IN BUS* 4.3 NPR CONTROL REGISTER 4.4 MICROPROCESSOR | 3-1 3-1 REGISTERS 4-1 REGISTERS 0-7 | 4-2 4-2 MISCELLANEOUS 4-8 REGISTER 4.5 NPR BUS ADDRESS AND DATA (V REGISTERS 4-10 CHAPTER 5 MICROINSTRUCTION PROGRAMMING FORMATS AND INFORMATION SCOPE MICROINSTRUCTION Branch Move Microinstruction SAMPLE Programming KMC11-A DMC11 A ADDRESSING PROGRAMMING Samples for Accessing CSRs Microcode APPENDIX FORMATS Microinstruction KMC11-A the WORD Programming PROGRAMMING LINE PDP11 UNIT MEMORY CONVENTIONS Samples NOTES PROGRAMMING NOTES ORGANIZATION AND CHAPTER 1 INTRODUCTION 1.1 SCOPE This manual operate the five KMC11-A chapters the information General and one Purpose Chapter 1 Introduction. Chapter 2 - Installation. Chapter 3 - Unibus Chapter 4 - Microprocessor Chapter 5 -~ Microinstruction Control necessary to install Microprocessor. appendix j into provides as and It and is organized follows: Status Control Registers and Status Registers. Formats and Programming Organization and Addressing Information. Apeendix A - PDP Memory Conventions. 1.2 The GENERAL KMC11-A DESCRIPTION (Module OF M8204) KMC11-A is a MICROPROCESSOR Unibus compatible general purpose microprocessor with writeable control storage. It is used primarily to reduce hence, the the input/output KMC11 functions load on the more like the KMC11 a CPU in data a PDP-11 handler system; than a data processor. The functions performed microprogram contained of does The the KMC11 KMC11 1s a not stand by in its allow alone it are instruction to device modify and can determined memory. its be own by The the architecture instruction programmed by area. the user a to DMC11 perform an appropriate Synchronous line Line unit Unit. control the Digital Data Communications protocols. There local unit (M8202) cables in local are for two network The interconnects applications. interconnects common carrier facilities. There unit; however, the version programming. These M bps four Table Line Unit remote options 1-1 DMC11 can Protocol versions which KMC11 can be of The are two is are is the Unit Table for DMC11-MA Coaxial 1 Mbps* Integral Local (6000 DMC11-MD Coaxial unit 56 Kbps Integral non-Digital Up to Bell (18,000 ft. max) DMC11-DA RS-232-C or Remote CC1TT V.24 Kbps 19.2 208,209, eguivalent and line max) Cable the coaxial Options Modem Local is 1-1. Speed ft. by each Interface Cable One remote of to stuff via modems recommended in with DEC's or bit computers variations not used as unit. computers listed Line line other PDP-11 be such (DDCMP) the PDP-11 also microprogrammed type protocols Message (M8201) 1 The KMC11 character basic which task. or Table Line Unit DMC11-FA 1-1 DMC11 Line Unit Interface Speed CC1TT Up V.35 Remote to Options (Cont) Modem 250 GTE/Lenkurt Kbps L500Aa-5, WECO (Bell) 500A L1/5, or equivalent modem the used oOn Digital Data service *Not The recommended KMC11 control memory 1is an storage and shown non-DEC programming enchanced version of in place provisions relinquishing are for in Unibus Table Table time complete Main 1-2 for instruction Memory ROMs. The performing mastership. DMC11 KMC11 with has consecutive Comparative writeable increased NPRs main without KMC11/DMC11 specifications 1-2. Function Cycle for of the KMC11/DMC11 Comparative Specifications DMC11 KMC11-A (M8200) (M8204) 300ns or 300ns orx 330ns 1if 330ns if multiport multiport access access 256 1K bytes bytes 1-2 Table Scratch KMC11/DMC11 Pad Instruction length Comparative Specifications (Cont) 16 bytes 16 bytes 16 bits 16 bits words N/A Control ROM 1K Control RAM N/A 1K 8 words bits Data paths 8 NPR address 18 bits 18 bits 7 bytes 7 bytes Interrupt Vectors CSR microcode (RAM) bits defined 16 ALU functions 16 NPR data byte or word byte or word CSR transfers byte or word byte or word (use NPR transfers Program timer Multiple NPRs 1.0 second no 50 yes ys Control /=4 bit 1) Register Table MAR load CSR Sel (WRITE 1-2 KMC11/DMC11 Comparative high 0 bit 13 Specifications no ves no ves ves ves ves yes no yes hex hex (Cont) CRAM) functional) Assert I/0 AC DMC11 LO Line Unit compatible MAR 8 and 10 status bits Module size | Voltage/current Figure The 1-1 KMC11 device in shows is a typical microcoded the flag pointer and program to the device via NPRs device is ~combining +5Vv character KMC11. service that count The initiated is, field data by to it microcoded a is the converted with a 5A +5V KMC11/peripheral to mode; at high a device normally interrupts are moved KMC11. In throughput KMC11. /=5 5A configuration. interrupt-driven turned transfered then at off. from to/from effect, block a A the the buffer PDP11 peripheral character-by-character transfer device by AN < > PERIPHERAL ———— - | DEVICE : NPRS e ~ | #mcr /o 7 (/< N | 1> PROCESSOR — — — 5 I NPRS > |————= | ppp-y <‘], > MEMORY POP-1/ , > PROCESSOR < Figure 1-1 KMC11-A I/0 Microprocessor Figure Local 1-2 shows stations " half-duplex Remote stations It 1=4 located is the two typical are cables a Line single for KMC11/DMC11 interconnected a simplified basic interfaces cable. The self-contained load on the The KMC11 processor between with KMC11 the via Unit coaxial full-duplex application. cable forx operation. Remote Line Unit application. modems that use performs request diagram elements the Unibus device interfaces micro-program PDP-11 transactions. block controlling functionally port foot a or by Local common facilities. shows T/0 shows KMC11/DMC11 interconnected operation 1~3 Figure typical are Figure carrier a Processor direct (NPR) of the the and (line and fast operating is reduced transactions. between Microprocessor. KMC11 and I/0 port. unit, the access KME11 its with memory Communications of etc) Unibus how The through and, it KMC11 a because speed, the 1is one of its input/output significantly. (DMA) It also the operations performs PDP-11 using hon interrupt Processor and the microprocessor's Unibus Control and Status Registers (CSRS) is done through data in or out byte The data major 1. (DATI) transactions (DATOB) functional transactions areas of and Main Memory (MEM) main memory is that is KMC11 used for executed the a an the data reading for KMC11 Memory 1024 instruction as for and data out (DATO) writing. Microprocessor Address Register are: (MAR) word-by-8 bit random storage area. This area cannot the stored data storage instruction. nor can access - The memory be be 2aInbTgZ—-1 TeOTDUT JTUN90®JFISOJ3UI AFTASONYTONS5 026W)(& OSIIW STO I0NHY /10 0DL/|0IO/W4oOI1O)D2/S < ) _ S|V3I/XqVOID | “ IN/T D=~ /-8 DUV 08 ¥0SST FLOWTY (r028W) LIV W3aoW V2aInbTt4g€c—-1 IduofddS53U1) %@&%&EA) /1IN — AV % S / =T —~Q>v UN/BUS PROGRAM | DATA COUNTER OATH REGISTER CRAM FUNCT7/ON SOURCE ROM DESTINATION KOM KOM <W7E‘)F‘}‘f > REGISTERS </ T UN/BUS Figure 1-4 AL AND DATA Microprocessor Simplified /0 FPORT Block Diagram > This memory is addressed Memory Address Register. Branch Register as a and of temporary for a only the from the data rotate operation: comes (BRG) BRG's This right 8-bit for buffered right, ALU of the register branch operation. shift most outputs except three hold. during significant bit is the of the used determination It.has and is modes Input data shifting sourced from ALU the when ALU. Output data data goes to B input Counter, PC Address are used Maintenance Multiplexer - The to address the (CRAM). The program counter case program going to selects CRAM of a BRANCH, counter the the go PC or to CRAM. address mux Register program counter random can be PC address normal During as loaded, multiplexer operation, Unibus the memory outputs micro-program selects register, The and outputs access parallel incremented. During the Address control the outputs. verifying, maintenance CRAM via multiplexer. Program in the register load, the - by data, source the via for RAM, Instruction RAM Data Register Register, - The /=1 and control Maintenance RAM is a 1024 the before mux loading addresses. Control of the the or by =16 bit random micro-program used to load access storage the register outputs wire-ORed are area. CRAM instruction from is instruction substituted for Data Multiplexer and data multiplexer (DMUX) Logic Arithmetic DMUX is read only Scratchpad 1s the is an Unit (ALU). to be the scratchpad memory (SP) also is be presented through the scratchpad memory. through a multiplexer. During (FROM) - address the Logic The to to by 0000 servicing of the Memory wide to 8 the input of for the 32-by-8 determines - line-to-1 B a KMC11. (SROM) selection is the 1if a The line the bit move Multiplexer the SP input of of data. the addressing CRAM. The read/write storage normal the is A bit - 1is operation, During automatically an ALU An only done the output presented to ALU. Unit and arithmetic microprocessor that be temporary controlled of so Its can 16-by-8 can Arithmetic for a operand input Unibus. contents Addressing used A outputs Only 1is maintenance CRAM Input is the The the goes that SP register from 8-bit memory transfer, the executed. and is data SROM which SROM Memory addressing RAM Read output The is register 8-bit memory. instruction loaded Source controlled by that Unibus. CRAM during the Its The the with maintenance multiplexer. memory Function logic perform unit Read (ALU) arithmetic and Only Memory allows logic the operations on its read A and only is by the connected indication if by the FROM. The AB output flip-flop A and inputs. memory, performed ALU B B to The controls which up 16 to ALU. The to flip-flop a it occurs (Z Bit) store inputs FROM; of during of the the carry the to a if it (C store move ALU a 32-by-8 functions output is indication ALU is Bit) the or to if bit be of the carxry it is forced connected to a equality of the a MOVE of occurs during instruction. Multiport RAM is a RAM and random Associated access Logic memory that - The multiport contains all the KMC11 status registers exéept two. They are the NPR Contrql Register multiport RAM and has the two Miscellaneous ports (A and B) Register. that can accessed simultaheously for a read operation; only the consists A port of be written into. read/write control and multiplexers can which allow access to the microprocessor and the PDP-11 multiport that are program. data RAM accessible It buffers System contains Clock also microprocessor. The It are the the accessible clock provides generates a however logic addressing the multiport and KMC11 NPR be associated Processor. control both contains that = by the The The buffer only by clock series of registers the PDP11 pointers the and KMC11. pulses five by The status and RAM for non the overlapping Tt is SELO RAM started is is while of set. being the NPR ns by tries Request 11. and data or to Interrupt in to and from or to is Address 1t to decode this the - by the to a write operation progress multiport This NPR so and the RAM. logic under Suspension allows the microprogram it can transfer memory. This logic the of allows PDP-11 two the Processor programmable The space. and locations vector selectable. priority as Logic and factors, signals is ns. the multiport in NPR 300 CSR an address a - address. register of in progress. can be level 5 This the microprocessor these directed - either shipped Selection specify control is for 15 of operation an interrupt interrupt to selected switch KMC11 mastership PDP-11 Logic to suspended Logic initiate the to when if Unibus interval is write Control Control KMC11 Using read time bit the occurs a program when a write floating‘*vector the however, 12. has assume vectoring address The PDP11 operation also microprocessor cause during accessed by micro-processor control pulses the Its PDP11 operation KMC11 10. 60 This type the implement Unibus a control 5, 6 or 7; device. consists of switches device address plus logic also Unibus logic 4, logic logic of level decodes transaction generates read or lines. the write the requested. appropriate operation as CHAPTER 2 INSTALLATION 2.1 SCOPE This chapter check in out provides the KMC11 combination UNPACKING The microprocessor arrives at part of a When it arrives line unit and cables carton the the visually of an (if device or unit combination site carton M8201 or *3, BC08S-1 one system of or option, ordered), the *2. in add-on any in signs are and a Cable line unit. BC05C-25 Cable DMC11 to option fi);; as single of the an add-on option. mounting carton. Inspect damage. as module, hardware the Included following: Module. Unit DMC11-DA has either microprocessor physical Line ways; an the interconnect for two associated Microprocessor M8202 This alone microprocessor/line for KMC11 only. stand and Unit. packaged M8204 *4, a install Line computer 1. and as to INSPECTION or as arrive DMC11 necessary Synchronous customer module contents the AND complete information Microprocessor with 2.2 the Module. microprocessor (M8201) EIA/CCI1TT Line V.24 Unit interface. in *5. BC05Z-25 only. Cable This *6. H325 *7. H3250 *8. 12-12528 Test option Test Data DMC11-FA has Connector DZKCC Paths a (M8201) CCI1TT for Connector Coaxial MAINDEC-11 and for V.35 DMC11-DA for Line interface. (M8201) DMC11-FA only. (M8201) Cable Test KMC11 Microprocessor Static Unit Connector only. (M8202 Basic only). W/R Tests. 10. MAINDEC-11 DZKCA KMC11 Free Run *11. MAINDEC-11 DZKCE DMC11 Line Unit Static Character DMC11 Line Unit Static Bit Protocol *12. *13. DZKCF DZKCG Line Unit Free Running Tests Under Mode. 14. MAINDEC-11 KMAA DEC/X11 *15. MAINDEC-11 DZKCB ITEP 16. Stuff Tests. MAINDEC-11 DDCMP Diagnostics. Tests. MAINDEC-11 Protocol Micro EK-KMCMP-0P-001 KMC11 Module System for Microprocessor 2-7 Test. KMC11 User's with live Manual. unit. *17. EXK-DMCLU-0OP-001 18. MAINDEC-11-DZKCD Static *Used 2.3 only with OPTION The Line Unit User's Microprocessor Manual. CRAM and Branch Tests KMC11 Microprocessor/DMC11 Line Unit Table 2-1 combination. DESIGNATIONS microprocessor microprocessor and 1s designated line unit KMC11-A. options. Table 2-2 lists lists the the line unit cables. 2.4 MECHANICAL The KMC11 DMC11 Microprocessor Line modules PACKAGING Unit plug consists into any consists of of a single a single notched DD11-C, DD11-D SPC hex hex system module. module. unit or The These equivalent backplane. The microprocessor module must always plug into either slot in 2 or 3 in any of the the DD11-C. remaining unit combinations be unit modules into plug The slots. installed slots 1 line unit Should in and a module two single 4. may be installed microprocessor/line DD11-C, then the line Table Microprocessor Option 2-1 and Line Unit Designations Option Module Description Prerequisite KMC11-A M8204 Microprocessor PDP-11 D DMC11-DA M8201 Line for DMC11-FA DMC11-MA M8201 M8202-YA unit EIA M8202-YD cable Line unit for v35/DDS interface Line unit 1M Line unit integral 4- with with cable bps KMC11-=A KMC11-A KMC11-A modem with modem 56K bps DD11-C, equivalent interface integral DMC11-MD with or with KMC11-A Table Line Option BCO3N-AO Unit 2-2 Cables Description 100 £ft. coaxial connectors. Line BC05C-25 25 ft. for BC05zZ-25 25 Unit use ft. with cable with with M8202 V.24 cable Used Module. EIA/CCITT with CCITT DMC11-FA DMC11-DA V.35 Line Line cable Unit. for Unit. use The line unit connectors module This of in A and the allows the does the DD11-C cable connector that not As a result, and B connectors to be installed of used. the and M8202 System C, Interfacing D, E, and short are installed and BC08S-1 and length line cable A Units. and end fits unit slot modules connects so the module corner has in over the 2-1/2 to the removed. end module connectors are been the edge of This (approximately in that F Unibus slots Unibus in.) A Unibus and B. interconnected a BERG as a 40 pin by connector on module. 2.5 PRE-INSTALLATION 2.5.1 General After installing device, it devices on DEC/X11 in installed DZKCD, checked three DZKCA, as DZKCD, a can Test the for proper and DZKCA. Its be checked by for the phases. First and KMAA. stand-alone In the verified this module stand-alone operation by interaction running KMAA running with the which is other KMC11. microprocessor/line checked and microprocessor checked Unibus of then KMC11 be System Installation done the DZKCC, the PROCEDURES Information should diagnostics be are D microprocessor one-foot the the connectors terminator each with M8201 and into a interface vicinity plugs The B not unit combination microprocessor with manner, apart 1s diagnostics the from should physically DZKCC, microprocessor the line unit. 1is Next, the line unit module is installed and operationally verified with diagnostics DZKCE and DZKCF confidence factor for the the execution status of running unit A both test. pairs,; minimum MAINDEC Check of the If 8K both may of unit the power supply requires integral Installation either the 2-1/2 in. slot while The be is or a which and by The the using necessary an additional third verifies station unit for modem. total the Refer requires unit consist of involves operational as a free identical diagnostic for phase the line to two The KMC11 unit can DZKCB execution of PDP-11/34 installing the and requirements the KMC11/line (ITEP). the 2.9 for one any slot in the installed an equivalent for the line logic and details. which the can modules regquires in the conversion of slotfiif microprocessor into The Additionally, level slots, terminator Such overloading. Amperes. paragraph fits be backplanes. 8 adjacent or line against current silos input less. or insure approximately +15V the to Preinstallation Before must is UNIBUS PDP-11/04 2.5.2 of tested memory supply microprocessor equivalent the ends be provides diagnostics. the volt DZKCG microprocessor microprocessor/line +5 also microprocessor. diagnostic they of which the DD11-C, backplane a DD11 are full hex backplane. DD11-D is be or that used in Computers. Checkout Procedures microprocessor performed. 2-7 module, the following functions 1. that should not at factory the 2. The microprocessor accordance 3. 4. automated module device address must be The microprocessor vector address must be accordance 2.8. Verify with that a paragraph BR5 to logic. clock selected in selected in 2.7. paragraph with testing the microprocessor in oscillator the inhibit during removed only is It field. the in removed be jumper This installed. is jumper W1 M8204 Verify priority card is installed in position E74. NOTE Before installing remove the CA1 and CB1 that is going to the wire for the must be Microprocessor M8201 and M8202 Line power requirements. on microprocessor wire the accept slot that runs backplane the that (M8201 or M8202). removal of the unit requires M8204 Grant pins line The NPR the If the slot Do not remove M8204, going a between for M8204. is (M8204), to accept system the NPR the change Grant wire replaced. presents Units present one load to the Unibus and the no load to the Unibus except for The local configuration(KMC11—A Microprocessor and DMC11-MA or DMC11-MD PDP-11 Line Unit) Processor. This transactions Unit (1 NPR every that Mbps) are due bus to required. in the For full placement high rate example, duplex nearest of the requires After completing 2.5.2, On are the the pre-installation proceed with backplane, within Min the the check checkout installation that following DMC11-MA Line average the procedures as supply follows: voltages tolerances. Backplane Nominal Max Pin +4.75 +5.0 +5.25 C1A2 -14.25 -15.0 -15.75 C1B2 +14.25 +15.0 +15.75 c1U1 Insert the backplane 3. the NPR an Voltage 2. to of SPS. INSTALLATION 1. is operating 2.6 paragraph requires Run microprocessor in the proper slot. diagnostics order module listed to DZKC, verify microprocessor. 2-9 DZchgDZKCA correct and KMAA operation of in the the in one DIAGNOSTIC If the installation NOTE is in a system using a PDP-11/04 ér other PDP-11 Processor that does not switch the have same the software the line in Chapter to options. but switch a allow If contains a the user switch all register software 1s is diagnostic register (177777), used. Refer document for details. appropriate the register, used appropriate further all is switch available Check switch register is to a unit 2 module switch in settings accordance INSTALLATION of the and with line jumpers the unit on recommendations manual (EK-DMC11LU-0P-001) . Insert the line Interconnect BC08S-1 cable connector male H856 on and on the a in unit and one=-foot female the J1. module line is connector. designated J2 the which with unit the On the the long M8202 40 connectors on and Line Line Unit it each line Unit, is using conductor microprocessor, M8201 backplane microprocessor microprocessor On proper J1. end. unit this it is slot. cable flat mylar The mating is an H854 connector is designated On the cable DMC11-DA(M8201) to connect On the cable to the which H325 test connector the H3250 M8202, ties install the two On M8202, check the line Run Line On unit install other end the of BC05C-=25 this cable, the the install other 12-12528 soldered that DZKCE Unit, end the BC05Z-25 of this cable, coaxial test connector conmector. specifications. diagnostics the coaxial are Unit, connector. test cables Run On J1. 3-foot within 10. the J1. DMC11-FA(M8201) connect On connector Line pigtails to the Refer and the together. DZKCF two M8202. integral to These modem the line to verify clock unit 1is manual. correct operation. diagnostic DZKCG to verify correct line unit/microprocessor operation. 11. Remove For to the the the test M8201, customer connector. connect the supplied 211 BC05C-25 modem. or BC05Z-25 cable CAUTION The maximum BCO5C For and allowable length BCO05Z cables the the M8202, connect coaxial cables or the is for 50 feet. pigtails optional 100 the to the foot customer BCO3N-AO0 cable. 12. Diagnostic between DZKCB(ITEP) stations DEVICE 2.7.1 be run interconnected Microprocessor/DMC11 2.7 can Line Unit to by check operation KMC11 combinations. ADDRESSES Introduction Starting with assigned floating devices The word for the used in 2.7.2 Floating 1. are the to be floating maximum a DJ11, new communications addresses. The devices addresses &are for current not assigned to be production retained. means number that of addresses are each communications Address Assignments device absolutely that can system. Floating Device device addresses The floating and extends are address to assigned space location F G 5 s as starts 764000 follows: at (octal location 760010 designations). be The devices o111, the are bU11, next devices DUP11, device of assigned the in LK11-A, type by DMC11, introduced same order into must type: DZ11, DJ11, KMC11 production. be assigned DH11, and then Multiple contiguous addresses. The a first modulo address 108 of a new boundary, if it bus-addressable registers. DH11 must a has eight A gap of be on modulo type device contains The 208 must one starting boundary start to on four address because of the the DH11 registers. 10 g’ starting on a modulo 108 boundary, must be left between the last address of one type device.and the first left for address any of device the on next the list device following it is used. should that No the If be left nothing new type after the type last device. that is A not gap must be used, if the The equivalent of a gap device assigned to indicate follows. devices can be inserted ahead of a device on list. additional system, they devices must be 213 on the assigned list are to be contiguously added after to the a original other devices type required The devices to make following assignments Example: 2 of the already room example for DH11s, same for type. in the the show DQ11s, typical 1 system may floating devices DUP11, and 760010 DJ11 gap 760020 DH11 #0 first address 760040 DH11 #1 first address 760060 DH11 gap 760070 DQ11 #0 first address 760100 DO11 #1 first address 760110 DQ gap 760120 DU gap 760130 DUP11 #0 760140 DUP11 gap 760150 LK11- A 760160 DMC11 gap 760170 DZ11 gap 760200 KMC11 #0 760210 Indicates other 2=/ 4 first be in 1 a device system. KMC11 address gap first no devices of additions. communications 2 Reassignment address more KMC11s follow. and no 2.7.3 In Device the floating always 1s PDP-11 memory are With the The 1 of device switch of space by switches on Unibus 8 (760010-764000), PDP-11 organization switch associated Selection address (function selected select Address and in address the line. Appendix addressing the (closed), address processor). 0, 13-17 A conventions. logic looks a 1 and for 2 are are shows decoding decoder Bits bits 0 the Bits 3-12 (Table on 2-3). the decoded to registers. address package selection located package are used. address bit numbers and the switch are rocker type The in position correlation is numbers and switches are shown are in pushed c=15 E116. to contained All between Table marked are on the The one DIP switches in numbers and switch 2-3. the 10 in the ON and OFF package. The switches desired position positions (Figure 2-1). 2—/6 Switches Address Vector and Figure 2-1 loenicalion‘. s ck h pa (Shows swlc ' | We and swilch sigrnacio#5) Microprocessor Device 70 e SU/c;}@/fif cd Table Guide Switch Bit No. No. 2-3 for Setting Switches Select Device Address to 10 S 8 7 6 5 4 3 2 1 Device 12 11 10 9 8 7 6 5 4 3 Address X 760010 X 7060020 X X 760030 760040 S < P T R X X 760060 X X 7060200 X 760300 X 760400 X X X X X X 760500 760600 X 760700 X 761000 X X 760070 760100 X X 760050 762000 X 763000 X 764000 NOTES : 1. X means 2. Switch switch off (open) to numbers are physical respond positions 2=17 to in logical switch 1 on the package Unibus. 1. 2.8 VECTOR 2.8.1 ADDRESSES Introduction Communications This for devices eliminates the the maximum are assigned necessity number of of each floating assigning device that vector address can be addresses. absolutely used in the system. 2.8.2 Floating 1. Floating Vector Address vector addresses are The floating address and proceeds upward Assignment assigned space to as follows: starts 777. at Addresses location 300 500-534 are resexved. 2. The devices are KL11/bDL11-A, DR11-A; 3. assigned in type: DC11; DP11; DM11-A; DN11; DM11-BB; DR11-C; PA611 Reader; PA611 Punch; DL11-C, D, DO11; KW11-W; DU11; DUP11; DZ11; DWR70, VTVO01; KMC11. any by B; DX11; If order type assignments E; device move up DJ11; is to not DH11; GT40; DV11, used £ill the LPS11; LK11-A; in a DT11; VT20; DMC11; system, vacancies. address 4, If additional they 2.8.3 must devices be assigned devices of devices already Vector the Address Each device interrupt (two words) which same in implies 0 The address binary-coded, the vector in always 0) and octal digit in of logic represent The KMC11 the is the the XX0, and output XX4. For this by the logic of the vector (Table 2-4). associated generated of a address With the vector the system, after the original of other type required. address is specified bit 2 bits as determines address (0 bits a 0 must three data and locations addresses. addresses 1 bits are the A end in a digit, 0-8. not least Because specified significant or 4). The interrupt (2-8) to the PDP-11 processor address. a BR5 logic. interrupts Unibus on all interrupts by to be even-numbered 4, control not may four or with method requires seven vector input system Unibus 0 only shipped added Reassignment using vector send interrupt addresses: number end are to that must (they control octal type. only is vector be contiguocusly the vector constraint 4. to Selection further or are priority This operation, switch. are logic generate generate The vector the switch OFF data line; with associated Unibus 2=/9 by (open), the addresses of in vector of of 2 significant switches the the is form octal lines digits 3-8 is generated on switch ON (closed), a line. form selected 0 data a bit installed two addresses state two most card generates vector determined the selection the 1 4is The vector DIP package the 8 The correlation in are Table The 2-4. marked to selection located switches pushed 2.9 address on the in the 1. of ON and the package. 2-1). vector numbers and bit numbers positions and the switch The switches are one Only the rocker 6 of address. is shown numbers type and are position. and a M8204 +5v M820 1 +5V@ 3.0 A @ checklist Line Unit of the important installations. 5.0A +15v @ 0.03 A -15v @ 0.31 A +5v @ 3.0 A +15v @ 0.18 A -15v 0.46 A @ concise KMC11/DMC11 Requirements Loading M8204 present (Figure in for Power The contained used represent KMC11 Unibus are CHECKLIST items the OFF E65 are switch The M8202 2. package desired following position between INSTALLATION features in switches no presents one Unibus loads. 2-20 Unibus load. The M8201 and M8202 Guide Switch Bit for Switch Setting No. No. Table 2-4 Switches to Select Vector Address 6 5 4 3 2 1 Vector 8 7 6 5 4 3 Address X X X X X X X X X X X 300 310 X 320 330 X X X X X 340 350 X X X 360 370 X X X X X X X 400 X X X 500 X X X 600 X X X 700 Notes: 1. X means switch off (open) to numbers are physical produce a logical 0 on the Unibus. 2. Switch 2-2/ positions in switch package E65. 3. Special ao. Installation Requirements M8204 Microprocessor Before installing, continuity wire and CB1 the is going change wire on to M8204 be backplane the of are before a Grant between the M8204. If of pins slot a CAT that system the M8204, the Local Line Units replaced. with DMC11-MD) closest because NPR for removal configuration Unibus that or the runs Microprocessor (DMC11-MA This that accept requires must remove the to must the high required. DB11-A Bus placed PDP-11 rate It be of must the Processor NPR also Repeater on if transactions be one placed is used. 4., M8204 a. Microprocessor Address Switch Selection Address 1 3 2 4 3 5 4 6 5 7 6 8 7 S 8 10 9 11 | (open) Switch ON Vector Selection Switch No. to respond to logical (closed) to respond | Vector 3 2 4 3 5 4 6 5 7 6 8 Switch OFF (open) Switch ON (closed) Switches to 1 logical on Unibus. 0 on Unibus. (E65) 1 Remaining Bit 12 Switch OFF C. Settings (E116) No. 10 b. Switch to to in 2-23 Bit produce produce E65 are a logical a logical unused. 0 on 1 on the the Unibus. Unibus. 5. Line Unit Switch as Shipped a. Switch (1) (2) (3) b. The Pack 2 - All switches Pack No. 3 - All switches Pack No. 1 The switches M8202) Switch on M8202) - as shown in jumpers Figure Jumper No. M8202) Switch on and Configuration Settings Switch on Settings 2-2,. (E87 (E88 (E26 Figure should be on on on M8201 and E90 should be OFF. M8201 and E91 should be OFF. M8201 and E29 should be positioned 2-2. configured as shown in * DMC11-DA Switch No. DMC11-FA DMC11-MA/MD M8201 M8201 M8202 1 OFF OFF OFF 2 OFF OFF OF F 3 OFF OFF OFF 4 OFF ON OFF OFF OF F OFF 6 OFF OFF OFF 7 ON ON OFF 8 ON ON OFF 1 IN IN IN 2 IN IN OuUT 3 ouT OUT OuT 4 IN IN OUT 5 OuT ouT ouT 5 Jumper ~ No. 6 Not Present Not Present OuT ~IN (FD) (HD) NOTES : * Switch pack no. 1 located at E26 on M8201 and M8202. FD Full Duplex HD Half Duplex Figure 2-2 Switch Configuration of Pack Line No. 1 on 2-24 Jumpers Unit and E29 on CHAPTER UNIBUS 3 CONTROL AND 3.1 INTRODUCTION Eight byte the exchange PDP-11 as sized of program 76XXX0 - KMC11 control and are Words the An KMC11 IN a general CSRs to his BSEL 1 Figure for 3.2 This which 3-1 BSEL Microprocessor. point PDP-11 to as for as SEL all program from denotes Byte the 0, between They 2, transfers the KMC11 to information from for address 0-7 and SEL 4. of KMC11. the used the are Select SEL and are An OUT PDP-11 the PDP-11 are purpose undefined particular is shows the the microprocessor. and can be application. Maintenance Unibus Seven programmed The of by the the one exception the bit eight user 1is Register. CSRs including assignments 1. BSEL 1 register exception of the and KMC11 information indicated information (CSRs) KMC11. byte-sized satisfy the transfer the is are Registers referred reference between program. The status 76XXX7 denotes to and Status KMC11-A transfer program and the is information Control REGISTERS and (BSELO-BSEL7). The STATUS MAINTENANCE contains MASTER should REGISTER only CLEAR not maintenance (bit be 14). used 4 for It functions, is intended normal with for the servicing communications ¥ X o' v ' 2lels2 ooeteloyr r et e s o/ 2WHKWOY.)STHITY(T=0 -+ 9 0 4 between in the the PDP-11 Multiport the KMC11 The bit All bits logic program RAM to it for read/write. the the is implement assignments are but and KMC11. imaged the by NOTE at when set,; Description 8 STEP This MICROPROCESSOR through one (STEP of 60-ns 9 ROM (ROM MP) INPUT I) bit, five ROM executing this When directs 6=7 (ROM OUTPUT O0O) as the MP When set, SEL 4 is to be LINE UNIT LOOP (LU LOOP) This bit and the 1s listed below. descriptions. steps the microprocessor cycle, composed pulses. The RUN cleared before function. contents of microinstruction microprocessor A SEL write new the CRAM via asserting is functions. bit the modifies the read with BSEL to be when asserted. locations. and the write loading be contained the control next by STEP and/or 11 clock should set, of 1is interact are instruction flip-flop executed 10 Register end Name to maintenance the Bit register hardware specified Maintenance See This 6 paths enabling of the into BSEL accomplished by reading output accessible at of pin a A by SEL of the read accomplished data for specified 13 is bit PC, i1s CRAM source 1. 6 CRAM SEL 6. flip-flop of the Berg Bit Name Description (Cont) connector the M8202 Line has specific a Unit LINE UNIT LOOP When this bit connected, internally. level, LU LOOP STEP LU bit to single is set a 10K For bps the data level is with a M8201 serial to its serial input This is is is done level set data 1is at RUN under in set, the or or is M8202 output TTL logic logic. cleared, diagnostic out. data line line conversion and used, RUN bit called units M8201 is cable is and this When the control, LU is clocked the loop LOOP at rate. connector modem used, LOOP). set, the or M8201 line step and assignment an 1f being (LU is before When is for function the connected is KMC11 However, user. the by on Line installed with clocked RUN at conversion exercised Unit, a if at the end set and LU 10K bps rate logic and back of the LOOP cable cleared, and the are also. For the M8202 line Unit, thé coaxial adapter is used to to provide the is clocked at integral interconnect loop the modemnm. F—< the back. In operating pigtail this speed cables case, of the data Bit Name 12 STEP LINE Description (Cont) This the and UNIT (STEP LU) the user. specific STEP LINE This bit LOOP. unit When 1t the (ROM 6 i1s in STEP Berg assignment an M8201 used, and or this is LU). conjunction with transmitter is single cleared, bit called asserted, this to MASTER When set, CLEAR the bit be the line allows loaded the stepped. unit also be receiver the in SEL set to CLEAR microprocessor CRAM at Bit 10 4. accomplish be initializes both and the line unit, bit is not self clearing cleared by the PDP11 This and must The microprocessor RUN flip-flop also cleared BSEL contents procedure. MASTER installed. the into specified must loading in if the 1is the set of for being (STEP used address O) KMC11 B flip=-flop stepped. set, SEL pin a LU is single of function UNIT When line When Unit is at However, has of 14 on Line is WRITE the a output accessible M8202 LU CRAM is is connector by 13 bit is by 1, clock cleared. MASTER use N iyt a is CLEAR. MOVE program. halted The and CRAM's If if PC other instruction the is bits that Bit Name Description (Cont) sets CLEAR MASTER and clears all other bits. MASTER CLEAR without status raising to or XX4). procedure Request when 15 RUN RUN may 7 the is MASTER BUS The of use hang the asserted processor KMC11-A an incorrect Unibus in 1is cleared by which clock. required by 1is Requests if a Bus progress 1issued. microprocessor CLEAR, as is CLEAR the microprocessor cleared the perform MASTER bit be PDP11 if transaction controls This or to not the level programmed (XX0 should BUS initialization stops RUN the can the clock. be PDP11 set program. NOTE The PDP11 Multiport hardware Multiport program writes RAM the BSEL 1 reads only the but it RAM. writes only cannot write hardware. and the The KMC11 Multiport into the into the reads and RAM. It actual BSEL or 1 CHAPTER 4 MICROPROCESSOR 4.1 Unibus in the 16 8-bit RAM can CSRs bytes, be called which is CSRs they identified the as Data Microprocessor the called and CSRs are two additional listed in the OUT and BUS?* 128 located bits arranged as The eight 16-bit words. from two sources. One microprocessor. are viewed Microprocessor which These are specified sized hardware category. the CSRs. is 0-7 8 Specifically, (octal). 8-bit bytes, registers as OUT are are BUS/IN registers They source Therefore, from registers registers. byte BUS*/IN is physically to capacity, BA are capacity is RAM There the also BUS that NPR are Control and the Microprocessor Miscellaneous register(118). microprocessor has the of 32 sized (108) RAM 3 OUTBUS*/INBUS* (octal)., register Chapter equivalent are 0-7 registers. assigned and REGISTERS (BSEL1-BSEL7) multiport NPR in other registers The STATUS simultaneously the Unibus remaining contains The and microprocessor, are RAM. accessed Unibus these they described multiport the when The AND INTRODUCTION The is CONTROL OUT As addresses BUS/IN BUS. a convention, under As capability a each has category; result; <+-/ it six addressing been that decided is, undefined OUT byte to show BUS*/IN registers 16 BUS* 12-17 (octal) are listed under exist physically. The 108—108 added have been OUT BUS*/IN M8201/M8202 to the BUS*. Line OUT These Unit BUS/IN registers device BUS do not registers, category. These registers are physically located in the line unit. Address 108 is The Therefore, The is there are arrangement 4, 2 OUT These eight registers microprocessor. Note the that are not 4.3 The They the KMC11 Multiport image BSEL 1 RAM and REGISTERS are the 0-7 Unibus CSRs to identical are The changes state. actually control as viewed REG), (MAINT 1 from described those into BSEL may write 4-1. in Figure shown is the hardware in Chapter 3. however, only that gates and flip-flops the (RUN, MASTER CLR, etc) affected. NPR CONTROL bit BUS* unit. line the in registers the Microprocessor CSRs of BUS*/IN nine address. is write only. Silo Out Data the and same the use registers unit read only Silo In Data line two because twice listed REGISTER assignments for (OUT the BUS*/IN NPR Control BUS* 10) Register are described below. Bit Name Description 0 NPR REQUEST This (NPR cleared RQ) been bit can be by the set hardware NPR via the If OUT NPR (bit set, Unibus to 4) transferred from NPR is (bit 4) transferred the the is PDP-11 data PDP-11 NPR has bit requests PDP-11 memory. this the automatically the cleared, cleared, from 7-2 is It when When completed. an only. data 1is memory. If OUT If OUT 1is memory. SN RN O~ g BYTE @ EYTE / 2 BYTE T BYTE 4+ BYTE S BYTE 6 BY7TE Unibys CSKs as viewed Hon > MICIoprocessor. ~ BYTET Wik MAR % 'Mg/? NPR ouT IN GA /N GA BUS RA & gef AQ /D NPR CONT /G PGM o7 ouT #C /6 L0 CLK PAIT BA /7 ) NPR M /]AP MISC 2 /3 /4 /5 ? Un O/éflfiéd /6 /6 Registers Assigned Lo ourBusmeusTMategory Figure 4-1 Microprocessor 43 Registers /INOATA LA /N OATA HE oOUT DATA LB OUT DATA HE INBA 7:¢ IN BA /5.8 OUT BA 7:0 A /5.8 ou7 IN OATA S/LO ouvT CLR auvT ACT SW ouT ROY J// 7 =t /] OUT CONT /@ OUT DATA S/LO /N CLR /N GLK BCC END MATCH / ACT LOOP ROY FING DTR &0 LU RS 70 S NS poP~s 7[6151413121/1¢ MoD cs ROY SW SW /2 N CONT /3 MOPEM CONT SYNC CHARISECONDARYADRS /4 SWITCH SELECTALLE /5" SWITCH SELLCTABLE /O 4 ST OCOR ICIR| LU DOCAA CLK MOOE L/he Unil > RCGISTELS (gfgq/ only (F Lin PyUfiif 17 MANT MBE0/ or MB202 1S, , 6 Registers Assigned Lo ouTaus/ingus (ategory Figure 4-1 Microprocessor Reglisters 7= Sync (Cont) 1NSta //@of) Bit Bit Name Name Description (Cont) NPR data is set, PDP-11 memory. is Bit transferred 7 word/byte selection. For NPR, is an in IN OUT For an OUT BUS/IN data that BUS/IN OUT NPR, BUS is from OUT 3 OUT DATA registers BUS the BUS/IN and and 1 for (bit 7) is When BYTE XFER is set, The transaction, shown OUT truth as in and 7. table selected transaction DATA. OUT line C1 the is used for the by 2 these NPR and of line the to bits, BYTE XFER of 1is KMC11-A (C0) BAOQ 0 0 0 IN 0 0 1 Illegal 0 1 0 Illegal 1 1 Illegal 0 0 OUT 1 BA below. NPR | CO. select type (C1) 0 and BUS Control state 5. The BUS/IN Unibus (0) the and registers Control bit 4 is OUT IN XFER byte. address with from BYTE significant memory 6 BUS 4) the Unibus controls address registers the XFER) registers (bit least is 0 PDP-11 associated comes for the (BYTE to Transaction* NPR NPR Bit Description Name OUT NPR BYTE XFER KMC11-=-A (C1) (CO0) BAQ Transaction 1 0 1 ILLEGAL * % 1 0 OUT NPR (Destination kX 1 | 1 low byte) OUT NPR is (Destination high *Reference LAST NOT from BUS/IN **Source is OUT This is used bit to (NOT execution of multiple NPRs. Setting allows multiple NPR RQ following completion the NPR case RQ and IN BaAa 17 multiple is followed by the XFR in the next When NPR RQ is cleared used are NOT is the during 4 -6 LAST an IN XFR with mastership NPRs, the by the be NPR. 1last asserting clearing of NOT instruction. again, Unibus by the KMC11. extension memory (C1 to perform each KMC11 NPR to Unibus relinguished PDP-11 to NPRs performed LAST These 16 of of KMC11 following order maintaining NPR mastership BA in by required IN NPR performed In the mastership an 2 Register BUS permit maintain LAST Unibus byte) KMC11-A TRANSFER XFR) 2, is is = 0) bits transaction. Bit Description Name OUT NPR This NPR 8 RQ is (bit used in 0). The association details inter-relationship between are RQ MAR bit covered (bit This bit the these in the description only bit is bits of NPR 0). read 8 of with of the Memory used to Address monitor Register (MAR) MAR 10 This a read flag a bit use in for During the only specific can be MAR bits 0s but 0. By it (MEM time. Only 0-9 MAR are bit 10 is incrementing output bits the 1, MAR as KMC11. to of the bits 8 next clock a By to 1. pulses the 7=/ MAR the 0-9 pulse, counting required starting determined. as know MAR at and 10 1s or either always the address, a the valuable loaded to clock out read. location goes is address) unknown On brought debugging debugging, contents is to point loaded from 1024th are the of MEM 1s. bit 10 number of drive the a some all output as bit 10 MAR can to be Bit Name 7 BYTE Description XFER This bit OUT NPR the the is to in association indicate a PDP-11 memory. When PDP-11 uses selection. is used in stored memory. If is the low A0 is a a bit bit A0 to is for set, byte 0, OUT DATA 7-0 byte of the PDP-11 1, OUT DATA 7-0 1is PDP-11 the of byte high transfer this address A0 the in stored If byte with memory. If BYTE 1is cleared operation, to 4.4 the OUT PDP-11 MICROPROCESSOR MISCELLANEOUS Name Description 0 NON-EXISTENT During 'MEMORY approximately MEM) memory AC LOW 15-0 memory as is a an NPR, this bit is after us 20 a microprocessor. At this it set triggers a 1-shot the Unibus recovery The AC 0.5 procedure LOW bit non DEC use. with second. and is non-existent by time, bit. only a of 11) the NPR the Unibus. i1is bit duration to the BUS* set addressed releases NPR word. is This OUT transferred location logic 1 DATA an REGISTER(OUTBUS*/IN Bit (NON-EX during a not the goes pulse a power PDP-11 recommended %%fl“éa set, pulse This initiates in When fail processor. for Description Bit Name 2, OUT BA 16 oUuT BA 17 PROGRAM (PGM and CLOCK These are bits used This bit the PDP-11 during acts as microprocessor. CLK) determine etc. This is bit 1-shot bit the 1-shot a is triggering and the with this 50us times OUT a timer It is out, time for pulse by the is this bit a When microprogram, As long as along at less as a flag retriggerable duration. 1-shot read to time-out, KMC11 come the the read of triggered. pulses bit be 50us transfer. for can output set extension NPR 0 intervals, this an elapsed testing, memory remains 0. If as the a the than asserted 1-shot is read 1. when BR RQ 7) is XX4 is generated. If RESERVED VECTOR AT XX4 If this set, it is bit vector is address cleared address XX0 set is when BR RQ generated. is (bit set, vector Bit Name Description 7 BR REQUEST When set, this bit initiates a Bus (BR Request RQ) 5, 6, via the Unibus 7. The microprocessor with a or shipped installed. 4.5 NPR BUS ADDRESS AND This and is cleared the BR has DATA Description 0, IN Low byte 2, 3 OUT DATA from the Low byte 4, 5 IN BA the 3) PDP-11 Bus an Bit and 7 of +=/0 0 1is set only hardware BUS 0) high after and to be 0-7) byte transferred memory. 2) data and to high be byte transferred memory. Address NPR memory. bit of 4, card BUS/IN data (register Contains during of PDP-11 (register to 1) be level completed. (register (register can the REGISTERS (OUT Name DATA by BR priority bit been Register 1 BR5 at (BA) transfer of from register register bits 5 is 4 0-15 the is BA PDP-11 BA bit bit 15. O Register Name 6, 7 OUT BA Description Contains Bus Address (BA) bits 0-15 during memory. and bit an NPR Bit 7 of +=1/ 0 to transfer of register register 7 is the 6 PDP-11 BA bit BA bit 15. is O CHAPTER 5 MICROINSTRUCTION PROGRAMMING SCOPE This chapter instruction word diagram 5.2 The provides word formats and a a BRANCH are and simplified and MOVE. It and five with diagram three a the types of Memory versions two of the of MOVE (I) | block microprocessor. microinstructions: the BRANCH micrq— microinstruction Immediate (MEM) (BRG) In Bus as IN BUS* (IBUS*) (MEM) (BRG) Register microinstructions 1024-by-16 assist timing, a bit the are random reader access in (Figure in simplified 5-2) are 5~/ the control RAM (CRAM) which is memory. visualizing microprocessor diagram stored (I) (IBUS) Memory timing information. MOVE Register To micro- below. Immediate a KMC11 simplified of variations BRANCH The the FORMATS executes uses of programming along timing WORD description general presented Microprocessor instruction shown detailed formats MICROINSTRUCTION KMC11 AND INFORMATION 5.1 The FORMATS microprocessor data block (Figure included diagram in this flow section. and 5-1) and =1 WY @ 9| IR & SIN ¥ e ,Eo@«o >¥3 -W4nYe —-S\r2¢ 8ay (035040 @179 W S = { 1O0K msnel < = & T4 7/2¢ [ | T/I2J TP | 7240 TP S LAST INST RESULT OPERAND BALU PC (PCH+3)OR LAST INST RESULT OFER CRAM A MAR LAST INST RESULT OPERAND BRG LAST INST RESULT OPERAND SCRATCH FAL // CURRENT INST4 OPERAND MULTIPORT RAM 7| CURRENT INST'8" OPERAND AL CURRENT INSTRUCTION CURRENT INST RESULT OPERAND Figure 5-2 Microprocessor Register Timing BRANCH 5.2.1 Figure 5-3 jllustrates the word format of the BRANCH microinstruction. 13-15 Bits are The branch. Microinstruction the operation operation code which the partial branch being the address of condition The The defines further address is the microinstruction the source The developed. next microinstruction, resultant which microinstruction bits capable of the branch the microinstruction. address defining operand branch should as a from address the branch satisfied. condition under 8-10. of be the code 11 branch address These and is to to any form of occur is defined partially defined eight bits 12 addressing is are the the combined complete 1024 by bits by bits 0-7 with ten bit locations branch within the CRAM. Three BRANCH microinstructions source operand branch address. 5.2.1.1 0g 1 13 14 15 | | 0 ] l 0 from which 11 12 8 9 10 | develop | the low eight a different bits of the | | I | | | l | 0 1 2 3 4 5 6 7 CONDITION BAB each defining (I) Immediate BRANCH - to exist, | | l | | | | | | | IMMEDIATE ADDRESS 11 -4393 The microprogram branches bits 8-10 is met. The microinstruction bits if the condition specified ten bit branch address is the by microinstruction result of 0~-7 with the Branch Address Bits 54 (BAB) combining 11 and 12. BRANCH I 15 l 13 | 12 | 8 | J\_ ~ | 10 | N\ OP CODE r 11 | ~ D D D D 7 J\_ ] | | | | | | NS DEFINED SOURCE OPERAND 1 * 0 O BRANCH 110 1 1 BRANCH ADDRESS ADD- BRANCH :.ETSSS 1 CONDITION 9.8 . ALU SCRATCH PAD FUNCTION ADDRESS J 000 Reserved 001 Unconditional Branch 010 Branch if C bit is set 011 Branch if 2 bit is set 100 Branch if BRG bit O is set 101 Branch if BRG bit 1 is set 110 Branch if BRG bit 4 is set 111 Branch if BRG bit 7 is set These two bits combined with the ALU Function Code eight bit ALU output form the complete ten bit address. / 100 — — (A-B) 2's COMP SUB (A-B-1) ADD 1110 1111 (A,B) 0000 ADD W/C (A,B,C) 0001 SUB W/C (A-B-C) 0010 combined with bits 11 and 12 form INC A (A,1) 0011 the branch address. A PLUSC (A,C) 0100 2A 2A W/C DEC A SEL A (A,A) (A,A.C) (A-1) (A) 0101 0110 0111 1000 Immediate: Bits 0—7 of the microword 110 — MEM: The MEM contains the source operand to be combined with the SP memory operand as defined by the ALU function bits, 111 suB BRG: SEL B A or B The BRG contains the source (B) (A+§) 1001 1010 operand to be combined with the SP A and B (AB) 1011 memory operand as defined by the AorB (A+B) 1100 ALU function bits. A XorB (A+B) 1101 Notes: C = Carry W/C = With Carry C and Z are set/cleared with MOVE Instructions. A = Arithmetic or scratch pad (SP) side of ALU. B = Logic or DMUX side of ALU. Figure 5-3 Branch Microinstruction 55 Word Format 11 -4374 BRANCH L= N 10 11 12 (MEM) Memory 9 8 | l ALU FUNCTION CONDITION | | 1 | l 11 - 4394 This microinstruction Logic Unit 4-7). The resultant operand, bits is 11 from Pad (ALU) combines a MEM (SP). storage branch the 0-3 the MEM operand while the Arithmetic bits (bits combined with microinstruction and bits in the ALU FUNCTION when location Microinstruction Scratch Pad, of operands ten bit a produces 12, and under control two other address is is from the from the operand One address. the operand Scratch 1in the addressed location by the current contents of the Memory Address Register (MAR). The desired address would instruction other branch for the 5-3 defines 5.2.1.3 is have than been the defined loaded BRANCH under the by the MAR by execution. CONDITION CODE, a previous The condition 8-10. bits Figure the ALU FUNCTION CODES possible with this microinstruction. 78 — BRANCH 12 11 Register (BRG) 10 | I | | L | SP ADRS ALU FUNCTION CONDITION | into | I | | 1 1 11 -4395 With this microinstruction, the contents of the BRG and a Scratch Pad memory location are operated on to generate the‘partial branch address. 4~7 Bits define the 0-3 ALU specify the Scratch Pad memory location and bits FUNCTION to be performed on the two operands. 5,2.2 MOVE The MOVE with the Microinstruction microinstruction BRANCH versatility in and a is In all, microinstruction exist, each the operand. source is 5-4 illustrates The operation the function 12, the from MAR the operand of the the code to can defined defines input The Function ALU operation plus to operation inputs. The Field, is FROM bit 14 microword to all five FIELD and the DESTINATION sets up microinstruction MOVE the the The on are Operation code. Figure address where of Bits the necessary. 57 11 and 12 to bits incremented, or be bits code of 8-10. output bits ALU MAR MEM 11 byte further addresses. defines four (FROM) the bits address inputs. are the MAR increment operand for and loaded(HI/LO) low and These ROM specify resultant The 4-7, operands. the the dependent and microinstructions The format. According Function controls FIELD. word destination the MOVE the MAR. two the for function, the produces source 13-15. be combined different microinstruction Common function on bits operation ALU performed code by of When a microinstruction addresses, be combination variations by unmodified, microinstruction versatile. microinstruction (BALU). by five defined performed ALU the specifying defined remain Buffered 1is MOVE is be highly microprogram, power. The also FUNCTION and the load next MOVE | 15 | 13 | 12 11 l | 8 ] 0 0 0 1 MAR 1 FUNCTION 0 | 10 | | | | I | ] | | ] 7 | 0 IMMEDIATE OPERAND DESTINATION FIELD FIELD 1.0 . 000 — No operation 001 — BRG OUTBUS*(SPO—A) INPUT ADRS QUTPUT ADRS INPUT ADRS OUTPUT ADRS ALU FUNCT OUTPUT ADRS OR ALU FUNCT SCRATCH PAD ADRS 010 — 011 — BRG right shifted one bit 100 — OUTBUS (SPO - A) 101 — MEM 110 — SCRATCH PAD 111 — SCRATCHPAD and BRG 00 — No effect 01 — Load MAR Hi 10 — Load MAR Low 11 — Increment MAR ALU Function Code v 000 < Immediate operand in bits 0—7 of .. . (A-B) 2's COMP SUB (A-B-1) (A,B) 0000 ADD w/C (A,B,C) 0001 INST SUB W/C (A-B-C) 0010 CLOCK ADD microinstruction, 001 SuUB IBUS is operand source defined by 1110 111 MOV microinstruction bits 4—7 and INC A (A,1) 0011 C destination defined by bits 8—10. A PLUSC (A,C) 0100 (Note 1) IBUS* is operand source defined by microinstruction bits 4—7 and destination defined by bits 8—10. 2A 2A W/C DEC A (AA) (A,AC) (A-1) 0101 0110 0111 10 MEM g o |§ gpera:S :OUTC? oper?te on as SEL A SEL B (A) (B) 1000 1001 AorB (A+B) 1010 011 BRG is operand source operated on as A and B (AB) 1011 defined by ALU function (bits 4—7). A or B (A+B) 1100 A XorB (AeB) 1101 101 0 efined by A unction (bits 4—7). MOV INST \, Z (Note 2) J Notes: 1. If ADD function, C is set to indicate carry or overflow. 2. Zisset when ALU out isall 1s. If SUB function, C is cleared to indicate borrow or sign change. 3. C=_Carry W/C = with Carry A = Arithmetic or scratch pad (SP) side of ALU. B = Logic or DMUX side of ALU, Figure 11 - 4375 5-4 Move Microinstruction Word Format CLOCK The DESTINATION FIELD, destination of destination references BRG, MEM, and definition. previous BRG The resultant are shifted specific address and SCRATCH BUS, the OUT* BUS or as a referenced MEM or 0 is BRG source on The BRG right bits 7 side with to OUT the 0. 1is two 0 be used is a 16 types with a ALU to MOV further references OUT BUS, bits when i.e., address with a require still OUT* BUS, SCRATCH (bits 0~3) of the address any possible registers, no destination of the I, right source BRG, 16 bits to BRG all 16 is of within these OUT are A. ALU Thus, and are bit ALU 7 a passed during the data is MOV MOV IBUS* IBUS However, and function functions. 59 of IBUS* MEM are or right MOVE with bit and and SP the type the shift ALU on B BRG SP to be returned to BRG for MOV these while to BRG). available in instruction through a SP available hardware BRG shift. MOVE MEM functions of IBUS, if functions (SPO0O 7-0 microprogrammed, unshifted I, a are performs alteration MOV BRG all BUS* operands BRG allows Additionally, function similar input returning possible the Instruction ALU Unshifted used 7. to destination This bit OUT used, instruction. for eight predefined four memory and source shift bit Pad BUS presented operate specific Scratch need was include low order the discrete destination These The MEM of the destination. destinations address Four in specifies Three consequently location a implies, operand. and PAD/BRG. provide name microprocessor definition. microinstruction When the microinstruction. further PAD, the as MEM MAR may load. also cases ALU bit MOVE as a MEM, which selected by 0 1is the 5.2.2.1 08 15 14 - MOVE 13 | 12 11 | | (I) 9 8 I 7 6 5 I | | | | | ] | 4 3 2 1 0 | I l | ] | | | l | IMMEDIATE OPERAND DEST MFF 0 | 10 l 0 0 Immediate 11 -4396 The operand, as specified With the limited microinstruction by MOVE bits microinstruction IMMEDIATE, bits and the BRG, references are usable; however, MAR. same data is used both 18 MOVE IN BUS (IBUS) 10 9 they as moved to the destination 8-10. destination the the is the to since MEM, 0-7, reference The other require an is possible special operand normally and destination consideration destination address. 5.2.2.2 15 14 l 0 - 13 12 11 | 0 | | 1 MFF l 8 I 7 6 l l | | DEST | | 5 4 [ 3 2 I l | | INPUT ADRS | 1 0 l | OUTPUT ADRS | | 11 - 4397 The operation because code specifies the IBUS is a information must be provided microinstruction specifies memory, the of IBUS sixteen by the as the 8-bit INPUT 4-7). In cases where blocks, i.e., OUT BUS, OUT* bits as the destination. into the MAR microinstruction word when bits so 11 0-3 In specify and 12. 5=/0 by operand. However, words additional address the BUS the additionjthe indicated source ADDRESS (bits microinstruction block clocked data block the the portion of DESTINATION or byte the MAR FIELD Scratch position operand the can FUNCTION Pad within also be FIELD, 5.2.2.3 1 5g 0 -~ MOVE 1 | IN BUS* MFF ] (IBUS¥*) DEST | | INPUT ADRS | I ] OUTPUT ADRS l | ] | 11 - This microinstruction with the of exception is that similar the to MOVE the IBUS* MOVE IBUS addresses 4398 microinstruction the IBUS* block words. 5.2.2.4 2g 0 1 = MOVE 0 | Memory MMF | (MEM) DEST | l ALU FUNCTION | | I OUTPUT ADRS l | | | 11 - 4399 The MOVE logical MEM operation resultant operand the two Pad memory. The Scratch i1f The bits microinstruction operands 0~-3 two into is address are 0000 by of ALU an designated the from Pad selection determined on performs is when while 0000 one if of arithmetic function operands specified MEM or field either arithmetic deposits the destination address. One from the Scratch OUT, OUT*, second the destination other logical bits or and the the 5-// an 7 is six destinations operation through is 4. on the of are or defined. operand is The resultant operand by the DESTINATION 11 and 12 if MAR is Pad memory Scratch then the respective resultant operand. 5.2.2.5 38 - 1 1 MOVE the destination bits as specified 8-~10 and/or bits loaded. MEM is designated source operand is destroyed BRANCH REGISTER MFF I to microinstruction the the | moved field, When 0 is or DEST l l by the destination, delivery of the (BRG) ALU FUNCTION | as | | OUTPUT ADRS | l | l 11 - 4400 The MOVE operation MEM with of one microinstruction memory. memory operand If or 1s the the the MOVE BRG exception. are the microinstruction The contents microinstruction BRG as destroyed the by two of the delivery 5=/2 to the this and the Scratch Pad either the Scratch Pad then of similar of BRG specifies destination, the operands is the the respective resultant source operand. 5.3 5.3.1 KMC11-A SAMPLE Programming Example 1: PROGRAMMING Samples MOV 32 #20 and to Accessing CRAM verify. performed Write for at the KMC11 The CSRs program functions counter and location procedures are: Functions a. Clear b. Load PC c. Load CRAM d. Set bit 10 in SEL 0 to address e. Set bit 13 in SEL 0 to write at f. Programming BSEL1 if #32 desired. into data specified SEL (20) 4. into SEL 6. CRAM. data.into location. Clear BSEL Write Functions 1. MOV #32, SEL 4 i set CRAM address MOV #20, SEL 6 ;set data to MOV #4, BSEL 1 jselect BISB #40, BSEL CLRB BSEL 1 Read Functions 1 h. Repeat i. Read J . Clear Programming Read steps SEL 6 BSEL CRAM ;jwrite CRAM jreset select b, and CRAM ¢, and load at PC and 32 write CRAM d. verify. 1. Functions MOV #32, SEL 4 ;set MOV #4, BSEL 1 ;select S-/3 CRAM address CRAM at PC to 32 read. to be CMP #20, SEL 6 ;compare with BNE ERROR CLRB BSEL Example Program ;if 1 2: not clear the execute code in location 0. MOVB #100, BSEL 1 ;set MOVB #200, BSEL 1 creset Example 1: ouT Example original equal, of CRAM address data. then branch. select CRAM PC. KMC11-A CRAM contents and from then set program RUN to counter Procedure Microcode 105 the :reset Master the 2: Programming Write to SELA, OPORT clear. master clear 4 SP0O as an operand. SPO0 to OUT using 1 the SP IBUS, IOBA1, OUT INCA, OBAI1 SP IBUS, 1IoBAZ2, OuT APLUSC, C 10 ;write output SPO SPO OBAZ BA (18 bits). ;read low byte ;write 1t out ;read low byte ;jbranch IBUS, BWRTE IMM, 4 SP BR, ADD, BWRTE IMM, set RUN. Always Exit SPO ;read UBBR, *4 ;jadd carry from low byte S SP and Samples BSEL Increment master carry from extended BA high byte ; SPO 115 5=/ ;increment ;jmask to and NXM them save state of XX4 Alwavs BR, AANDB, Always Example 3: OBR (Cont) swrite extended BA back Exit Perform an NPR BRWRTE IMM, O OoUT BR, SELB, BRWRTE IMM, 40 OouT BR, SELB, SP IBUS, BRWRTE IMM, 101 OuT BR, AANDB, OUT to a BA of 20,000 OBAT1 OBAZ2 UBBR, SPO OBR ;clear extended memory BRWRTE bits ot] OUT Exit IMM, ;data DATAL bits to write to 20000 ouT BR, BRWRTE IMM, OUT BR, SELB, BRWRTE IMM, 21 ouT BL, SELB, ONPR Unibus BR Example SP 4: Perform SELB, OUTDA1 DATAH IBUS, ;high byte ;start the OUTDAZ UBBR, at SPO NPR XX4 ;read the Miscellaneous Register BRWRTE IMM, 15 ;save state memory SP BR, AANDB, BRWRTE IMM, 300 ouT BR, AORB, bits of extended and NXM SPO i BR OBR 5=/5 request and XX4 bit Example 5: Branch on BRG bit 5 MEM source for next BRWRTE as MEMX, (requires PC shift) bits SELB and use 07:00. ; BRSHFT BR4 Example ourT XXX 6: Send characters MEMI, SELB, from MEM TMTDAT to the Line ;ilncrement Unit. memory address : 5§ BRWRTE IBUS, BR? 108 ALWAYS TMTCON ;read xmit status ;ready 58 ;not ready wait 10S: OouT MEMI, SELB, 155 : BWRTE IBUS, TMTCON BR? 208 ; ALWAYS 15¢ : TMTDAT S5=/6 ; H 5.4 KMC11-A PROGRAMMING NOTES The following information represents programming 1. the The KMC11 with a allow for is KMC11-A Control multiport the that the the on 2. Since bits the in PDP11 3. functions. CSRs are random power 1 microcode A procedure is outlined LLoading BSEL RAM, a As is a up BSEL 1 for the before all b. Load PC C. Load CRAM d. Set ROM up, the random bit Control data. 15) Random Therefore, should not resides in CRAM. loading the O0s into (right O words portion byte is of the hardware. leaves all the any control Access Memory the CRAM be and following asserted verifying Procedure Write and requirement, below. a. CSRs only sequence minimum These requirement This by implemented microprogram the define. power clear KMC11 defined are bytes, only of user. (RAM). The 1 the (CSR) bits, the aspects attempted. contains (BSEL and is to memory transfer. and should value of cannot states. Following RUN user Register are known 4. bit transfers up, selection program practical Registers access PDP11 program (CRAM) random the of Status data that Maintenance be and/or the CSRs will and arbitrary control agree that some BSEL 1. justified) data into (BSEL 1 SEL bit into 6. 10). $=/7 SEL 4. power until its contents e . Set ROM bit 13). f. Clear g. Repeat Reading O ROM (BSEL 1 O and CRAM b through steps Write b. Load PC C. Set ROM d. Read e Clear ROM O bit. f. Repeat code all O 6 and WRITE £ CRAM WRITE (BSEL 1 bits. as be the time. The bit required. 1. through between e possibility of occurrence of data. into a 4. required. PDP11 should for write CRAM code destructive sequence to SEL as the with into 0). contains transfers The wanting 1 filled control KMC11 b BSEL justified) which transfer allow into (BSEL steps procedures. not 0O0s (right SEL could These 10) Procedure a. Control bit be a the race race the the same KMC11 conditions. interlocked control both and sequential transfer PDP11 byte condition should and a; the the would same cause lost data. A be a. race-free as control transfer initiated by the PDP11 could follows. The PDP11 transfer program asserts Request bit and encoded type. b. The KMC11 responds with . Co. The PDP-11 program loads Request bit. clears the the an acknowledgement data 5—/8 into to predefined proceed. bytes and d. Observing accepts the the completes Single bit data the control could exist more bits When the if to the entered, the no bits This procedure the CSR at it. All bits may be may not The KMC11 have the bit, the acknowledge KMC11 bit which of Type be the from either free. However, in 5, item transfer and bits a service be of the a race condition includes along should side with one the request. subroutine read again or 1is to insure lost. because that the written the KMC11 PDP11 may program simultaneously KMC11 but the do NPRs to power fail traps be is so additional reading writing the into request function bits detected. is Unibus, and failure. As include some able common bit (NPR to cause a precaution, diagnostic before Most extended type time cannot Request asserted used required by clears detected same detected function a been is the be request is the transaction. Transfer that of to be race define request and functions are guaranteed CSRs clearing it system Control bits KMC11 interacts in troubles occur 17) are bit not bit a address, function microcode any 1) 18 as capability; Register (16, a any is package at least as way with the because used of the a Not the hardware should start up PDP11 program. Last Transfer incorrectly maintained. hang or the BA 9. No bits (except the Not Last Transfer bit) should be changed in the KMC11's NPR Control Register,‘if the NPR Request Bit introduced. Last 10. No bits i1if 12. ACLO be the will bit to an changed in the KMC11's BR be in Request the are used follows: by bits C1 0 0 NPR from 0 1 NPR to 1 0 Do not * 1 1 Byte the is the BA used. OUT DATA of low position the BA Not as Miscellaneous asserted Miscellaneous BYTE OUT LSB is Unibus Unibus because a race Register is not XFER (C0) and OUT NPR (C1) NPR to DATA a at IN OUT Unibus transfer LB at BA BA address. address. use. Also, contents If the of Function of byte be DEC. co from bit KMC11's Register 11 explanation will introduced. Control code condition for NPR LSB race 13 except *The a item recommended as because bit. should condition The asserted, Refer Transfer Register 11. is the address byte register. LB are at OUT must If the the high 1, then the byte is BA to of be always LSB is the remains contents 5~20 address. always transfer transfered and BA 0, 0 unless sourced then the destinations' undisturbed. OUT DATA LB is transferred byte 13. The to remains KMC11-A following intended moving the destinations' capable execution allow data in of the the maintaining an NPR KMC11 minimum on if the Last Transfer it locks the Unibus.. The It up the of operations Not following is that the are maintained. a. Assert NOT LAST Bits and 0, at b. the NPR. this period. That other The required followed by to perform time the low user (NOT LAST XFER) should be of the the than no NPRs NPR is clearing instruction. used is for NPRs Read-Modify-Write is cautioned left multiple NPRs. NPR data NPR RQ (NPR Control The NPR RQ bit and may be reasserted Unibus other controlled performed registers Register self-clears mastership Unibus by the for during transactions by that asserted and NPR is for BA retains is, feature multiple the and or mastership This However, proper KMC11 possible last transaction. respectively). The Unibus enable XFER completion each KMC11 and to Unibus. procedure assumed 1 byte undisturbed. 1s to high are KMC11. asserting of NOT LAST XFER in the Clearing NOT LAST XFER drops NPR RQ next BUS SACK and allows Unibus arbitration for the next master while the last NPR is in progress. 5=2/ When NPR RQ is cleared again, Unibus mastership 1is relinquished. cleared be also XFER may LAST NOT already is NPR RQ if cleared and the KMC11 is Unibus master. In this casé, 5.5 1. Unibus is in violation Transmit PROGRAMMING NOTES Start of Message (TSOM) are TEOM These this register sent from the Out Control when the microprocessor data, etc.) into the the bit control load However, the the TSIP flip-flop which the Out Control Therefore, signal load before Control Register control information the Out Data In the Bit Stuff Silo with function either that is for goes the clears Out the Silo TSOM character a loads If Register. set, character. along with the Data Silo also TSOM and the clocks TEOM bits in Register. always as TEOM) or (TSOM to Register Buffer Out Data Message the microprocessor. by into Transmitter (sync, Register. Control loaded are bits of and Transmit End Out the of 1 and 0 bits are (TEOM) and UNIT LINE DMC11 Specifications. Unibus the of sequence this However, mastership occurs. of relinquishing SACK and of BUS clearing immediate the Silo is the TSOM cleared the Out from this TSOM or performed TEOM Data into the Silo. Out The automatically register data. the data TEOM bit the loading accepts mode, or written into the lost. This is is automatically by 522 the Out an Data internal transmitter control the In logic. loading place control of of logic i1t sends is set. If MATCH shift the both TEOM BLOCK the flag BLOCK END are lost. are Shift output, check TSOM is set character when TEOM set, 16 are sent. 0 and 1 part of When bits inhibiting transmitter when the zeroes of the 8 are read the 3341 data microprocessor, These by Register. the character are are accomplished Data bits Silo. the is CRC TSOM they by read Control FIFOs bits BCC as In of MATCH part of that the In and the In Register. Therefore, reading the END Data are the and In Silo In a transmitter Data Control register Physically, constitute this Transmitter transmits and Register. the the and BCC Physically, always the In DDCMP CRC check read Data mode, the In Control Register before Silo. the BCC character MATCH that flag produced is presented the with match information. In the Bit Stuff mode, the with terminating the high flag byte of the BLOCK END bit has been the CRC received. Check is asserted when This bit Character. 1is loaded Therefore, the BCC MATCH bit along with the BLOCK END bit should be used to indicate reception of an errorless messagde. The Request microcode. data 1s function is The line unit control logic RS the before the Out Data assertion time that serial the of FA Line the DMC11-MA CS transmitter underrun condition and present at transmit the bottom of logic is ready flagged by the is not EOM is The transmitter not minimum of DMC11-DA used one and is determined MD Line 15 bits. In bit an ABORT In character the for character Line by the (CS) has to provide it silo starts. CS occurs delay is delay data is Silo when the This a is if can sends all before about not condition occur all 1s used. stream mode, the all 1s sequence only 524 are for data For data 0s 1s dropping 1s mode, Send about Data between to the all oriented delay 100us. the no The is and modem/DSU because when data the sequence RS if an a message. time Units, asserts character. hardware terminate the CS Out a to DMC11-MD delay automatically FA Units, stuff to of Units, The only Silo. Clear transmission and read microcode used. us the the modem 90 of in and DMC11-DA function A (RS) of determines For Send available assertion depth to the occurs is a RS. For stream length DMC11-MA for at recognized protocols and least stuffed. those the with as proper error condition. The is In Such Data assumed detection precludes the Protocols with DDCMP, that message or may loose For bit (TSOM) on not high proper this a overrun speed of the for and bit be an overrun detection as a sequence to detect Transmit control transfers are always new characters line. to block be of such size the a messages overrun. Start information. on as Protocols terminate required transmitted It indicator. error. to two a this microprocessor methods, CRC protocols, of from indicator. KMC11 indeterminate unable easily DDCMP. an condition with recover have error specific data is can stuff flag output the protocols transmission two does requirement detect rely a protocl Silo that methods the of Message to This start causes serial APPENDIX PDP-11 A MEMORY ORGANIZATION AND ADDRESSING The PDP-11 8-bit memory bytes. location; low numbered. a is organized Each byte bytes are Words and the high provide CONVENTIONS are (0dd) 16-bit i1is in addressable even numbered addressed byte of word. at numbered addresses. even location to select an byte 8-bit locations each 128K 16-bit 1024 so 131,072 PDP-11 18 processor is A-1 In this The with which a of odd locations only included to therefore addresses an found odd in or identified as A(17:00). addressing byte. 262,144 the size management unit, limits the maximum This the can unit also memory represents K equals and 238K represents be used only that processor memory 256K multipler locations memory this the are two address are automatically discussion, memory bytes numbered 18 bits 8-bit maximum own of byte. Without (32,768) shows an its high words capability represents bits. bits 256K bytes. 262,144 256K the which locations. bytes or 32K Figure of words. that address address provide consisting has operation The Unibus address word contains bits and the word is A words and even Consecutive even Eighteen 16-bit size by utilizes provides to 64K all 16 (65,536) words . organization for the maximum memory size of In the binary system, 18 bits can specify 218 or (256K) locations. The octal numbering system is a used to designate the the address shown The address. to the 8K address binary provides system convenience that the 1n processor converting uses as below. highest internal general physical memory reserved. As for result, this area; words program. PDP-11 these a in to locations registers assigned A This processor and (760000-77777) peripheral addresses; only programmable therefore, without the devices. the memory the user memory are reserved for There is no cannot be numbers locations has 248 management are bytes unit or provides 16 address bits that specify 216 or 65,536 (64K) 1locations (Figure A=2). (64K) 32,768 (32K) A(17:16) is master with only to to The maximum words. 1s if bits allow 16=-bit Logic memory size in processor the A(15:13) generation of are all 1is 1s addresses 65,536 forces when in the bytes address the bits processor reserved |8 area O|\ADORESS 81T |7 0\0{/ |0 | B/INARY / or control. [7/16115|/41131e|// /0|9 / 124K 7 © O / OC TAL |15 08|07 00 lke— 16 BIT DATA WORD — HIGH BYTE 000001 LOW BYTE 000000 000003 W 000002 USER ADDRESS SPACE AVAILABLE USING 18 ADDRESS BITS ON | ) POP-11 PROCESSOR .,_____—/’T WITH 7 MEMORY MANAGEMENT OPTION, INCLUDES 248K (253,952) BYTES OR 124K (126,976) WORDS. 757776 760001 76 0000 J \ ) 757777 ____/’1 j HIGHEST 8K (81392) BYTES OR 4K (4096) WORDS RESERVED FOR DEVICE REGISTER ADDRESSES. *777777 777776 LAST ADDRESS IS BYTE NUMBER 262,143, MAXIMUM SIZE WITH 18 ADDRESS BITS IS 256K(262,144) BYTES OR 128K (131,072) WORDS. 11-1690 Figure A-1 Memory Organization 18 Address A=3 for Bits Maximum Size Using 00| 08|07 lis le— 16 BIT DATA WORD — HIGH BYTE LOW BYTE 000001 000000 000003 000002 USER ADDRESS SPACE S AVAILABLE USING 16 ADDRESS BITS ON PDP-11 PROCESSOR WITHOUT MEMORY MANAGEMENT OPTION, INCLUDES 56K (57, 344) BYTES OR 28K (28,672) WORDS. 157777 157776 160001 160000 T ADDRESSES 160000177777 ARE CONVERTED ~— TO 760000 -777777 BY THE PROCESSOR. THUS, THEY BECOME THE HIGHEST 8K (8192) BYTES OR 4K(4096) WORDS RESERVED FOR DEVICE 177776 *177777 J REGISTER ADDRESSES. LAST ADDRESS IS BYTE NUMBER 65.53510 * MAXIMUM SIZE WITH 16 ADDRESS BITS IS 64K (65,536) BYTES OR 32K(32,768) WORDS. I1-1689 Figure A-2 Memory Organization for Maximum Size Using 16 Address A-4 Bits Bit 13 becomes (56K) . byte This is memory. highest locations bytes or Memory the the 28,672 of less No are addresses memory locations PDP-11 core location 56K to interfering (28K 8K the bus. bytes of the bytes 64K These user to (4K words) are has to the register and 57,344 words) under do the reserved area, because not have there with the size in core is a no binary 1 not in possibility (56K) of 4K increments. 8K memories are shown Highest Location (Octal) 8 16 24 017777 037777 057777 077777 117777 137777 157777 A13. physical space. or have bit reserved Size K-Bytes 32 40 48 56 57,344 160000-177777 general the decimal or available various last is program. do and 8K locations internal with 160000 are by which last therefore, bytes converted Memory K-Words 4 8 12 16 20 24 28 words than of these for addresses; memories the accessible reserved of 160000 converts interference designations of relocates (28K) capacities octal processor are device at beginning locations problem highest first which that peripheral 1 The 760000-777777 the a The below. digital equipment corporation Printed in U.S.A.
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies