Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-08-D04
December 1967
14 pages
Original
0.3MB
view
download
Document:
maindec-08-d04a-d
Order Number:
MAINDEC-08-D04
Revision:
Pages:
14
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/maindec-08-d04/maindec-08-d04a-d.pdf
OCR Text
MAINDEC-08-D04A-D IDENTIFICATION Product Code: MAINDEC-08-D04A-D Product Name: Random JMP Test Date Created: April Maintainer: Diagnostic Group Author: R. Green 1,1967 EE RE `,\ 1, MAINDEC-08-D04A-D I. ABSTRACT This program test.s the JMP instruction of the PDP-8 . Most of memory is used as a JUMP I field with a random number generator selecting each JUMP FROM and JUMP TO locbtion . 2. 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. Prel im inary Prc>grams It is assumed that MAINDEC 08-DOT(n), 08-D02(n), and 08-D03(n) have run successfully. 3. LOADING PROCEDURE 3.I Method Use st.andard Binary Loader. 4. STARTING PROCEDURE 4.1 Control Switch Settings 4.2 SR0 Halt on Error. SR2 Hold JUMP FROM addresses constant. (1) Select random JUMP FROM addresses. (0) SR3 Hold JUMP To addresses constant. (1) Select random JUMP TO addresses. (0) Starting Address 0200 Restart Address 0214 MAINDEC-08-D04A-D 4.3 Operator Action a. Set sR to 0201 and press LOAD ADDRESS. b. Set SR to desired mode. , If a particular memory location is desired for[ither a "constcint FROM" or "constant Toll, this memory ciddress is entered into ore of the locations shown below: FROMI ADDRESS = 0116 FROM ADDRESS = 0115 TO ADDRESS = 0114 NOTE: Always make (FROM 1 ) = (FROM) -1 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.1 Error Halts All unused memory locations are loaded with HLT orders. If the program executes one of these background HLTS, it is probable that the interrupt failed t.o occur following the JMP instruction . 6.2 Error printouts F wwww TO xxxx Z = yyyy (FROM) F wwww: wwww = the address of the JMP inst.ruction . (TO) T xxxx: xxxx = the address that the JMP instruction is iumping to . (LOC 0000) Z = yyyy: yyyy = the address stored in location 0000 during the in+:rrup+. No+e that yyyy should equal xxxx. I Example: the following is a typical error printout: I F 4252 TO 7020 z--7OrNf. Line I of the printout isa s[atementofthe problem. instruction is placed at location 4252. trying to iump to location 7020. AJMP This JMp instruction is Line 2 of the printout indicates , I -lJ MAINDEC-08-D04A-D the error. The TO address (7020) was to have been st.ored in location 0000 but instead a 7000 was stored . Thus bi+ 7 was dropped . 6.3 Error Recovery The program cont.inues testing following an error printout. When enough information has been gathered from the error printouts, a FROM and TO address is selected for use in the scope mode loop. Enter the chosen addresses into proper locations (see section 4.3.b). SR2 and SR3 set. Restart the program with After allowing it to run for a moment push STOP, ent.er (5516) into location i, and restart the program at location 0025 with SR2 and SR3 set. Location The scope mode loop is Coding 0000 0001 JMP I FROM 1 xxxx A, ION xxxx JMP I TO 0116 FROM1, A When it is desired to discont.inue the scope mode loop, restore the original cont.e ts (1114) of location 1, and restart the program . 7. RESTRICTIONS (None) 8. MISCELLANEOUS 8.I Execution Time 7200 random tests/second 9. PROGRAM DESCRIPTION The JMP inst.ruction is checked through the use of the interrupt function . generator selects a FROM and a TO address. JMP instruction ar FROM. A randpm number An ION inst.ruction is then placed at FROM -I and the The JMP instruction jumps to the address specified by TO. these two orders, an interrupt occurs starting the program counter at location 1. Aft executing A checkin rout.ine located here verifies that the operation was successful before starting the next test. Random addresses are restricted as follows: 0400 < random address < 7600. .0400 and 7600 is filled with HLT inst.ruct.ions in case the inferrupl fails. group of 72,000 tests. The area between A ''04" is printed after each I MA[NpaEgce'28-D°4A| `d@@@@@@@@@@@@@@@@@@@@@@@@@@@@6@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@©@@?a :@AEF{ r\MSGt ©132 ©[35 AMSG2 fl561 :T 0136 3T1 ©137 =B =ROM ©22© ©115 =F}OM1 ®116 3ETRAN ®©32 SON ©2®3 3TF}ANl fl®62 lALT ]Nsl [Nslfl B1`13 ffll46 ®171 lNSll INS1? ®172 fll73 INS2 INS3 lNS4 ®147 fll5© ©151 1NS5 ©155 INS6 fll56 INS7 ©157 lNS8 ®16© lNS9 ©178 ITON 8124 JMpl JPLP ffll23 ®1©2 .IMHT ®122 .IML0 .00P fll21 @825 _00P1 ®©55 .P %277 -Pl fl526 1SGl 8141 1SK7 ©126 115 ®367 117 ©14© 12©7 •1264 ©134 ®366 3ANUM ®117 )AVE jLOC SUP ®341 0316 rHREF B12% EE fll27 10 ©114 lw6 @125 WORK @133 J u MAINDEC-08-D04A-D Page 5 ?@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ /RANDOM JMP /SR©=HALT TEST 0N ERROR /SR2=CONSTANT F.RON /SF}3=CONSTANT T0 ADDRESS ADDRESS #0 4®©© 7'®ca® @ •,'®@1 1114 TAD .()082 7@41 CIA Ag@3 ]®®% '48©4 764® T0 TADq SZA CLA 4ZIB5 5532 JMP I /J©@6 Ills TAD HALT •4©87 •j©1© 35].5 1113 DCA I TAD HALT DCA I 4©1| 3516 r.J©12 3©g© 4@13 •4.)@14 7@%1 1136 Jl®15 fl©16 3136 1136 •,J©17 764© •']®2© 52125 'jo21 5422 £J2122 fl316 4@23 114© +J©24 3157 AER FB0M FROMI DCA„ IAC TAB CT DCA CT TAD CT SEA CLA JMP LOOP I-+1 /CHECK i'J©25 76fl4 {'©26 7©©4 RAL b©27 7ffl®6 F?TL £J83® 763© SZL 4®31 5©55 JMP FOR CC)NSTANT LOOP, /§ELEC F.F}OM LAS BANDOM TAD LL H F3 E I ANUM RANUM L I MH I CLA GETRAN RANUM LIML0 CLA GETRAN RANUM FROM FROM F' R 0 M 1 FB0M RANUM /FOP SCOPE /JMP I MODE: FROM1 INSERIT (5516) INTO LOG. 1 MA[NDEc.08_D04r-D Page 6 /CHEC;K FOF} .'®55 76@4 L00P1, I,)©56 7®fl6 RTL I)@57 7@fl6 ..1060 7650 SZL GLA I.196| 51©2 JMP JPLP CONSTANT T0 ADDRESS LAS RTL /SELECT .J062 ''®63 ]117 71P'4 GTRAN1, S£L RAL RANDOM TAD /'®64 743® 112© TAD THREE 4©66 3117 DCA RANUM •''@67 71@@ CLL •'®70 ]117 TAD .J@71 ]122 TAD i,:,©72 763@ SZL 4©73 5©62 JMP GTRANI J©74 ]117 TAD RANUM '1©75 1121 •,.J©76 762® 5©62 .1|00 `.jlg1 I 117 3114 LIMHI CLA LIML0 SNL CLA JMP CTRANI TAD F}ANUM DCA TO /PLACE INSTRUCTIONS •41ill2 ]123 •:'1fl3 3515 41@4 1124 TAB ITON +.J185 3516 DCA I •.J)1fl6 6©41 •...)1©7 6©46 JPLP. TAB I /PAISE •`,1.19 •A111 6041 511@ 'dll2 5516 •4113 74®2 FROM. FB0M1 .-1 lT JMP HALT, un JMPI FLAG TSF TLS TSF JMP /D0 RANUM RANUM TAB DCA ADDRESS CLL .,'©65 •..1©77 T0 I FROMI HLT /JUMP FAILED EE MAINDEC-08-D04A-D Page 7 /CONSTANTS, VAFilABLES. AND SUCH E © E 2525 3 -40© -76©® JMP I T0 ION 26© 7 H /TTY MESSAGE MSG1, 215 /CFi 212 212 /LF /LF 5@6 /F- 24@ /SPACE F.RON ADDRESS INS1, INS2, I NS5 , I NS4 , 24Gl 324 24@ INS5, I N'S 6 , INS7, INS8, 215 212 /LF /CR VJL65 V17>]7 7>J7 / FW a 0 u T ul64 ¢165 t4166 M332 fl24© ¢.275 332 24" 275 /Z '#167 P24@ 24@ yjl7© flflfl© INS9, ¢171 fl8®© INSIzl, ®i72 gr©@© INSll, idl75 7t©fl© INS12i idl74 fl2fl7 2©7 LOCATION /SPACE /= /SPACE /STOPPER ZERO MAINDEC-08Page 8 i} 2 % a /SPFiEAD ¢2fl© 1121 TAD 4291 7©41 CIA HALTS MEMORY LIML0 d2@2 3114 d2W5 1115 '42©4 5514 '42@5 ]114 id2@6 7@@1 IAC ¢2@7 3114 DCA T0 4210 1114 TAD T0 :4211 '4212 1122 764® TAD LIMHI SZA CLA d213 I+2®3 JMP CON L4214 1367 TAD M15 d215 ¢216 tJ217 3137 31`36 5$25 DCA CTI DCA CT JMP LOOP DCA THROUGH T0 GONi TAB HALT DCA TAD •u' MAINDEC-08-D0 A-D Page 9 ROUTINES TAD JMS ¢225 ®226 ]125 3147 SLOG CA INS1 TAD SAVE: AND MSK7 TAD TW6 DCA INS2 TAD SAVE+1 AND MSK7 TAD TW6 DCA INS5 TAD SAVE+2 AND MSK7 TAD TW6 DCA INS4 TAD T0 JMS SLOG DCA INS5 TAD SAVE AND MSK7 TAD TW6 DCA INS6 TAn SAVE+1 AND HSK7 TAr] Tw6 0CA INS7 TAD SAVE+2 AND MSK7 TAD TW6 DCA 18©9 4341 3178 .1127 fril26 ]125 3171 DCA INslg id265 113© TAD SAVE+1 TAD% JMS SLOG DCA INS9 TAD SAVE ANT) MSK7 TAD TW6 ANr] MSK7 TAP TW6 DCA INSll AD SAVE+2 ND MSK7 TAD TW6 DCA u INS8 4256 id257 ©26© ¢261 d262 W263 W264 INS12 FROM MAINDEC-0 -D04A-D Page 1 /PRINT E:BROR TAn AMSGi DCA WORK LP. MESSAGE TAD I WORK TLS TSF. JMP .-1 CLA IAC TAD WORK 0CA WORK TAD I TAD M2©7 WORK SEA CLA JMP LP LAS SPA CLA /HALT HLT 0N JMP6 W316 1.137 ¢317 vJ32® 7@ql 3137 t4321 ¢322 d323 1137 764© 5ra25 SUP, DCA CTI TAP CTI SEA CLA JMP LOOP TAT) AMSG2 DCA WORK LP1, IAC DCA TAD TLS TSF JMP TAB SEA JMP JMP j' 3 4 1 •.:' 3 4 2 4, 3 4 3 i.,) 3 4 4 '4 5 4 5 •,) 3 4 6 SAVE+1 v) 3 4 7 SAVE+1 I,I 3 5 a z' 3 5 1 wl 3 5 2 ¢353 I/) 3 5 4 v) 3 5 5 v) 3 5 6 i() 3 5 7 436@ TAB CTI TAD W0BK IAC u MAINDEC-08-D04APage 11 '4361 ¢`361 AMSC2, 0!362 A363 fl215 @212 215 212 4364 GTi26@ 26q vi365 fi264 264 •4366 7514 M264i id367 7763 M15i to @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ a @ @ @ @ @ @ @ @ @ @ @ @ @ a @ @ @ @ @ @ @ a @ {@AEF} AMSG1 fll52 ©135 AMSG? 9361 CT ®136 C;T1 @137 ER fl22© F.ROM 'FROM1 %115 ®116 !GETRAN @832 •GON ®203 :,:I:i N1 ®®62 INS1 ®113 0146 INSIOJ ®171 INSll ffll72 INS1? ®173 INS2 $147 lNS3 INS4 {NS5 INS6 INS7 fll5© ®151 ¢155 ®156 ®157 INS8 ©16© INS9 ©17© ITON JMP1 ®124 @123 JPLP @1©2 LIMHI @122 L|MLO ©121 LOOP ffl2)25 L00P1 ®@55 LP @277 LP1 ilsG1 ®326 0)141 lvlsK7 @126 M15 ©367 M17 ©14@ M2@7 ©134 M264 0366 RANUM ¢117 SAVE: ®127 SLOG g341 SUP @316 THREF ©12@ TO ®114 rw6 gi25 WOBK ©135 0 @@@@@@ RE
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies