Google
 

Trailing-Edge - PDP-10 Archives - klad_sources - klad.sources/dbkdb.txt
There are no other files named dbkdb.txt in the archive.
MAINDEC-10-DBKDB 








			IDENTIFICATION
			--------------


	PRODUCT CODE:	MAINDEC - 10 - DBKDB - C - D

	PRODUCT NAME:	DECSYSTEM10 KI10 RANDOM NUMBER INSTRUCTION TEST

	VERSION:	0.3

	DATE RELEASED:	JUNE 9,1976

	AUTHOR:		JOHN R. KIRCHOFF

	MAINTAINED BY:	DIAGNOSTIC ENGINEERING GROUP


	COPYRIGHT(C) 1972,1973,1974,1976
	DIGITAL EQUIPMENT CORP.
	MARLBORO, MASS. 01752

THIS SOFTWARE IS FURNISHED TO PURCHASER UNDER A LICENSE FOR USE
ON A SINGLE COMPUTER SYSTEM AND CAN BE COPIED (WITH INCLUSION OF
DEC'S COPYRIGHT NOTICE) ONLY FOR USE IN SUCH SYSTEM, EXCEPT AS
MAY OTHERWISE BE PROVIDED IN WRITING BY DEC.

THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT
NOTICE AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL
EQUIPMENT CORPORATION.

DEC ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DEC.
						MAINDEC-10-DBKDB.TXT
							PAGE 2


			TABLE OF CONTENTS
			-----------------

1.0	ABSTRACT

2.0	REQUIREMENTS

2.1	EQUIPMENT

2.2	STORAGE

2.3	PRELIMINARY PROGRAMS

3.0	PROGRAM PROCEDURES

3.1	LOADING PROCEDURE

3.2	STARTING PROCEDURE

3.3	OPERATING PROCEDURE

4.0	DATA SWITCH FUNCTIONS

5.0	ERRORS

6.0	ITERATION COUNTER

7.0	CYCLE TIME

8.0	OPERATIONAL VARIATIONS

9.0	DDT COMMANDS

10.0	MISCELLANEOUS

11.0	SIMULATOR

12.0	LISTING
						MAINDEC-10-DBKDB.TXT
							PAGE 3

1.0	ABSTRACT

	THE RANDOM NUMBER INSTRUCTION TEST IS DESIGNED TO EXPOSE PRO-
	CESSOR MALFUNCTIONS BY GENERATING AND EXECUTING RANDOM (NON
	PC-CHANGE) INSTRUCTIONS IN THE FAST ACCUMULATORS 11-16.  THE
	OPERANDS OF THESE INSTRUCTIONS REFERENCE ACCUMULATORS 0-7.  THE
	AC INSTRUCTION LOOP IS DUPLICATED IN NORMAL CORE MEMORY AND THE
	RESULTS COMPARED WITH THE FAST AC RESULTS IN AC 0-7.
	THE FAST AC LOOP IS ALSO SIMULATED AND THE SIMULATED RESULTS
	COMPARED WITH THE FAST AC RESULTS AND THE CORE MEMORY RESULTS.

	THE PROGRAM INCORPORATES DDT TO FACILITATE ERROR ISOLATION AND
	REPAIR.  CONTROL MAY BE TRANSFERED TO DDT AT ANY TIME BY TYPING
	AN ALT-MODE ($) ON THE TTY.

2.0	REQUIREMENTS

2.1	EQUIPMENT

	A PDP-10 KI10 EQUIPPED WITH A MINIMUM OF 32K OF MEMORY.
	CONSOLE TELETYPE
	LINE PRINTER (OPTIONAL)

2.2	STORAGE

	PROGRAM BEGINS AT 30000(8) AND USES THE REST OF 32K.

2.3	PRELIMINARY PROGRAMS

	PROCESSOR DIAGNOSTICS
	MEMORY DIAGNOSTICS
						MAINDEC-10-DBKDB.TXT
							PAGE 4

3.0	PROGRAM PROCEDURES

3.1	LOADING PROCEDURE

	RUN WITH "DIAMON".

3.2	STARTING PROCEDURE

	A.  SELECT OPERATIONAL CONSOLE DATA SWITCH SETTINGS (REFER TO
	    4.0 DATA SWITCH FUNCTIONS).

	B.  EXEC MODE
	    STAND ALONE STARTING ADDRESS IS 30000.
	    SPECIAL FEATURE START (CLEAR OPERATING TOTALS) IS 30004.

	C.  USER MODE

	    WHEN LOADED AND RUN WITH "DIAMON" WILL RUN 2 PASSES.
	    TO THEN RUN FOREVER, TYPE "STD" TO "DIAMON".

	    IN USER MODE THE FOLLOWING QUESTIONS WILL BE ASKED TO
	    SELECT THE OPERATIONAL SWITCHES:

		TELETYPE SWITCH CONTROL ? 0,S,Y OR N (CR) -

		IF THE OPERATOR TYPES "N", THE ACTUAL CONSOLE SWITCHES
		ARE USED.

		IF THE OPERATOR TYPES "Y", THE FOLLOWING:

		SPECIFY LH SWITCHES IN OCTAL -

		SPECIFY RH SWITCHES IN OCTAL -

		IF THE OPERATOR TYPES "0", ZERO'S ARE USED FOR THE 
		SWITCH SETTINGS.

		IF THE OPERATOR TYPES "S", PREVIOUSLY SET SWITCHES
		ARE USED.  THIS IS ONLY VALID UPON RESTARTING OF AN
		INTERRUPTED PROGRAM.

	D.  IF IT IS DESIRED TO SPECIFY THE INITIAL BASE RANDOM NUMBER
	    SET SWITCH 'RANBAS' (BEFORE STARTING) AND RESPOND TO THE
	    FOLLOWING TYPE-OUT ACCORDINGLY.

			SPECIFY RANDOM NUMBER BASE -
						MAINDEC-10-DBKDB.TXT
							PAGE 5

3.3	OPERATING PROCEDURE

	A.  TO THROUGHLY TEST ALL HARDWARE, ALL TEST CONTROL DATA SWITCHES
	    SHOULD BE SET TO 0.

	B.  WHEN DEBUGGING HARDWARE, SET SWITCHES TO 0.  ALLOW THE
	    TELETYPE TO PRINT THE ERROR MESSAGES.  THIS ALLOWS THE PRO-
	    GRAM TO RUN A COMPLETE PASS AND THEN THE ERROR MESSAGES
	    MAY BE CORRELATED TO QUICKLY DIAGNOSE THE FAILURE.  IF IT
	    IS DESIRED TO LOOP ON A FAILURE SET THE LOOP ON ERROR SWITCH.
	    THE FIRST FAILURE WILL THEN CAUSE THE PROGRAM TO ENTER A
	    LOOP SUITABLE FOR DEBUGGING.  TO PRINT ALL ERRORS, EVEN IN
	    A DEBUGGING LOOP, SET THE PRINT ALL ERRORS SWITCH.

	    THE ERROR MESSAGES USED IN CONJUNCTION WITH THE LISTING, DDT,
	    AND SCOPING IF NECESSARY SHOULD ALLOW THE FAILING COMPONENT
	    TO BE ISOLATED AND REPLACED AND/OR REPAIRED.

	C.  ERROR INFORMATION MAY BE OBTAINED QUICKLY BY PRINTING ERRORS
	    ON THE LINE PRINTER.

	D.  PFSTRT - 30005  ; TO RESTART PROGRAM AFTER POWER FAILURE.

	E.  START1 - 30013  ; TO CONTINUE PROGRAM WITHOUT INITIALIZING
	    RANDOM NUMBER GENERATOR.

	F.  START2 - 30014  ; TO CONTINUE EXECUTION OF A FAILING INSTRUCTION
	    LOOP.

	G.  DDT - DDT MAY BE ENTERED DIRECTLY UPON STARTING THE PROGRAM
	    BY SETTING SWITCH 18.  DDT MAY ALSO BE ENTERED DURING RUNNING
	    OF THE PROGRAM BY TYPING AN ALT-MODE ($) ON THE TTY.

	    STARTING ADDRESS OF DDT IS 30007(8).
						MAINDEC-10-DBKDB.TXT
							PAGE 6

4.0	DATA SWITCH FUNCTIONS
	---------------------

	LEFT HALF SWITCHES
	------------------
	SWITCH			STATE	FUNCTION
	------			-----	--------

	0 (400000)   ABORT	0	NORMAL
				1	ABORT PROGRAM ON PASS COMPLETION

	1 (200000)   RSTART	0	CONTINUE OPERATION
				1	PRINT TOTALS, RESTART PROGRAM

	2 (100000)   TOTALS	0	NO FUNCTION
				1	PRINT TOTALS, CONTINUE PROGRAM

	3 (040000)   NOPNT	0	NORMAL TYPEOUT
				1	INHIBIT ALL PRINT/TYPEOUT
					(EXCEPT FORCED)

	4 (020000)   PNTLPT	0	NORMAL OUTPUT TO TTY
				1	PRINT ALL DATA ON LPT
					(LOGICAL DEVICE, USER MODE)

	5 (010000)   DING	0	NO FUNCTION
				1	RING BELL ON ERROR

	6 (004000)   LOOPER	0	PROCEED TO NEXT TEST
				1	ENTER LOOP ON TEST ERROR

	7 (002000)   ERSTOP	0	PROGRAM CONTINUES FROM ERROR
				1	HALT ON TEST ERROR

	8 (001000)   PALERS	0	PRINT ONLY FIRST ERROR WHEN LOOPING
				1	PRINT ALL ERRORS

	9 (000400)   RELIAB	0	QUICK VERIFY MODE
				1	RELIABILITY MODE
						MAINDEC-10-DBKDB.TXT
							PAGE 7

4.0	DATA SWITCH FUNCTIONS (CON'T)
	-----------------------------

	RIGHT HALF SWITCHES
	-------------------
	SWITCH			STATE	FUNCTION
	------			-----	--------

	18 (400000)  ENTDDT	0	NO FUNCTION
				1	ENTER DDT UPON STARTING THE
					PROGRAM.

	19 (200000)  RANBAS	0	USE PROGRAM INITIAL RANDOM BASE.
				1	SPECIFY RANDOM NUMBER BASE BY OPERATOR
					RESPONSE TO PROGRAM REQUEST.

	20 (100000)  MGNTST	0	MARGIN ENTIRE PROGRAM
				1	MARGIN FAST & SLOW LOOP ONLY

	25 (002000)  SEQPNT	0	NO FUNCTION
				1	PRINT SIMULATION SEQUENCE NUMBERS.

	27 (000400)  INHSCT	0	NORMAL SIMULATION PRINTOUT.
				1	INHIBIT SIMULATION SCT2 PRINTOUT.

	28 (000200)  INHCLK	0	PROCESS CLOCK INTERRUPTS
				1	INHIBIT CLOCK INTERRUPTS

	29 (000100)  INHMS	0	PRINT INSTRUCTION MACHINE STATES
				1	PRINT INSTRUCTION INITIAL/FINAL

	33 (000004)  SNGFL	0	REPEAT FAST LOOP (10 TIMES)
				1	SINGLE FAST LOOP

	34 (000002)  INHSIM	0	NORMAL COMPARISIONS (FAST AC, CORE, SIM).
				1	INHIBIT SIMULATION COMPARISIONS.

	35 (000001)  INHNEW	0	RUN ALL INSTRUCTIONS.
				1	INHIBIT NEW KI10 INSTRUCTIONS.
						MAINDEC-10-DBKDB.TXT
							PAGE 8

5.0	ERRORS

	ERROR MESSAGES ARE PRINTED ON THE TTY OR LINE PRINTER.  THE
	ERROR MESSAGE CONTAINS THE FAILING INSTRUCTION GROUP, THE 
	ORIGINAL OPERANDS, THE FAST AC RESULT, THE CORE MEMORY
	RESULTS, THE INSTRUCTION SIMULATION, AND THE SIMULATED ANSWERS.

	IF THE LOOP ON ERROR SWITCH IS SET THE PROGRAM WILL CYCLE ON THE
	FAILING INSTRUCTION SEQUENCE IN AC'S 11 THRU 17.  FAILURE ANALYSIS
	MAY BE PERFORMED BY EXAMINING THE INSTRUCTIONS WITH DDT (ENTERED
	BY TYPING AN ALT-MODE ($) ON THE TTY) AND BY RESTARTING THE
	LOOP AT AN APPROPRIATE RESTART ADDRESS.

	NOTE:  IT IS POSSIBLE THAT ANY ONE OF THE INSTRUCTION SEQUENCES
	       MAY HAVE FAILED.  ANALYSIS OF THE ERROR MESSAGE
	       PRINTOUT IS REQUIRED TO DETERMINE THE ACTUAL CAUSE OF 
	       THE FAILURE.

	THE FOLLOWING EXAMPLE ERROR MESSAGE INDICATES AN INCORRECT
	RESULT IN FAST AC 2.

	----------
	RANDOM INSTRUCTION FAILURE	[SLOW ANS]	[SIM ANS]
	INST GROUP	 OPERANDS	 FAST ANS	 SLOW ANS
	11/546040000007  0/536461414037  0/536461414037  0/536461414037
	12/475300000006  1/475306407246  1/000000407246  1/000000407246
	13/553340000001  2/553756641571  2/00000000000   2/526272250404
	14/526240000004  3/526272250404  3/526272250404  3/526272250404
	15/154340000002  4/376775671572  4/204632777777  4/204632777777
	16/523100000002  5/523126204632  5/523126204632  5/523126204632
	17/   EXIT	 6/036370236031  6/777777777777  6/777777777777
		         7/116747224357  7/220422744160  7/220422744160

	RANDOM NUMBER BASE = 536461414037

	INSTRUCTION SIMULATION
	----------

		(INSTRUCTION SIMULATION OUTPUT, AS APPROPRIATE)
						MAINDEC-10-DBKDB.TXT
							PAGE 9

6.0	ITERATION COUNT

	THE ITERATION COUNT OF THE PROGRAM IS DISPLAYED IN THE MEMORY
	INDICATORS (MI).  THIS COUNT IS A DECREMENTING COUNT AND INITIALLY
	STARTS AT -1 IN STAND-ALONE OPERATION.

7.0	CYCLE TIME

	THIS PROGRAM IS A RELIABILITY TEST USING RANDOM NUMBERS AND 
	AS SUCH SHOULD BE RUN LONG ENOUGH TO INSURE THAT ENOUGH
	NUMBERS ARE PROCESSED TO VERIFY SYSTEM RELIABILITY.

8.0	OPERATIONAL VARIATIONS

	A.  DIAGNOSTIC MONITOR

	    THIS PROGRAM IS USABLE WITH THE DIAGNOTIC MONITOR TO
	    PROVIDE RELIABILITY TESTS, ACCEPTANCE TESTS, AND/OR TO
	    PROVIDE A QUICK METHOD OF ISOLATION OF A FAULT TO A
	    PARTICULAR AREA OF THE PROCESSOR.  CERTAIN PROCEDURES
	    ARE USED WHEN THE PROGRAM IS USED IN THIS MANNER.
	    THEY ARE:

	    1.  THE DIAGNOSTIC MONITOR TRANSFERS CONTROL TO THE 
		PROGRAM AND STARTS IT AT LOCATION 30002.

	    2.  MONFLG - LOCATION 30042 IS USED AS THE DIAGNOSTIC
		MONITOR SPECIAL USER MODE FLAG.

		-1  ,	NORMAL USER MODE OPERATION
		 0  ,	SPECIAL USER MODE OPERATION, I/O TREATED AS 
			EXEC AND PROCESSED BY THE DIAGNOSTIC MONITOR.

	    3.  MONCTL - LOCATION 30043 IS USED AS THE DIAGNOSTIC
	    	MONITOR CONTROL WORD.

			LH = 0, STAND ALONE OPERATION
			    -PASS COUNT, RUNNING UNDER DIAGNOSTIC MONITOR

			RH = RIGHT HALF OF CONSOLE SWITCHES IF UNDER
			     DIAGNOSTIC MONITOR CONTROL.
						MAINDEC-10-DBKDB.TXT
							PAGE 10

8.0	OPERATIONAL VARIATIONS (CON'T)

	B.  USER MODE

	    TO OUTPUT THE PRINTED ERROR MESSAGES TO A USER SPECIFIED
	    DEVICE IN USER MODE, ASSIGN THE DESIRED OUTPUT DEVICE
	    TO DEVICE NAME 'DEV' AND SET SWITCH 'PNTLPT'.  THE
	    PHYSICAL DEVICE USED CAN BE ANY DEVICE THAT CAN ACCEPT
	    ASCII OUTPUT FORMAT SUCH AS LPT, DSK, DTA, ETC.  THE
	    CORRESPONDING OUTPUT FILE IS 'DBKDB.TMP'.

	    EXAMPLE DEVICE ASSIGNMENT:

	    .ASSIGN DSK DEV

	    IN USER MODE THE PROGRAM WILL MAKE TWO PASSES AND THEN 
	    RETURN TO MONITOR MODE.

	    THE OUTPUT FILE (IF USED) MAY THEN BE LISTED BY USING THE
	    NORMAL MONITOR COMMANDS (R PRINT, LIST, TYPE, PIP, ETC.).

	    IF THE PROGRAM IS ABORTED BEFORE COMPLETION (BY ^C, ETC.)
	    THE OUTPUT FILE MAY BE CLOSED BY USING THE MONITOR 'REENTER'
	    COMMAND.
						MAINDEC-10-DBKDB.TXT
							PAGE 11

9.0	DDT COMMANDS

	A.  TO SET A BREAKPOINT

	    UP TO 8 BREAKPOINTS MAY BE SET AT ANY ONE TIME.

	    ADR$B  ;SET A BREAKPOINT AT ADR. WHEN THE BREAKPOINT IS
	    REACHED, THE PROGRAM HALTS AND TYPES OUT $NB>>ADR

	B.  TO PROCEED FROM A BREAKPOINT HALT

	    $P  ;RESUME PROGRAM EXECUTION.
	    HALT AGAIN NEXT TIME THE BREAKPOINT IS ENCOUNTERED.
	    N$P  ;RESUME PROGRAM EXECUTION.
	    DO NOT HALT UNTIL THE NTH TIME BREAKPOINT IS ENCOUNTERED.

	C.  TO REMOVE A BREAKPOINT

	    $B  ;REMOVE ALL BREAKPOINTS

	D.  TO EXAMINE A LOCATION OR TO INSERT NEW DATA

	    ADR/ ;EXAMINE LOACATION SPECIFIED BY ADR.
	         CR CLOSES EXAMINED REGISTER
	         LF CLOSES AND EXAMINES ADR+1

	    ADR/ YYYY XXXX CR  ;EXAMINES ADR AND PLACES XXXX IN
	    LOCATION ADR AND CLOSES THE EXAMINED WORD.

	E.  TO START PROGRAM EXECUTION

	    ADR$G  ;START THE PROGRAM EXECUTION AT ADR.

	NOTE:  $ = ALT-MODE

10.0	MISCELLANEOUS

	THE NON-EX-MEMORY AND PARITY STOP SWITCHES SHOULD BE RESET
	(0).  THESE ERRORS, ILLEGAL UUO'S AND OTHER ERRORS OF THIS TYPE
	ARE HANDLED BY PRINTOUT ON THE TELETYPE.

	MARGINS - THE RANDOM NUMBER INSTRUCTION TEST SHOULD BE RUN WITH
	APPROPRIATE VOLTAGE MARGINS TO HELP INSURE PROCESSOR RELIABILITY.
						MAINDEC-10-DBKDB.TXT
						PAGE 12

12.0	SIMULATOR
	---------

	THE PDP-10 KI10 SIMULATOR IS USED TO SIMULATE THE ACTUAL 
	HARDWARE OPERATION OF THE PDP-10 KI10 CENTRAL PROCESSOR. THE
	PURPOSE OF THIS SIMULATION PROGRAM IS TO PROVIDE A
	MEANS OF HARDWARE DEVELOPMENT AND MACHINE CHECKOUT. THE
	SIMULATION PROGRAM MAY ALSO BE USED FOR DIAGNOSTIC PROGRAM
	DEVELOPMENT AND AS A PROGRAM OPERATION TRACE DEBUG SYSTEM. 
	THE SIMULATION IS ACCOMPLISHED THROUGH SOFTWARE BY USING PROGRAM
	ROUTINES TO FOLLOW THE HARDWARE OPERATION FLOW AND CORE MEMORY
	LOCATIONS AS PSEUDO HARDWARE REGISTERS.

	A. DDT PROGRAM TYPE-IN SIMULATION
	   ------------------------------

	TO USE THE SIMULATOR TO SIMULATE A SMALL PROGRAM TYPED-IN
	WITH DDT THE FOLLOWING PROCEDURE (EXAMPLE) IS USED.

	START PROGRAM WITH SWITCH 'ENTDDT' SET SO THAT CONTROL TRANSFERS
	TO DDT.

	*DDT*

	PATCH!		DMOVE 0,PATCH+10 ;SAMPLE PROGRAM (DDT TYPIN)
	PATCH+1!	DFAD  0,PATCH+12
	PATCH+2!	HALT
	PATCH+10!	1.0
	PATCH+11!	0
	PATCH+12!	3.0
	PATCH+13!	0

	INPC!	PATCH		;STARTING ADDRESS
	MASK!	0		;ALLOW ALL INST TO PRINT
	INSTR!	0		;ALLOW ALL INST TO PRINT
	CNPLPC!	0		;ALLOW SIMULATION TO START AT 0
	UPRPC!	777777		;CONTINUE TO 77777.

	SIMDDT$G		;TRANSFER TO SIMULATOR

	INPC =   RIGHT HALF IS OBJECT PROGRAM STARTING ADDRESS
		 LEFT HALF = 0 = EXEC MODE OBJECT PROGRAM
			   =10000 = USER MODE OBJECT PROGRAM

	MASK =   WORD TO ALLOW CHECKING OF ONLY DESIRED INSTRUCTION CODE
		 BITS TO DETERMINE INSTRUCTION SIMULATION PRINTOUT.

	INSTR = WORD TO FURTHER SELECT INSTRUCTIONS TO BE PRINTED.
	CNTLPC = WORD USED TO PREVENT SIMULATION PRINTOUT UNTIL THE
		 OBJECT PROGRAM PC IS EQUAL OR GREATER.

	UPRPC = WORD USED TO PREVENT SIMULATION PRINTOUT WHEN THE
		OBJECT PROGRAM PC IS GREATER THAN.
						MAINDEC-10-DBKDB.TXT
						PAGE 13

	B.  SIMULATOR PRINT PROGRAM
	    -----------------------

	THE SIMULATOR PRINT PROGRAM PROVIDES A BREAK POINT IN THE 
	MAIN SIMULATOR MASTER CLOCK CYCLE AT WHICH TIME TRANSFER IS MADE 
	TO  THE SIMULATOR PRINT PROGRAM.  THE PRINT PROGRAM THEN DETER-
	MINES IF THE MASTER CLOCK IS AT THE FIRST INSTRUCTION TIME OF 
	THE INSTRUCTION. IF IT IS A CHECK IS MADE TO DETERMINE IF THIS
	INSTRUCTION IS TO BE PRINTED. DONE BY MASKING THE INSTRUCTION
	CODE BITS WITH THE WORD 'MASK' AND THEN FURTHER DELIMITING THE
	INSTRUCTION BY A 'CAME' INSTRUCTION WITH THE WORD 'INSTR'. 
	THE PC OF THE INSTRUCTION IS ALSO CHECKED AGAINST 'CNTLPC' AND
	'UPRPC' AND MUST BE BETWEEN THIS RANGE TO BE PRINTED.

	AN EXAMPLE TO PRINT SIMULATION OF THE INSTRUCTIONS IN THE RANGE
	100 TO 177 WOULD BE:

		MASK=700000,,0
		INSTR=100000,,0
		CNTLPC=0,,0
		UPRPC=0,,-1

	IF THE INSTRUCTION PASSES THESE TESTS THE PRINT CONTROL IS SET
	ACCORDINGLY. THEN THE PC, AND INSTRUCTION ARE PRINTED. THEN
	THE MACHINE STATES ARE PRINTED (IF CALLED FOR BY SW29, PNTMS)
	UNTIL THE START OF THE NEXT INSTRUCTION.  AT THIS TIME THE
	INITIAL AND FINAL FLAG AND REGISTER RESULTS ARE PRINTED.
	AT THE COMPLETION OF EACH MACHINE STATE PRINTOUT A TRANSFER
	IS MADE BACK TO THE MAIN SIMULATOR TO CONTINUE SIMULATION. 
	TRANSFER FROM AND TO THE MAIN SIMULATOR IS DONE ON EACH
	MASTER CLOCK CYCLE WITH THE INSTRUCTION AND/OR MACHINE PSEUDO
	REGISTER CONTENTS PRINTED IF CALLED FOR.
						MAINDEC-10-DBKDB.TXT
						PAGE 14

	C.  MAIN SIMULATOR
	    --------------

	THIS SECTION PERFORMS THROUGH SOFTWARE ROUTINES AND PSEUDO
	HARDWARE REGISTERS THE ACTUAL HARDWARE OPERATION OF THE KI10
	CENTRAL PROCESSOR. THE ACTUAL OPERATION OF THIS SECTION IS
	DESCRIBED IN THE KI10 HARDWARE FLOW CHARTS AND SYMBOLIC TAGS,
	REGISTERS, FLAGS, ETC. ARE ALL AS LISTED ON THE FLOW CHARTS.
	THIS SECTION OF THE PROGRAM WAS INITIALLY WRITTEN BY PDP-10 ENGINEERING.
	ENGINNERING DESIGN UPDATES AND DEVELOPMENT BY PDP-10 DIAGNOSTICS.

	D.  ACCUMULATORS
	    ------------

	0-	F	-MISC LOGIC FLIP-FLOPS
	1-	T	-TEMPORARY REGISTER
	2-	T1	-TEMPORARY REGISTER 1
	3-	T2	-TEMPORARY REGISTER 2
	4-	T3	-TEMPORARY REGISTER 3
	5-	S	-18 BIT PSEUDO STATE REGISTER
	6-	AR	-36 BIT ARITHMETIC PSEUDO REGISTER
	7-	MQ	-36 BIT MULT/QUOTIENT PSEUDO REGISTER
	10-	BR	-36 BIT BUFFER PSEUDO REGISTER
	11-	AD	-36 BIT ADDER PSEUDO REGISTER
	12-	MB	-36 BIT MEMORY BUS PSEUDO REGISTER
	13-	PC	-18 BIT PROGRAM COUNTER PSEUDO REGISTER
	14-	MA	-18 BIT MEMORY ADDRESS PSEUDO REGISTER
	15-	SC	-9 BIT SHIFT COUNTER PSEUDO REGISTER
	16-	IR	-13 BIT INSTRUCTION PSEUDO REGISTER
	17-	P	-PUSH DOWN POINTER AC

	E.  CORE MEMORY
	    -----------

	AB	-18 BIT ADDRESS BUS PSEUDO REGISTER
	ARX	-28 BIT EXTENDED ARITHMETIC PSEUDO REGISTER
	ADX	-28 BIT EXTENDED ADDER PSEUDO REGISTER
	FE	-9 BIT FLOATING EXPONENT PSEUDO REGISTER
	SA	-9 BIT SHIFT COUNT ADDER PSEUDO REGISTER
	TIME	-ELAPSED TIME SINCE BEGINNING OF PROGRAM IN NSEC.
	ACS,+0 TO +17	-PSEUDO ACCUMULATORS

12.0	LISTINGS