BitPosition Designation. Function8 MS Master/slave mode control9 MM Memory map mode control10 DM Decimal arithmetic trapmask11 AM Fixed-point arithmeticoverflow trap mask15-31 IA Instruction address32-35 WK Write key37 CI Counter interrupt groupinhibit38 II I/O interrupt group inhibit39 EI External interrupt inhibit56-59 RP Reg i ster po inter60 RA Register altered61 MA Mode altered<strong>The</strong> detailed functions of the various portions of the programstatus words are described in Chapter 2, "Program StatusWords".of lPSD is a 1, or is disarmed if bit 11 of LPSD is a O.If bit 10 of lPSD is a 0, no interrupt level is affectedin any way, regardless of whether b-it 11 of LPSD is 1or O. If bit 10 of the lPSD is a 0 and bit 11 of lPSDis 1, the PDF flag is cleared. (Interrupt levels are describedin detai I in Chapter 2, "Interrupt System". )Bit position10 (CL) 11 (AD) FunctionooClear and disarm interrupt level.Clear and arm interrupt level.Clear PDF flag.o o No control action.3. <strong>The</strong> PDF flag is normally reset by the last instructionof a trap routine, which is an LPSD instruction havingbit 10 equal to 0 and bit 11 equal to <strong>1.</strong><strong>The</strong>se portions of the effective doubleword that correspondto undefined fields in the program status words are ignored.Affected: (PSWs), interrupt <strong>system</strong> if (1)10 = 1ED O_ 3- CC; ED 5_ 7- FS,FX,FN;LPSDLOAD PROGRAM STATUS WORDS(Doubleword index alignment, privileged)ED -MS' ED - MM·8 '9 'ED 15_ 31- IA; ED 32_ 35- WK;LOAD PROGRAM STATUS WORDS replaces bits o through 39,60 and 61 of the current program status words with bits 0through 39, 60 and 61 of the effective doubleword.Control bits used in the LPSD instruction are:BitPosition Designation Control Function8 LP Load pointer control10 Cl Clearing of interrupt level11 AD Armed/disarmed state<strong>The</strong> following conditional operations are performed:<strong>1.</strong> If bit position 8 (LP) of LPSD conta ins a 1, bits 56through 59 (register pointer) of the current programstatus words are replaced by bits 56 through 59 of theeffedive doublewOid; if bit 8 of LPSD is u 0, tht=: cu,-rent register pointer value remains unchanged.2. If bit position 10(CL}of LPSD contains a 1, the highestpriority interrupt level currently in the active state iscleared (i. e., reset to either the armed state or the disarmedstate); the interrupt level. is armed if bit 11 (AD)ED 37_ 39- CI, II, EI; if (1)8 = 1, ED 56_ 59- RPED60 - RA; ED61 - MAu: In = 1 ~ ... ,J In"\"10 · ....·1\··\·'11 = . 1 , C!CCi and aim iiitciruptIf (1)10 = 1 and (1)11 = 0, clear and disarm interruptXPSDEXCHANGE PROGRAM STATUS WORDS(Doubleword index alignment, privileged)EXCHANGE PROGRAM STATUS WORDS stores the currentlyactive PSWs in the doubleword location addressed bythe effective address of the XPSD instruction. <strong>The</strong> followingdoubleword is then accessed from memory and loadedinto the active PSWs registers.110 Control Instructions
<strong>The</strong> XPSD instruction' is used for three distinct types ofoperations: as a norma I instruction in an ongoing program;as an interrupt instruction; and as a trap instruction.Control bits used in the XPSD instructions are:XPSD (trap instruction)An XPSD instruction (in a trap location) executed as a resultof a trap entry operation is called a trap instruction. Addressingis the same as for the interrupt XPSD (see above).BitPosition8DesignationLPControlFunctionLoad pointercontrolWhere usedAll XPSDs<strong>The</strong> fol lowing additional operations are performed on thenew program status words if, and only if I the XPSD is beingexecuted as the result of a nonallowed operation (trap tolocation X'40') or a CALL instruction (trap to location X'48',X'49', X'4A', or X'4B'):910AIATAddress IncrementAddress i ng typeTrap XPSDA I I X PS Ds<strong>1.</strong> Nonal lowed operations - the fol lowing additional functionsare performed when XPSD is being executed as aresult of a trap to location X'40':<strong>The</strong> effective address of an XPSD instruction is generatedin one of the following ways:XPSD (normal instruction)When an XPSD instruction is encountered in the course ofexecution of normal programs, the AT (bit 10) of the instructiondetermines the type of addressing to be used.If AT = 0, the reference address is 20 bits (12-31). Indexingis not allowed. Indirect addressing is allowed with thesame constraints as the reference address. Addressing isalways real, independent of the current PSWs.If AT = 1, the reference address is 17 bits (15-31). Addresscalculations are according to standard addressing rules asdetermined by the current PSWs. Indexing and indirect addressingare allowed.XPSD (interrupt instruction)An XPSD instruction (in an interrupt location) executed asa result of an interrupt is called an interrupt instruction.<strong>The</strong> type of addressing to be used is determined by the basicprocessor mode and the AT (bit 10) of the instruction.In the extended addressing mode (MA = 1 and MM = 0), theAT bit is used to determine the type of addressing to beused. If AT = 0, the reference address is 20 bits {12-31}.Indexing is not allowed. Indirectaddressing is allowed withthe same constraints as the reference address. Addressing isalways real, independent of the current PSWs. If AT = 1,the reference address is 17 bits (15-31). Address calculationsare according to standard addressing rules as determinedby the current PSWs. Indexing and indirect addressingare allowed.When the addressing mode is not extended addressing, thereference address is 20 bits (l2-31). If AT = 0, indexing·is not allowed. Indirect addressing is allowed with thesame constraints as the reference address. Addressing isalways real, independent of the current PSWs. If AT = 1,the 20-bit reference address is subject to PSWs bit 9,as is the contents of the indirect address if indirect isspecified.a. Nonexistent instruction - if the reason for the trapcondition is an attempt to execute a nonexistentinstruction, bit position Oof the new program statuswords (CC 1) is set to <strong>1.</strong> <strong>The</strong>n, if bit 9 (AI) ofXPSD is a 1, bit positions 15-31 of the new programstatus words (next instruction address) areincremented by 8.b. Nonexistent memory address - if the reason for thetrap condition is an attempt to access or write intoa nonexistent memory region, bit position 1 of thenew program status words (CC2) is set to <strong>1.</strong> <strong>The</strong>n,if bit 9 of XPSD is a 1, the instruction address portionof the new program status words is in crementedby 4.c. Privileged instruction violation - if the reason forthe trap condition is an attempt to execute a privilegedinstruction while the basic processor is inthe slave mode, bit position 2 of the new programstatus words (CC3) is set to <strong>1.</strong> <strong>The</strong>n, if bit positionOof XPSD is 1, the instruction address portionof the new program status words is incremented by 2.d. Memory protection violation - ifthe reason for thetrap condition is an attempt to read from or writeinto a memory region to which the program doesnot have proper access, bit position 3 of the newprogram status words (CC4) is set to <strong>1.</strong> <strong>The</strong>n, ifbit 9 of XPSD is a 1, the instruction address portionof the new program status words is incrementedby <strong>1.</strong><strong>The</strong>re are certain circumstances under which twoof the above nonal lowed operations can occursimultaneously. <strong>The</strong> following operation codes(including their counterparts) are considered to beboth nonexistent and privileged: X'QC' and X'OD'.If either of these operation codes is used as an instructionwhile the basi c processor is in the slaveor master-protected mode, CC 1 and CC3 are bothset to l's; if bit 9 of XPSD is a 1, the instructionaddress portion of the new program status words isincremented by 10. If an attempt is made to accessor write into a memory region that is both nonexistentand prohibited to the program by means of theControl Instructions 111
- Page 1 and 2:
Xerox 560 ComputerReference Manual9
- Page 5 and 6:
4. INPUT/OUTPUT OPERA TIO NS 142 AG
- Page 7 and 8:
1. XEROX 560 COMPUTER SYSTEMINTRODU
- Page 10 and 11:
Many operations are performed in fl
- Page 12 and 13:
Rapid Context Switching. When respo
- Page 14 and 15:
2. SYSTEM ORGANIZATIONThe elements
- Page 16:
FAST MEMORYARITHMETIC AND CONTROL U
- Page 19 and 20:
INFORMATION BOUNDARIESBasic process
- Page 21 and 22:
(Maximumof eight)Core Core Core Cor
- Page 23 and 24:
3. Diagnostic logic. Each memory dr
- Page 25 and 26:
eference address field of the instr
- Page 27 and 28:
Instruction in memory:Instruction i
- Page 29 and 30:
Real-extended addressing is specifi
- Page 31:
Table 1. Basic Processor Operating
- Page 35 and 36:
DesignationFunctionDesignationFunct
- Page 37 and 38:
InterruptStateDisarmedArmed[$Waitin
- Page 39 and 40:
AddressTable 2. Interrupt Locations
- Page 41 and 42:
is assumed to contain an XPSD or a
- Page 43 and 44:
Table 3. Summary of Trap LocationsL
- Page 45 and 46:
TRAP MASKSThe programmer may mask t
- Page 47 and 48:
PUSH-DOWN STACK LIMIT TRAPPush-down
- Page 49 and 50:
Instruction Name Mnemonic FaultDeci
- Page 51 and 52:
subroutine. However, with certain c
- Page 53 and 54:
3. INSTRUCTION REPERTOIREThis chapt
- Page 55 and 56:
CC1 is unchanged by the instruction
- Page 57 and 58:
Condition code settings:2 3 4 Resul
- Page 59 and 60:
Example 2, odd R field value:Before
- Page 61 and 62:
significance (FS), floating zero (F
- Page 63 and 64:
next sequential register after regi
- Page 65 and 66: R 1 R2 R3 MeaningoThe effective vir
- Page 67 and 68: Condition code settings:2 3 4 Resul
- Page 69 and 70: MIMULTIPLY IMMEDIATE(Immediate oper
- Page 71 and 72: original contents of register R, re
- Page 73 and 74: Instruction NameCompare HalfwordMne
- Page 75 and 76: Condition code settings:2 3 4 Resul
- Page 77 and 78: 2 3 4 Result of ShiftCircular Shift
- Page 79 and 80: 4. At the completion of the left sh
- Page 81 and 82: Instruction NameFloating Subtract L
- Page 83 and 84: The following table shows the possi
- Page 85 and 86: Table 8.Condition Code Settings for
- Page 87 and 88: PACKED DECIMAL NUMBERSAll decimal a
- Page 89 and 90: DSTDECIMAL STORE(Byte index alignme
- Page 91 and 92: If no indirect addressing or indexi
- Page 93 and 94: Instruction NameMnemonicDesignation
- Page 95 and 96: Both byte strings are C bytes in le
- Page 97 and 98: of the destination byte that caused
- Page 99 and 100: again present, unti I a positive or
- Page 101 and 102: The new contents of register 7 are:
- Page 103 and 104: traps to location X'42 1 as a resul
- Page 105 and 106: If there is sufficient space in the
- Page 107 and 108: If CC1, or CC3, or both CC1 and CC3
- Page 109 and 110: appropriate memory stack locations
- Page 111 and 112: II, EI) are generated by II ORing"
- Page 113 and 114: In the real extended addressing mod
- Page 115: CAll INSTRUCTIONSEach ofthe four CA
- Page 119 and 120: If (I)1O = 0, trap or interrupt ins
- Page 121 and 122: For either memory map format and ei
- Page 123 and 124: initial value plus the initial valu
- Page 125 and 126: Table 9. Status Word 0Field Bits Co
- Page 127 and 128: READ INTERRUPT INHIBITSThe followin
- Page 129 and 130: Table 11.Read Direct Mode 9 Status
- Page 131 and 132: SET ALARM INDICATORThe following co
- Page 133 and 134: INPUT jOUTPUT INSTRUCTIONSThe I/o i
- Page 135 and 136: Table 13.Description of I/o Instruc
- Page 137 and 138: Table 15.Device Status Byte (Regist
- Page 139 and 140: Table 16. Operational Status Byte (
- Page 141 and 142: Table 19.Status Response Bits for A
- Page 143 and 144: If CC4 = 0, the MIOP is in a normal
- Page 145 and 146: 2 3 4 Meaningo 0 I/o address not re
- Page 147 and 148: The functions of bits within the DC
- Page 149 and 150: 4. Each unit-record controller (int
- Page 151 and 152: Interrupt at Channel End (Bit Posit
- Page 153 and 154: Transfer in Channel. A control lOCO
- Page 155 and 156: Otherwise, the first word of the ne
- Page 157 and 158: Depending upon the characteristics
- Page 159 and 160: change the rate on the primary cons
- Page 161 and 162: Location(hex) (dec)20 3221 3322 342
- Page 163 and 164: Table 22.Diagnostic Control (P-Mode
- Page 165 and 166: at its normal rate (e. g., fixed du
- Page 167 and 168:
SET LOW CLOCK MARGINSThis command c
- Page 169 and 170:
BP STATUS AND NO.Th i s group of i
- Page 171 and 172:
Input5MPri ntout5MFunctionStore X 1
- Page 173 and 174:
6. SYSTEM CONFIGURATION CONTROLPool
- Page 175 and 176:
Table 25. Functions of Processor Cl
- Page 177:
Table 26. Functions of Memory Unit
- Page 180 and 181:
STANDARD 8-BIT COMPUTER CODES (EBCD
- Page 182 and 183:
STANDARD SYMBOL-CODE CORRESPONDENCE
- Page 184 and 185:
STANDARD SYMBOL-CODE CORRESPONDENCE
- Page 186 and 187:
TABLE OF POWERS OF SIXTEEN II162564
- Page 188 and 189:
HEXADECIMAL-DECIMAL INTEGER CONVERS
- Page 190 and 191:
HEXADECIMAL-DECIMAL INTEGER CONVERS
- Page 192 and 193:
HEXADECIMAL-DECIMAL INTEGER CONVERS
- Page 194 and 195:
HEXADECIMAL-DECIMAL FRACTION CONVER
- Page 196 and 197:
HEXADECIMAL-DECIMAL FRACTION CONVER
- Page 198 and 199:
APPENDIX B.GLOSSARY OF SYMBOLIC TER
- Page 200 and 201:
TermMeaningTermMeaningWKxWrite key
- Page 202 and 203:
Table C-2. Memory Unit Status Regis
- Page 204 and 205:
Y OYf'lV r'f'lrnf'lrtil"\n'''' ....
- Page 206:
701 South Aviation BoulevardEI Segu