Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-15-D0DA-D
January 1970
12 pages
Original
0.3MB
view
download
Document:
JMP-Self Test
Order Number:
MAINDEC-15-D0DA-D
Revision:
Pages:
12
Original Filename:
http://bitsavers.org/pdf/dec/pdp15/diag/MAINDEC-15-D0DA-D_JMP-Self_Test_Jan70.pdf
OCR Text
1:J CP(/ IDENTIFICATION Product Code: MAINDEC-15 DODA-D (D) Product Name: JMP-Self Test Date: January 5, 1970 Maintainer: Diagnostic Group Author: E. Steinberger COPVRIGHT© 1970 DIGITAL EQUIPMENT CORPORATION 1. ABSTRACT JMP-Se If Test checks the PDP-15 to ensure that the JMP. instructi on can be executed properly. The computer is held in a JMP to the current location instruction for a definite time interval. If, during this interval, the JMP instruction fails, the error will be indicated to the operator. If the JMP instruction does not fai I, it is moved elsewhere and the check is repeated. All memory locations not occupied by the program are tested. 2. REQUIREMENTS Standard PDP-15 Computer The program uses a II of 4K memory for the program (A a:, a tf.!', t (,nea. The program occupies memory from location 07500 to 07751 (Hid teo. t', all memory locations below 07500. 2.3 Preliminary Programs Basic instruction tests 3. LOADING PROCEDURE 3. 1 Method a. Put HR I tape of program in reader (high speed if avai lable) b. Set ADDRESS SWITCHES to 07500; the BANK MODE switch on a 1. c. Depress and release KEY READ-IN 4. STARTING PROCEDURE 4.1 Control Switch Settings The following is a table of accumu lator sw itch settings and their action on the program: AC SWITCH SET AS Action 1 Halt on error. Don't halt on error. Don't print errors. . Print errors. Ring bell on error. Ring bell after N passes. Loop on current location. Don't loop on current location. Repeat whole test (a II locations). Don't repeat whole test. o o 1 o 1 2 o 1 3 o 1 4 o N is an arbitrary number (initially 400 ) which is controlled by the LAW-N instruction in location 07500 and may ~e changed at the operator1s discretion. 4.2 Starting Address The starting address of the program is 07500. 4.3 Program and/or Operator Action a. Set ADDRESS SWITCHES to 07500 b. Set ACCUMULATOR SWITCHES to desired positions (see section 4.1). Normal setting is 520000. c. Depress I/O RESET. d. Depress START. 5. OPERATING PROCEDURE 5.1 Operational Switch Settings (see section 4. 1) 5.2 Subroutine Abstracts (None) 5.3 Program and/or Operator Action To put the program in the SCOPE mode, the ACCUMULATOR SWITCH REGISTER should be set to 240000 (don't halt, don't print, bell after N passes, loop on current location). The length of time for the execution of a JMP. instruction is controlled by the Teletype. 2 6. ERRORS Unless AC switch 1 is a 1, all errors will be printed on the teleprinter. 6. 1 Error Halts and Description There is only one error halt in the program at location 07602. This error halt will occur if the JMP. instruction drops a bit and CAL's out. The computer will halt in location 07546 if the whole test is not repeated. 6.2 Error Recovery If AC switch 0 is a 1, the computer will halt on an error. To recover and repeat the failure, reset AC switches 0 to 3 as necessary (see section 4.1) and then depress CONTINUE. To test a particular location below 07500, store the address to be tested in location 07744 (POI NT). Restart the program at location 07505 (HERE1+ 1) with AC switch 3 a 1. 6.3 Error Typeout Example JMP . TEST JMP AT CAL FROM 001234 001230 The above typeout shows that the JMP . at location 1234 dropped bit 15 and CALed from location 1230. 7. RESTRICTIONS 7. 1 Starting Restrictions (None) 7.2 Operating Restrictions (None) 8. MISCELLANEOUS 8. 1 Execution Time Approximately 10 minutes to test from 0 to 07477 . 8 3 9. 10. PP.OGRAM DEscr~ IPTION a. The first function that is performed is that of initial ization. A register to count loops and a location to assure typeout of the error message header are initialized. b. Then a location in the program, which indicates where the present J MP • is to be, is set to zero. c. All of memory is then cleared, locations 1 and 21 are init'ialized and the JMP • instruction is formed and stored in the appropriate memory location. d. The teleprinter is then ordered to print to set its flag. The interrupt system is then turned on and control is transferred to the JMP . instruction. e. After the teleprinter flag is set, assum ing no error (see h.) control is returned to the program via the program interrupt facility. A check is made to see if the current JMP . should be repeated (sw itch 3). If so, then the program returns to c. except that memory is not cleared again. f. If the current JMP • is not repeated, a check is made about ringing the bell (switch 2) and then the number in the internal JMP • pointer is incremented and checked to see that it is not 1, 7, 21, or the first address in the program. If it is 1, 7, or 21, it is incremented again. The program then returns to c. g. After testing all memory locations, a check is made to see if the test should be repeated (switch 4). If so, the program returns to a. If not, the program ha Its. h. If an error occurs, it is expected that the computer will CAL. When this takes place, control is transferred to an error reporting routine which turns off the interrupt facil ity, rings the bell (if appropriate), prints the error (if appropriate), stops (if appropriate) and returns to e. LISTING 4 PAGE 1 JMP , TI TLE J~P I IJMP SELF T~_ S T I 07500 07'500 07501 07502 07503 777400 Ci147735 ?07734 047564 AEGI~ I 07504 0750'5 07506 07507 07510 07511 07512 07513 07514 07515 07516 07'517 07520 07521 07522 07523 07C:S24 07525 12175 2 6 1217527 07530 0753 1 0753? 07533 07534 07'535 12l753t07'537 07540 07541 Q'7542 07543 ~7544 V7'545 v' 7"14f ;~7S47 147744 107644 207744 ?477 3 6 067744 703302 700416 754000 700042 627744 750004 507741 740200 607506 750004 742010 740100 Hl7604 4477 44 207744 547737 AV17541 547740 607541 ')47746 A07541 ')47750 607':>43 A07505 447744 1':>07505 7 5(~004 t)07742 741200 74(/\04121 I-,fIl7500 HERE1 I RETURN . FLJLL ,lOC 7'500 LAW 17400 nAC COUNT LAC CON4 nAC CHAI\JGE ISET UP TO COUNT ILOOPS ISET CHANGE TO LAW MES S 1 nl M POINT jMS CLEAR lAC POINT XOR JMPCON [lAC* PrJINT CAF TLS+1I2J CLA!CLL I~ERO POINTER IClEAR MEMORY IGET lOCATION OF JUMP, IFORM JMP, INSTRUCTION ISTORE INSTRUCTION IN MEMORY ION JMP* POINT ITURN ON INTERRUPT IEXECUTE JMP LAS ANn MASK1 SlA j"'1P HERE1+2 ILOOP ON CURRENT LOCATION IYES ITHEN SET HTE TELEPRINTER flAG . LAS RTL SMA JMS BELL ISl POI.NT LAC POINT SA['l LOCi jMP ,+10 SACl LOc2 JMP , +6 SAO sE VEN jMP , +4 SAn UPLIM1 JMP ,+4 jMP ~EqE1+1 rS;Z POINT ji-1P I-lEPE1+1 LAS A :'Jr', V,ASK2 S\JA xx j"'lf.-' ~[(:IN .EJErT IRING BELL? IYES INO, INCREMENT POINT FOR NEXT LOCATION lIS IT 11 IYES lIS IT 21? IYES lIS IT 7? lyES lIS IT THE UPPER LIMIT? IYES INa IINCREMENT POI~T IGO RACK IREPEAT WHOLE TEST ISTOP IkFPrAT PAGE ? JMP IERROR RrP()RTI"JG i:H1UTINE I 075 5~' 07'551 07552 0,7'553 0755 4 0755'5 ~7556 07557 07560 07561 07562 07563 07564 07565 07566 07567 0757~ 07571 ~7572 07573 07574 07575 07576 Vl7577 07600 07601 0760? 07603 70~IiH~2 FRROR1 75''''004 74201il' 74"'100 607557 76°2 07 107614 750004 740010 741100 607600 107702 ?~n751 C?TL S;.IA J'1P , +:: LA~ IBELL ON ERROR? INO ?107 JMS TyoE LAS RAL SPA JMP HALT JMS CRLF I CHANGE 1217661 207733 ~47564 207744 107624 76ti1240 107614 7501001 34ti1020 107624 107702 750004 741100 740040 607516 ITURN OFF INTERRUPT lOF LAS I HALT LAC rr.r JMS TYPOUT LAC CO"J3 fJAC CHANGE LAC POINT JMS PRINT LAW 240 JMS TYPE CLA=C"1A TAD 20 JMS PRINT JMS CRLF LAS SPA XX Jt-1P RETURN ,-EJECT IPRINT ERRORS? INO ICR-LF ITYPE OUT HEADER ICHANGE INSTRUCTION lIN CHANGE IPRINT LOCATION OF JMP, 11 SPACE ILOCATION OF CAL IHALT ON ERROR? IYES ISEE ABOUT OTHER' STUFF P<'I.,.,- :3 J~P IUSEFUL SUQ'inUT I '·ES I 77f:jt. /vH"!iJ~0 RELL (~ ?76.:1~ 447735 I S;z Ci)llNT V; 7 6.~ t ~27604 07607 ?76tv' 0.7611 07612 07613 407500 ,747735 760207 107614 627604 dELL 'XCT REGIN nAC COUNT LAW 207 j"1S TyPE jMP* BELL 0761 4 07615 07616 07617 0~00V'l0 J"1~* I 0762~ 07621 07622 07623 TYPE V' AN[l RUQOUT Tsr JMP .-1 TLS TSF jMP .-1 jMP* TYPE 507745 700.401 607616 700406 70V'1401 A07621 f-27614 I 07624 0.7625 07626 07627 07630 07631 00P'000 047747 777772 (/147730 ?07747 07632 740010 742010 047747 07633 07634 07635 07636 07637 0764? 07641 0.7642 ?7f-4~ 74~010 5~7746 '247727 107614 707747 447730 A~P632 ~27624 PRINT ~ oAC TE~P LAw 17772 OAC CNTR LAC TE""P RAL RAL RTL DAC TEMP AND SEVEN XOR ASKII jMS TYPE LAC TE"1P IS!! CNTR jMP . -H~ jMP* PRINT .EJECT PAGE <1 J"'lP ISU8qOUTINF TO CLEAR MEMORY I e7644 70''},100 (il764'i 147743 167743 447743 ?07743 ':-4775121 7410121121 Mn646 ?07731 ?40001 ?07732 740021 627644 ~764f (1\7647 (11765 01 07A51 0,765? 07653 ~7654 0765'5 07656 07657 0766V1 CLEAR iI' n t~, PNTH n t hI * P\iTR lSi PNTR LAC DNTR SAri UPLI Ml SKP JMP r,U: AR+2 LAC CO"!l nAC 1 L Af": CON2 DAC 21 JMp .. CLEAR / 07661 07662 ~7663 07664 07665 f/J766f:l 07667 f/J7670 (1)7671 (1)7672 V17673 07674 07675 07676 07677 07700 07701 00000121 TYPOUT 1/1 nAC PNTR LAC .. P\JTR RAR RTR RTR RTR RTR JMS TYPE SAD RUROUT JMp .. TYPOUT LAC* Pt\JTR JMS TYPE SAO RUROUT JMP* TYPOUT ISr PNTR JMP TY DOUT+2 (~47743 727743 7401212121 74?~2121 74?1212121 742020 74212120 107614 ')47745 627661 227743 107614 547745 627661 447743 607663 / 07702 077~3 07704 0771215 0771216 V17707 V'I2I01Jf/JI2I 760215 107614 760212 107614 62 7 702 CRLF VI LAw 215 JMS TYPE LAW 212 JMS TYPE JMP* CRLF .EJEr,T PA"'5 JMP Vl7710 !-1?315 IERROR MESSAGE I MESSl 31?315 V'7711 ~2(11240 :)2(11240 0 77 1? ?56240 324305 32332 4 21'5212 31?315 320240 301324 ?4tft303 301314 24!i'l306 322317 31'5215 212377 ?5f'\240 324305 0771~ 0771 4 ~771'5 0.7716 07717 0772V1 07121 07722 07723 07724 07725 0.7726 ~23324 215212 311'315 320240 3~1324 240303 301314 240306 322317 31521'5 212377 I I ICONSTANTS ANO VARIA8LES / 07727 07731i1 17!7731 07732 07733 07734 07735 07736 "'7737 07740 07741 07742 00.0260 00001210 607516 607550 fi07570 207751 (' 0V1000 600000 0.00001 (1'00021 ASKII CNTR CON1 CON2 CON3 CON4 COUNT JMPCON LOCi LOC2 MA SK l MASK2 PNTR POINT RUBOUT 07744 0.40000 0.20000 Vl0V1000 00000.0 0.7745 ~0V1377 07746 VI 774 7. ~~ 0~ 0775v .'0.7500 TEMp UPLIMl 0.7751 \1'07710 III 0774~ 00 7 ~~0V1V100 :~ 0~ ~00 SEVE~ 260 0 JMP JMP JMP LAC RETURN ERROR1 CHANG[+4 rtf: VI JMP 1 21 400.00 20.00V'l 0 0 377 7 0. REGIN MESSl .ENO NO ERROR LINtS IJ,M IP,SP I. , SP IT,E IS'T ICR,LF IJ,M /P,SP IA,T ISP,C /A,L ISP,F IR,O IM,CR ILF,RO PAGE ASK I I g EGI r~ RELL CHANGE CL EAR. CLOF CL!'JN CLSF CNTR CON1 CON2 CON3 CON4 COUNT CRLF E"RRORl HALT HEREl JMPCON KR8 KSF LOCi LOC2 MASKl MASK2 MESS1 PCF PNTR POINT PRINT PSA PSB pSF RCF RETURN RR8 RSA RS8 RSF RUROUT SEVEI\J TCF TEMP TLS TSF TYPE TYPQUT UPLIMl lrl ,., JMP ~;77?7 /75'>'~ 07604 075f-4 ~7644 70V10~4 700044 70NHH 07730 07731 07732 07733 07734 07735 07702 07550 07600 07504 ~7736 700312 700301 07737 07740 07741 07742 07710 70~202 07743 07744 07624 700204 700244 700201 700102 07516 700112 700104 700144 7001,01 07745 07746 7VlV1402 ~7747 7V104C1l 6 7~W 4(;11 ~P614 ~"7 tl61 ~l77~t' ~~77;::;1 PA~7 QEGIN JMP 075v~ HE~El 075~4 QETUi·h ERROR1 CHANGE HALT 8ELL TYPE PRINT CLEAR TYPOUT r,RLF MESSl ASKII CNTR CON1 CON2 CON3 CON4 COUNT JMPCON LOC1 LOC2 MASKl MASK2 PNTR POINT RUROUT SEVEN TEMP UPLIMl 07516 07550 07564 07600 07604 07614 "l22 CLSF cLOF cLON R5F RCF RSA RR8 RS8 PSF pCF pSA PSH KSF ~7624 Vl7644 07661 077('02 07710 07727 07730 Vl7731 07732 07733 07734 07735 07736 07737 07740 07741 07742 07743 07744 07745 07746 07747 07750 07751 700001 700004 7~Vl044 700HH 7001e2 700104 700112 700144 700201 7002('12 7 k~ ~ 2~} 4 700?44 7 . .1 ~ 3 (~1 K f.(R 7~1031 ? TSF TeF TLS 7 0 r~ 4 ('! 7";> 4f' b lVW 4 \~1
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies