Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-08-D05
December 1967
24 pages
Original
0.8MB
view
download
Document:
maindec-08-d05b-d
Order Number:
MAINDEC-08-D05
Revision:
Pages:
24
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/maindec-08-d05/maindec-08-d05b-d.pdf
OCR Text
MAIN DEC-08—DO5B—D IDENTIFICATION ' Product Code: MAINDEC-OB-DO5B—D Product Name: Random JMP-JMS Test Date Created: December 28, I967 Maintainer: Diagnostic Group Author: R . Green \4 MAIN DEC—OS—DOSB-D l ABSTRACT - . V This is a diagnostic program to test the JMS instruction of the PDP-8. TO addresses are selected for each test. to Random FROM and. The JMP instruction is tested in that each. test requires a JMP reach the-JMS. ' 2. REQUIREMENTS ' Equipment 2.1 PDP—8 equipped with Teletype .2. 2 Sta . AR . rag e t Locations 0000 - 0574 The Binary Loader must be stored in the last memory page. Preliminary Programs 2 .3 It is assumed that MAINDEC 08-D0l (n), 08-D02(n), . run successfully LOADING PROCEDURE 3. 3.1 . , Method _Use the standard Binary Loader 4. STARTING PROCEDURE 4.] Control Switch Settings SRO Halt on error. SR2 Hold the {FROM address Constant (1). Select random FROM addresses (0). SR3 Hold the TO address constant (T ) Select random TO addresses (0). 4.2 Starting Address 0200 Restart Address -_ 0215 . 08-D03(n), and 081-D004(n) have been MAINDEC—OB-DO5B—D 4 .3 Operator Action a. Set SR to 0200 and press LOAD ADDRESS. b. 'If it is desired to set either SR2 or SR3, the FROM or TO address may be specified by ' entering the address into the locations shown below. 0 FROM = TO 2 Location 130 Location l26 If SR2 or SR3 is set after the program has been started, the last address taken from the .. random number generator is used repeatedly. Push START. ‘c . 5 OPERATING PROCEDURE . Same as section 4. 6. ERRORS 6.l Error Halts If the program executes one All unused memory lo'cations are loaded with HLT instructions. of these background HLTs, it is probable that the interrupt Failed to occur following the JMS instruction, The FROM and TO address may be 6.2 checked at any time to locate the test JMS instructions. Error Printouts ‘ . TO wry F XXXX (TO) == (nnnn) 6.2.l mmmm = rrrr Explanation (FROM) F xxxx: xxxx (TO) TO yyyy: yyyy (TO) = (nnnn) mmmm; = rrrr: = mmmm nnnn interrupt. = address of JMS instruction being tested . address that the JMS instruction is going to = the contents of the address TO. . This should equal xxxx + l . is the address minus one that was stored in location 0000 during the rrrr is the content of address nnnn . MAINDEC-OB-DO5B—D 6.2.2 Examples a. . The following is a forced error printout where no error occurred .' ' F To 6354 5236 (T0) (6354) . 5237 = = 5237 . The test JMS instruction was in location 5236. The JMS was trying to jump to loca- tion 6354. The contents of TO-(location 6354) was 5237. stored on a JMSinstruction. To gain any This is correct since the PC is knowledge from the third line of the printout, the sequence of events when a JMS instruction is followed by an user interrupt. must understand‘the As an end result of this sequence, the address of the location following the cell where the PC is stored is placed into cell 0. Toderive this‘third line of the printout, the address in cell ‘0 is decremented by one and printed on the Teletype; then the printed b. / contents of that address are . The following is a typical error printout. F ,1 \MW/ TO 6354 5236 (T0) 7402 = (4354) = 5237 Line l is simply a statement of the problem. Line 2 says that the contents of loca- tion 6354 are not 5237 as they should be, but are 7402 instead '. 7402 is a HLT instruction . Since memory is filled with a background of HLT orders, lit-is evident- that the PC was not stored in location 6354 during the JMS. was Line 3 of the printout reveals where the PC was stored .3 Since on-the interrupt 4355 stored in. location zero and (4354) contains the correctly stored PC, 5237, apparent that aiump error occUrred but it actually. jumped to 4354. 1c . it is ‘The‘ JMS instruction should have iumped to 6354, . Bit 1 was lost. The-following is another typical error printout. ' F (T0) = (6354) Line TO 6354 5236 7237 = 72377 l. is again simply a statement of the problem . Line 2 says that the contents of location 6354 are not 5237 as expected, but are instead 7237. not a HLT order, was wrong. 7402, Since the co‘ntents are it is evident that the PC was stored here, but the number stored Comparing the good (5237), and’the bad (7237), it is "picked up” during the store PC operation of the JMS instruction 3 . apparent that bit l was ' MAI:NfiDEC—O'B-‘DZOSBT -Di 6' .73: Error Recovery The program continues testing following an error printout. When enough information has been gathered from the error printouts, 0. FROM and TO address. is selected for use in: the scope mode- loop. chosen addresses into proper location-s (see section 4.3.b)... Enter 5531 into location i and Enter the E restart the program with SR2 and SR3: set. The scope mode loop is: Location , . * - . . . Coding I l 0000-, J-MP l FROM 1:. 00.01" I A, xxxx , ION ' JMS, 1» TO; xxxx: ' 0:131 FROM 1 A _ To. discontinue the scope- mode. loop, restore the, original contents (7200) of location ] and restart. 7. RESTRICTIONS (None): 8,. MISCELLANEOUS . Execution Time; 81. l" 4‘, 726 random: tests/second 9 PROGRAM DESCRIPTION .. The JMS. instruction is. checked through» use of the interrupt Function erato-r . A random number gen- selects: a FROM and" a T0 address- An ION instruction is then placed at FROM --1 and the JMS instruction- at FROM. The program i-um..:p:s: to. the: address. specified by TO. ION and-- JMS instructions, an: After executing the interrupt occurs starting; the program counter at location 1 routine located; here verifies that the.» operation was successful before Rand-om addresses are restricted as follows: .. A checking starting‘the next test. 0600' <. randOm address < 76.00. The area between 0.600“ and. 76010 is filled with H’LT‘ instructions in case the interrUpt fails. ' ”05:” is printed after every 6} 000 tests... , MAINDEC-OB—DO5B—D @233 “239 JMPsJMS TEST ISRwsHALT 0N hRROR IRANDUM ISR2§FIXED FROM ISRéEFIXED To ISPREAU HALTS TfiROUGH MhMQRY IBETHQEN THE kIMLD ANU LINN!» /LIMITS QZQE M201 B292 @203 fi2fl4 9285 M296 @2fl7 4154 1135 7&41 5126 1152 DGA TAD DQA TAD GUN: 1126 7we1 3126 1126 1136 B213 764% @214 8215 azma M216 5w41 swam WZZQ JMP TAD USA USA 1m42 @222 @223 9224 7684 7HW4 7906 763% 5246 FOR T0 T0 LIMHI CLA GUN M15 CT1 CT FIXED FROM LAS RAL LOOP) RTL SiL CLA JMP LOOPisb /GET RANDOM GETRAN; FROM TAD RANUH RAL CLL @231 1133 71E4 743% 1134 3133 @232 1133 01:1 RANUM TAD RANUM @233 0254 9235 @236 751% SPA 5241 JMP .*5 TAD LIMLD SPA. CLA $225 9226 $227 @236 @237 1135 7719' 5225 @241 UZGZ 5244 1136 773% @243 024% . T0 HALT I T0 To [AC DEA TAD TAD SEA lfiHEGK @221 JMS PATCH. TAD LIMLO 81A 3526 @219 $211 0212 9217 BEGIN: stL no THREfi 4MP GETRAN JMP .*4 TAD LIMHI SMA CLA 5225 JMP GETRAN 'm244 1133 @245 3153 TAU DOA RANUM FROM /QLA PAGL 1 l/ll/OB ' 9246 0247 mesa @251 @252 @253 1139 7901 3132 7%49 113% 3151 TAD FROM IAC DCA FRMP; ' GMA TAD DOA FROM FROM; 3128.1U PAGE l"1 1111168 lCHEQK @254 @255 7694 7996 B256 79gb ”257 7639 53W2 826% £0091: FOR rxxeo LAS RTL RTL SiL' CLA JMP CRSCK-é quT RANDOM TU @261 1153 TAD RANUM @262 0263 7194 RAL CLL 7430 StL W264 @265 1134 3153 TAD THRLE DEA RANUH @266 1153 TAD RANUM @267 @273 7519 5275 1155 SPA @271 B272 77;® $273 5261 $274 553% @215 D276 1166 B277 5261 1133 WSEQ msug W392 W363 USUG $595 @306 93%? @319 @311 GTRAN;, 4MP TAD spa SMA JMP TAD CLA CLA GTRAN; RANUM TU TAD TU DOA IAC CRSCK. DCA TAD TUPL FROM CIA TAD TO 'SNA cLA JMP L00? IHRLND 9312 $313 9314 @315 @316 ,*5 LIMLO JMP cTRAN1 JMP .*4 TAD LIMHI 770% 3126 1126 7QQ1 3127 1133 7W41 1126 765% 5229 To“ UP THE 794% 6U41 bflab awe; CMA 5315 JMP FLAG TSP TLS rsr :‘1 3126.11 PAGE 2 1/11/68 IPgAC; 7H5 9317 @326 729% 1137 w321 5322 3531, @323 5533 SUWQ @324 CLA TAD DQA TAD 1153 xbu @525 @526 INSTRUGTLDNS DU DOA DOA w 1T 5531 74E2 4MP @351 1143 TflD 5352 7&12 RTR @363 5554 7B1fl RAH 3142 m355 1142 M356 7Q12 7515 6141 UUA TAD RTR 5343 maaa 5345 TYPAC; Q DUA SAVh‘é SAVh*6 SAVL*Z SAVh*Z RAR USA TAD RT? 1141 7912 781% 314% 5727 SAVt¢1 SAVE*1 RAR DUA JMP /SJCCLSS @346 FHQMl suaHourgNL 9555 3143 $641 5342 I HkT 5527 B336 5549 FHOMl JMPl 1 FROM xwaxwtouv 5337 ITDN I SAVL 1 TYPAG PRINTOUT CTl IAC TAD B351 1041 75ml seal 1941 @352 $353 754% 81A 5457 JMP CTl CTl CLA I ALUOP 1573 3124 TAD AMSG? DCA WORK TAD WORK $347 @559- @354 W355 9356 B357 @368 @361 @362 9363 @364 9365 @366 9367 M379 @371 1124 7551 SUgn DEA TAD L91: ~IAC 3124 DOA WORK 1524 TAD 1 6545 6E4; TLS TSF 5363 JMP 1fl43 TAD StA 7545 5355 WORK 1’1 M26? CLA 1542 JMP L91 TAD M15 3941 DOA CTl 3328,16 PAGE 6 1/11/68 m ;< If], 5457 -JMF I ALO0P 3325,22 PAGE évl 1/;1168 3:26.22 fifi/E $573 @374 D215 W212 Zlfi 2&2 926% W265 25% /W @577 205 /b mwwm Mfiflfl W IFOR mam; SEE; JMP wEQE xqmp @962 2 mmws @EW3 3 wgmé 1132 TAD mama 7646 SiA Ewwb bbflé 1127 TAD wala 7M41 CIA gal: #312 1wwa 7646 5546 TAD SKA @375 @376 MMBB gaw7 wmls AMSGZ: JMP 1152 3569 3526 ,wfizm @221 $133322 7w4m CMA 13mm $WE3 TAD DOA TAD DCA TAD DCA IAC 1152 @626 5531 awe? 7mm1 lwfifi SQQB wmsa @931 64wfl wwsz lfiQfl wgs3 wasa @fiSS 764% 5437 mw3a M346 9228 Bflfifl was? wgaa 5436 _wm42 @669 7763 @@43 75;3 wfi41 RLTURNQ 1152 wwafi IGR / F ‘L um @214 wfilfi gala m317 1152 4 I JMP TAD DCA TAD DUA wgzs wgza PAGE FRMPl CLA I AER TOPI I AfiR HALT I FROM HALT 1 T0 9 fl HALT 1 w MALT I FHDMI CT CT TAD SiA CLA JNP JMP I I LOOP 9 Q nabfi LOCI STQRED ADQRESS xADDRESS STDRtD IN (TO) STDRLU 1N (w) WRONG CLA DCA SUP ALOUP: CT: 571: 'MlBg M265; 1951 SCOPE MODE INSERT 1 FROM 1 (5331) IN CT ALOOP .‘l IAUDRESS HHDNG llll/OB W944 QE45 W646 ww47 @353 @951 WQSE 9953 @954 $355 afibé BED7 W663 mwol ”962 @215 @212 ILF ILF IF 3 FROM ISPACE IX ADDRESS UJUé INslo INSZ: INSJ; INSQI @963 EBMQ EBBE WW64 969% ISPACE IT IU ISPACE INSba IX IX INS7; INSfi. IX INSpp IX @215 IUR @212 IL? IHUHUUT /( IT I0 I) 0677 @253 @971 ”$72 0517 0324 @MIS W374 @975 925; @976 0977 D249 BWQB amea mums @193 @131 @192 @193 @1Q4 @195 @106 0197 611% ”111 I5PAC£ I: ISPACE STORED AUDRfiSS IX SIB FRMPl 1N59. INSlflv INsllc INSIZ. IX IX IX B215 @212 @377 @25@ Dflwfl mama EEBB 9112 @113 wmam @114 @249 @275 @248 @115 M352: ”24% 8275 9996 INSTRUCTIUN ’x UW65 Bfl67 JMS IX 0966 WQIQ OF IX @246 @524 w317 624% @999 b IUR M561, U212 @249 0993 EBQQ UQMW 090% PAGt 3325,27 IUR ILF IRuflOUf I1 IX M355; 1N3130 IX INS14g 1N5l5o ADURhSSml STQRED 1N L00 w AT INTERRUPT Ix @251 249 W116~ 0117 12- 6603 1N5160' IX CONTENTS @122 3%8% 1N5171 INSIBI IX ADDRESS $122 9123 @124 BEEE 02fl7 BWQG $125 757i IX 1N519a 207 WORK: MZQ70 ISPACE ~2Q7 IX 'ILNU MARK OF ABUVE 1/11/68 _/CUNSTANTS @126 w127 @139 @151 @132 0153 @134 6135 @166 m157 $140 m141 m142 w143 m144 @145 mmwv wmmw flflfifl DMUQ TO: Q ’TUPlo FROM; 0 % m wawm FRQMlc FHMPI: 2525 RANUMI 2929 wwm3 THRLEQ 3 HOQU Q 72WW Dzma LfifiLOn gIWHIa *7600 60%1 gnaw .ITUN; SAVL, m ION 9 wemw 009$ Q E @flfifl QBQ7 @260 MSK/o wan 7 w4ww AtR: ER 263 @145 @147 wlbw @327 ATYP; TYPAC vssw ATYPl: 'TYPAC*1 @191 @w44 AMSUl: M501 @152 @153 74E2 4526 MALT; Jflpll HLT JMS I TU 3828.66 PAGL b 1/11/68 IRESTURE E @134 $155 wwwa swag DOA w @156 1167 @1b7 Sflfll X1 1 @169 117% 3992 TAD DGA TAD DCA $101 @162 @1b3 QATUHp 2 DCA 3 TAD X4 DOA 1 x5 J"? I PATCH @164 W165 1172 3573 E106 5554 E167 ul/fl Wl/l @112 1526 7w41 X1: X2: X6: 72mm X4: @173 @229 Xb, 72mg x2 TAD x5 1171 SEES 726” 1526 7941 CLA 2&6 PAGL 5328,35 /TAU 1 T0 THEN GO AWAY I 1/11/58 DADD @491 D4D2 waes @“BQ *4QW 12D4 3547 113% ER: TAD 09A TAD .*4 I ATYP FROM ATYPl D4D4 @495 JMP .*1 @495 DADD 114D D144 TA AND DAD? D41D 1145 ,TAD Two 3D51 D411 1141 D412 D413 D144 DOA INSI TAD SAVE*$ AND MSKI 1145 awbz 1142 DDA TAD D414 D415 D416 555D D144 D417 1145 D42D D421 5053 D422 D423 1143 D144 1145 D424 3D54 D425 TAD AND TAD DDA TAD 1 SAVE MSK7 TN6 INSZ SAvt*2 MSK/ Two INSJ SAVh*é AND M3K7 TAD DCA Twe 1261 3547 1125 555B @432 1140 @144 TAD DUA TAD ,D4 1 ATYP TO I ATYPl D434 1145 8435 5961 D436 D457 1141 @144 TAD DUA TAD D426 D427 DasD w4é1 D452 D453 4MP TAD AND [N84 SAVh MSK7 Twé INSD SAVtt; AND MSK/ TAD DCA TAD TH6 DAAD 1145 D441 D442 3%62 9443 9144 AND MSK7 1145 TAD DCA TAD TND AND MSK/ TAD DDA THb INSH .‘4 @444 9445 D446 D447 D459 E451 1142 3U63 1143 0144 1145 3%64 555% TAD DCA TAD JMP 9457 .*1 E452 1256 D453 D454 D455 D455 3547 1525 INSb sAVttZ INS/ SAVLAD I I 1 . ATYP TO ATYPl 3:23.37 PAGE 8 1/11/68 m457 W466 @461 @462 @463 @464 $465 @466 @467 @479 9471 @472 @473 @474 TAD 1143 @144 1145 3%77 1141 0144 1145 31%% 1142 @144 1145 ;SAVL MSK? TAD ‘Twé 3191 DCA TAD AND DCA TAB AND SAV£*1 MSK7 TAD 1N6 DGA 1N31w TAB 'SAVE*2 AND msx7 TAD TWG INSll @476 1143 @144 1145 3192 SAV£*d AND MSK? TAD. TNS DCA IN512 $477 7wam CMA fiSEE 1%em same TAD DCA 1396 TAD DCA TAU @ JMP I TAD SAVE MSK? 9475 $93; @562 0503 @594 @595 @566 @567 @516 @511 @512 @513 {8514 $515 @516 @517 3547 19mg 5559 @5a7 1143 @144 1145 51w7 1141 m;44 1145 5119 AND TAD DCA TAD AND TAD DCA E Q .‘4 I ATYP AT¥PJ TN6 MSGé SAVht; MSK/ Twé INSla 1142 @144 AND 1145 3111 DCA ~0525 1143 9:44 1145 AND TAD MSK7 TNé @526 3132 DCA @527 @539 1333 3547 149% 5559 9534 TAD DCA TAD JHP 1‘1 TAB AND TAD DCA TAD AND INSlb .‘4 I ATYP‘ @52@ E521 @522 9523 8524 @531 @532 9533 9534 @535 @536 9537 @543 114a 9144 1145 3117 1141 $541 .0344 @542 1145 @543 @544 312% 1142 TAD SAVh*Z MSK/ wa INSlfi TAD SAVE*6 TAD TAD DCA TAD . 1 I B ATYPl SAVE MSK7 TW6 INSlb SAvhti MSK7 wa INSl7 SAVE‘Z 3328.46 PAGE 9 1/11/93 @545 U344 @546 1145 3121 ‘ AND MSK7 TAU TH6 £547 @559 ~1143 7*TAD SAV£*J DOA 9551 0144 @552 1145 @553 3122 AND 'MSK7 zrao T§N 6 INSlB flDGA INs;9 3:28.49 PAGE 9*; 1/}1/68 3:28.5w $554 $555: @555 -557 ”56% TYRE: 00A ’TRD 4k Th5 o“41 6 WORK 1 WORK @561 536% TSP JMP @562 72fll .CLA I‘5 9563 @564 1124 3124 1524 1125 @565 9566 @567 9573 @571 @572 0573 @574 THERE TAfl ANSfiA llfil 3124 1524 ARE NO {’1 TAD WORK- mug TAD TAD SEA WORK 5356 I'HURK MZE7 CLA JMP TYPE 7ow4 LAS 7719 SPA 7649 7492 5m14 ERRORS PAGE CLA HLT JMP RLTURN IHALT 0N ERROR 19 1/11/68 SYMBOL TABLt ALR @146 ALOUP ®w37 AMSGl @151 @373 0147' AM862 AIYP @158 ATYPl BthN QZUU @365 664% CHSCK CT CTl BW41 EH 34B% FHMPi @132 EHOM @158 FHOMI $131 GtTHAN GUN @225 GFRANl 3261 HAL? lNSl @152 @851 INSIZ INSll Blfll fiZfl“ @103 {N812 INSl3 INSl4 61W? 611% @111 @112 @117 INSlb lNSlé INSl7 stla glaw @121 ' INSl9 INS2 INSJ INS4 9;22 @wbz 9953 awba INSD INSb was; INS? Enos INSU INS? mwéa Ew62 @w77 IION @137_ JMPI L‘MHI LIMLO LUOP LUOPl LPI @155 M561 9136 0135 azzm @254 @656 am44 M562 @w71 M566 alm7 M5K7 9144 M15 mane @125 @945 M297 M269 PATCH HANUM @154 @133 3;28.52 1/11/¢8 SYmBOL TABLE @127 wa 9145 TYPAC TYPE ' 0914 RETURN sava sup THREE TO TUPl @149 wane @134 @126. 9327 @556 . woRK 9124 x1 @167 X2 x; xa XD E17” ’ 3x71 @172 @l73 3828.57 PAGE 12 1/11/68 SYMBOL TABLfi RETURN ALODP CT ewla 0937 0fl40 CT1 M15 wane- M269 @043 M561 INSI 0051 INSZ INSS INS4 ama1 0044 INSb 0052 0&56 @w54 @061 INSO INS? 8963 INSb M562 @m71 INS9 INSIB INSll INSIZ 962 @064 @w77 019% alwl @1w2 M563 @1m7 INSlS allw INSl4 INSlb lNSlb 111 112 0117 INSl7 a12w‘ @121 @122 @124 @125 0126 @127 INSIB INSIQ WORK M287 TU TUPl FHOM FHDMl FHMPl RANUM THRKE LIMLO LIMHI IION SAVt MSKI Twé ALR ATYP AIYPl AMSGl a13u $131 @132 @133 9134 @165 @135 @137 914$ 0144 @145 @146 X2 0147 @159 0151 @152 @153 0154 @167 917$ X6 @171 HALT JMPl PATCH X1 3326.59 ;/11/¢3 SYMBOL TABLE x4 @172 Xb @173 @289 BtGIN GUN @294 LUOP GtTRAN LUDPl @226 @225 @254 STRANl @261/ CHSUK @595 @527 TYPAC SUP LPl AMSGZ ER TYPL @346 @656 @575 946% @555 3:29,5 PAGh l4 M V ww y _.
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies