Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-08-D04
December 1968
18 pages
Original
0.6MB
view
download
Document:
maindec-08-d04a-d
Order Number:
MAINDEC-08-D04
Revision:
Pages:
18
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/maindec-08-d04/maindec-08-d04b-d.pdf
OCR Text
MAINDEC—OB-DO4B-D IDENTIFICATION Product Code: MAINDEC-O8-DO4B-D Product Name: Random JMP Test Date Created: March 25, 1968 Maintainer: Diagnostic Group MAINDEC-08-DO4B—D ABSTRACT This program tests the JMP instruction of the PDP-8 . Most of memory is used as a JUMP field with a random number generator selecting each JUMP FROM and JUMP TO location . REQUIREMENTS 2.1 Equipment PDP-8 equipped with Teletype 2.2 . Storage 0000, 0364. 2.3 The Binary: Loader must be stored in the last memory page. Preliminary Programs It is assumed that MAINDEC 08-D01(n), 08-D02(n),0 and 08-D03(n) have run successfully. LOADING PROCEDURE I 3.1 Method Use standard Binary Loader. STARTIN G PROCE DU RE 4.1 Control Switch Settings SRO. Halt on Error. SR2 Hold JUMP FROM addresses constant. (1) Select random JUMP FROM addresses. (0) SR3 _ - 4.2 Hold JUMP TO addresses constant. Starting Address 0200 Restart Address 021 4 (T) Select random JUMP TO addresses. (0) MAIN DEC-08—DO4B-D 4.3 goerator Action a. Set SR to 0200 and press LOAD ADDRESS. b. Set SR to desired mode . It a particular memory location is desired for either a ”constant FROM" or ”constant TO", this memory address is entered into one of the locations shown below: FROM 1 ADDRESS = 0116 FROM ADDRESS = 0115 TO ADDRESS = 0114 Always make (FROM l) NOTE: = (FROM) - l If SR2 or SR3 is set after the program has been started, the last address taken from the - random number generator is used repeatedly». c . 5. Press START . OPERATING PROCEDURE Same as section 4. 6. ERRORS 6.l Error Halts All unused memory locations are loaded with HLT orders. background HLTS, it is probable that the If the program executes one of these interrupt failed to occur following the JMP instruction. R K? 6.2 Error Printouts F wWww TO xxxx Z = YYY)’ (FROM) F wwww: wwww (TO) T xxxx; xxxx (LOC 0000) Z Example: = = = the address of the JMP instruction . the address that the JMP instruction is iumping to. yyyy: yyyy = the address stored in location 0000 during the interrupt. Note that yyyy should equal xxxx. the following is a typical error printout: F 4252 TO 7020 Z = 7000 Line l of the printout is a statement of the problem instruction is placed at location 4252. trying to jump to location 7020. . A JMP This JMP instruction is Line 2 of the printout indicates MAINDEC-OB—DO4B—D the error. The TO address (7020) was to have been stored in location 0000 but instead a 7000 was stored dropped 6 .3 . Thus bit 7 was . Error Recovery The program continues testing following an error printout. been gathered from the error printouts, loop. a When enough information has FROM and TO address is selected for use in the scope mode Enter the chosen addresses into proper locations (see section 4.3.b). SR2 and SR3 set. After restart the program at allowing it to run Restart the program with for a moment push STOP, enter (55l6) into location l, and location 0025 with SR2 and SR3 set. Location The scope mode loop is Coding 0000 000] JMP I FROM l A, ION xxxx JMP I TO xxxx ‘ 0116 FROM 1, A . When it is desired to discontinue the scope mode loop, of location l, and restart the program 7. restore the original contents (l l l4) . RESTRICTIONS (None) 8. MISCELLANEOUS 8.l Execution Time 7200 random tests/second 9. PROGRAM DESCRIPTION The JMP instruction is checked through the use of the interrupt function. generator selects a FROM and aTO address. JMP instruction at FROM. these two orders, an A random number An ION instruction is then placed at FROM -'l and the The JMP instruction jumps to the address specified by TO. interrupt occurs starting the program counter at location 1 . After executing A checking routine located here verifies that theoperation was successful before starting the next test. Random addresses are restricted as follows: 0400 and 7600 is filled with HLT instructions. in 2 group of 72,000 tests. case 0400 < random address < 7600. the interrupt fails. The area between A "04" is printed after each MAINDEC-OB-DO4B—D IRANDUM man; was? wmes mama anew TEST /SRW=HALT UN hHRDH FROM AUUHtSb T0 AUUthS “fl scuwu muoa ENStRI /qMP_1 fHOMl (551a) INTO xrox @ JMP 5mm; 1 2 @602 3 @wDS wem4 764m StA CLA mews wags wag? 5532 JMP 1113 ’3515 1113 Sblé TAD DCA 1 ALRMALT I FROM TAD HALT USA USA @ wfilw val: malz wags mega 2915 9916 @9l7 @623 3%63 7WUl 1136 1A0 CI 3l36 DEA CT 1136 TAD StA CLA 764% 9%22 0516 @923 @924 114% 3157 @927 9859 @331 76Q4 7%fi4 7996 7630 5055 LOOP; 9932 11:7 71w4 743m @636 3337 gfiflfl $941 3942 9943 @344 9945 0545 9947 @952 x129 3117 7199 1117 1x22 7630 5932 11;? 1121 762% 5W32 FOH GETRAN: a*1 I M17 0T1 CONSTANT LAS RAL RTL SiL JMP ISEgEQT @933 @834 @835 LOOP DOA ‘ICHKCK 9925 CT JHP JMP SUP TAD 5@25 5422 @626 FHUMl x TAD fing 1. JMp ISR2=UONSTANT /SR§=UONSTANT $900 PAGt; CLA LUDPI RANDOM FHUM TAD RANUM RAL StL ELL TAD THRLt RANUM DOA CLL TAD RANuM TAD LIMHI SiL CLA JMP GLTRAN TAD RANUM TAD LIHLO SNL CLA JMP GETRAN TAD RANUM ggfil 1117 3115. 0052 0953 @954 7949 CMA 1115 3116 TAD DCA DCA PROM FROM FROM; #HUM gov. 1 1/11/68 ICHECK @QDS 76W4 vfibb 7wwé 7M06 7039 51”? @557 @369 Wflbi LOOPII @964 wees @866 @357 ma’m 9271 wa72 9&73 0e74 6975 wa7¢ 1117 CONSTANT GTRANLQ 7194 743w 112m 3117 CLA T0 TAD RANUM RAL StL CLL TAD DOA THRLE CLL 763B 1117. TAD RANUM‘ TAD LIMHI StL JMP CLA GTRANl TAD TAD RANUM LleD SNL CLA JMP GTRANL 91mg 1117 @131 TAU DUA RANUM 3114 /PLACL @102 QIWE fllfld @195 1123 JPLP; TAD 1124 DCA TAD 3516 DOA IRAISE TSF 6&4; @197 6946 TLS @116 @111 6941 5110 TSF JMP IQO .‘1 IT 5516 7492 JMPl 1 FROM ITDN I FROMl FLAG $106 @112 @113 TU INSTRUGTIONS ' 3515 auuutss RANUM 1121 7620 5962 w977 ADURtSS JPLP RANDOM 71m@ 1117 1122 swaz TU LAS RTL RTL SiL JMP ISELEQT mace mass FOR 6829,2/ HALT; JMP HLT I FROM; /JUMP FAILLU PAGL 2 1/11/68 ICONSTANTS. M114 $115 @116 ”117 912% DQQZ @flflfl EQEE 2525 EQZS @121 74%0 9122 @123 329% 9124 @125 @126 @127 @159 W131 W152 @163 $134 @135 can; 326% %@87 5514 U900 mama QMWB @220 BQEE 7571 TU! FROM. @ Q 2925 THREE: kIMLDs LJMHIo JMPI; ITQN; TWbp MSK7, SAVh. 3 ~76MZ JMP ION 7 E 9 AfiRg WORK; M237; ER 3 ‘20] M561 @137 @149 BWBE 7761 6141 8142 »M143 @144 9145 @146 @215 /TTY MESSAGE 215 M351: name @147 uwwm 915% 9151 mama $156 @157 @160 @161 @162 Ble @166 @165 $166 @167 317$ @171 $172 @173 0174 @212 @212 name 924% wwww 0999 gnaw TO Q AMSGl: CT; CTl: M17; @152 I 200 $141 awwe @153 @154 @155» SUCH ~49” @156 name @249 @324 wzam gums ANU fl 9 ”17 IUH .212 /gF /LF 212 INSI; INSE. [N561 INS“; 3W6 lk 24% /SPAC£ @ /X Q /X 3 Q [X /X 24W 524 243 INSb; INpr INS7g {N38, AUURLSS VHUM ISPACE /T JMP lSPACE /X @ 3 T0 IX W . 8 /X /X /CR @215 9212 215 212 0677 $332 924% @275 @240 0%66 377 352 24E IHUUUUT It LOCATION ISPACE 2/5 242 I; flflflfi flflflfi 069% %2@7 PAGE 9 PHDMl: RANUM; VARIABRKSg 5:25.31 Inga INSIWaa INSllc INSlZo 9 E /LF /SPAC£ ~ IX /x Q /X Q 297 /X /STOPPER ZERO 6 1/11/05 929$ 577% BZfil 7341 $262 EQWS 3114 1113 3514 @2W4 M235 @2fl6 M2W7 ”21% @211 @232 @213 6214 W215 W216 $2;7 1114 7BW1 3114 1114 GUN! HAL TS THRUUbH JMP CIA DCA TAD DCA TAD PATCH th DUA 764% TAD TAD StA saws 4MP 1122 1367 3137 5136 5925 PAGt uzmw ISPREAU @203 $829.67 TAD I TU HALT I TU TU TU TU LLMHI CLA GUN M15 DEA CTl CT JMP LUOP DEA MLMURY /TAD LIMLU é 1111(55 6:29.4w /£RRDR 5225 1115 5221 5222 5223 4341 5146 1127 5224 ”126 5225 1125 5225 3147 1227 5215 1136 U126 1125 315% 1131 5251 5252 5253 ”254 3126 1215 1125 5256 @217 5245 3151 1114 4341 EH3 ROUTlNhS TAD JMS FROM DOA TAD INSl SAVh AND ‘MSK/ TAD wa DOA INSZ TAD SAVE*1 >AND TAD DCA TAD AND MSK/ TAD DOA TN6 INSQ TU sLO~ 3155 UCA TAD 5245 1127 5126 1125 5156 5245 5247 5255 1135 @126 1125 5251 3157 1131 5126 1125 3155 1551 5256 @257 4341 5265 317a 5251 @262 1127 INSJ SAVt*Z MSK/ 1M3 5241 5252 5253 0254 5255 TN6 TAD 5242 @243 @244 BLOC AND TAD DOA TAD 113‘s sAvt MSKY TW6 INSO SAVL*1 AND MSKY TAD TWb DOA TAB INS! sAvth MSK7 AND TAD DCA Twa INsu TAD w JMS DOA SLOU TAD SAVL MSKZ TN6 5126 AND 1125 INS9 927i @272 3172 1131 @126 @273 1l25 TAD 051 TAB AND TAD 001 TAB AND TAD @274 3173 051 [N512 5253 @254 @265 9266 5257 9275 3171 llifl 0126 1125 1N51w SAVhtl MSK7 TW6 INSll SAV£¢2 MSK7 TH6 PAGE D 1/11/08 PAGE 5529,40 lPRINT.£ RROR MESSAGL 0275 @276 '9277 @399 1533 6941 ~3.2 3306 53 1 72 1 1133 3133 1533 @397 1134 9319 $311 @312 764% 5277 76m4 .9333 @314 771a 7492 0315 same 9316 @317 @326 9321 11377WM1 3137 1137 B322 @323' @304 @3fl5 @324 0325 @326 @327 @336 0331. 0332 B333 9334 3335 AMSGl “DCA WORK TAD x NURK TLS TSP LP: 6045 $361 M: TAD 1135 3133 JMP 0‘1 CLA IAC TAD NURK DCA WORK TAD 1 WORK TAD MZD/ SiA OLA JMP LAS .SPA LP CLA /HALT HLT JMP 6 CTl 764% TAD IAC DCA TAD SiA 5925 JMP LOOP 1361 TAD DCA TAD 3133 1133 79W1 3333 SUP: L91: CT1. CT1 CLA AMSbZ wURK HURK IAC DGA TAD 1533 WORK_ I WORK TLS 6346 6E41 5333- ‘ TS? JMP I”1 TAD M264 1366 7646 52A 6336 5326 5923 JMP L91 JMP LOOP“? @341 fiDDfi~ 9342 3131 1131 7912 7019 3130 1139 9336 0337 $343 9344 9345 9346 9347 335% 7912 @351 7m1w .9352 3127 1127 7912 7919 @126 @3530354 @355: @356 SLDCl CLA a SAVL‘Z TAD SAVLtz DOA RTR RAR' DEA TAD RTR SAVhfil SAVE*1 RAR DOA TAD RTR RAR AND SAVK SAVE MSK7 0N ERROR 0 l/lL/ca aw357 Dis-be ¢1125 “5741 . TAD MP Tw° 1 SLQU 5:29.91 PAC: bwl 1/11/oa $362 @363 956; @215 @212 @366 @365 @263 @264 $566 W367 7514 @376 @361 646% @491 1cm 212 wa 204 xw 7763 340$ PATCH: XPAT CH 949$ qum XPATCH: DCA @ TAD DCA '1 1 [TAD X4 @4E4 game DCA 2 EQWS @496 @497 1214 $ww3 1215 3616 TAD DGA X6 TAD X USA 5616 JMP I 1 NO UQ .;5 anal ARE ANU It '264 1213 X1: 1114 7M41 103% 1121 X2: X5: ClA @296 Xfi: 1114 ? xgr 1212 E4l2 @413 @414 @415 @415 THERE 215: E4fi2 E493 @616 $411 QAGt AMSU2; M264, M15! swam 5329,52 /HE5TURE /ANAY 3 X9 X9 imam TAD LLMLD ZEQ X6. KRRQRS 14:7?“ )flfifi’wb‘k ITAU TO /TAU W flvlngé 1/11/68 SYMHOL TABLE AtR AHSG? CT 011 @132 @135 @661 @136 0137 EH $22” FROM @115 FHOMI GtTRAN @116 EB52 flaws fifléZ Amfibl GUN GTRANI HALF @113 stl @146 {53313: @171 INSll @172 @173 INSLZ INSZ @147 imfié @15m @151 INS4 1N8: INSb INS} ’3156 @157 INS9 glam 917% lTON JMPl JPLP LIMHI @124 @125 @162 0122 LIMLO gUOP hUOPl @121 9E25 @E55 @277 iwfifi LP L91 M561 MSKY MLS M17 HEB? M264 PATCH RANUM SAVE @326 @141 0126 @567 @149 $134 @366 @370 6117 SLOC @127 @341 SUP THREE TU TW6 WORK 312% 6114 6125 @133 XPATCH @499 X1 @412 @413 94;4 X2 X5 X4 @316 9415 5:29.92 1/11/oa .SYMBQL TABLE X? 0416 s;sm.m PAGL 9~ l/ll/OS SYMBOL TABLL LUOP @%E% GtTHAN i§£§ LUOP1 EB55 GTRANL JPLP @w62 fllflz HALT @116 @114 TU FH0M1 RANUM 0115 0116 @117 THRtE @12w FROM LIMLO LAMHI JMPl IION TH6 MSKI SAVL ALR NURK Haw? AMSbi CT 0T1 M17 M561 INS; INSZ INSS {~54 XNSb INS¢ INS? @121 @122 @125 @124 @125 @125 *8127 @132 @153 @134 “155 @136 @137 @146 9141 @146 gl47 @15@ @151 fl;55 @156 @157 lea @169 INSV INSlm 1N811 @17W @171 @172 INS;2 9173 EON EH LP SUP LPi SLOC AMSGZ M264 Mgfi PATQH XFflTEH x; X2 X3 xa 9263 922% @277 03169326 9341 6361‘ @355 agay 337% anew @612 @413 @414 ‘@415 3;¢w.w 1/11/05 SYMfiOL TABgt X9 @416 ézéwg/ PAGh ll
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies