AC 8090C MC_CQKDAC0_DK11 K_BLT_Nov78 MC CQKDAC0 DK11 K BLT Nov78

AC-8090C-MC_CQKDAC0_DK11-K_BLT_Nov78 AC-8090C-MC_CQKDAC0_DK11-K_BLT_Nov78

User Manual: AC-8090C-MC_CQKDAC0_DK11-K_BLT_Nov78

Open the PDF directly: View PDF PDF.
Page Count: 183

DownloadAC-8090C-MC_CQKDAC0_DK11-K_BLT_Nov78 AC-8090C-MC CQKDAC0 DK11-K BLT Nov78
Open PDF In BrowserView PDF
CQKDA-C KDil-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09
1
2
3
4:
5

MACYI! 30A(1052} 15-NOV-76
DOCUMENT LISTING
.SBTTL DOCUMENT LISTING
.TITLE CQKDACO, KDII-K BLT
.REM %

15:26

PACg 2

SEQ 0001

6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

30
31
32
33
34
35

36
37
38
39
40
41
42

43

44

45
46

47
48
49
50
51

~2

53

54
55
')6

PRODUCT CODE:
PRODUCT HUfE:
PRODUCT DATE:

.,AINTAINER:
AUTHOR:

AC-B090C-MC
CQKDACO KDI1-K BLT
15 NOVEMBER 1978
DIAGNOSTIC ENGINEERING
JOHN CARMODY

THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT 10TICE
AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
CORPORATION. DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPONSIBILITY
FOR ANY ERRORS THAT MAY APPEAR IN THIS DOCUMENT.
NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF SOFTWARE ON
EQUIP~ENT THAT IS NOT SUPPLIED BY DIGITAL OR ITS AFFILIATED COMPANIES.
COPYRIGHT (Cl 1977,1978, BY DIGITAL EQUIPMENT CORPORATION.
THE FOLLOWING ARE TRADEMARKS OF DIGITAL EQUIPMENT CORPORATION:
DIGITAL

DSC

PDP
DECUS

UNIBUS
DECTAPE

MASSBUS

CQKDACO, KDl1-K ELf
~ACYl1 30A(1052)
15-NOV-18 15:26
CQKDAC.P11
01-NJV-1A 14:09
DOCUMENT LISTING
51

PAGE 3

SEQ 0002

59
3q
60

61

62
63

TABLE OF CONTENTS

64
65
66
61
68
69

10
11
72
13
74
7S
76
71

1.0

2.0

78
79

80
81
82
83

84
85
86

81

3.0

4.0

88

89

90
91
92
93
94
95

5.0

GENERAL PROGRA~ INFOR~ATION
1.1
PROGRA~ PURPOSE
1.2
SYSTEM REQUIREMENTS
1.3
RELATED DOCUMENTS AND STANDARDS
1.4
DIAGNOSTIC HIERARCHY PREREQUISITES
1.5
FAILURE ASSUMPTIONS
OPERATING INSTRUCTIONS
2.1
LOADING AND STARTING PROCEDURES
2.2
SPECIAL ENVIRONMENTS
2.3
PROGRA~ OPTIONS
2.4
EXECUTION TIMES
ERROR INFORMATION
3.1
ERROR REPORTING PROCEDURES
3.2
ERROR HALTS
PERFORMANCE AND PROGRESS REPORTS
4.1
PERFORMANCE REPORTS
4.2
PROGRESS REPORTS
4.3
MAINTENANCE BREAKPOINT FEATURE
MAINTENANCE PROCEDURES
5.1
THE KD11-K PROCESSOR
5.2
CONDITION CODE SCOPE SYNC FEATURE

~ACYll 30A(1052)
15-NOV-78 15:26 PAGE 4
CQKDACO, ~D11-K eLT
DOCUMENT LISTING
CQKDAC.Pll
07-NDV-7Q 14:09
1.0
GENERAL PROGPAM INFORMATION
96
97
98
1.1
PROGRA~ PURPOSE
99
100
101
102
~ijgK¥~~N~lF¢ e6~1~OiI~ET~R~~R~~ED~8I~~~DC~~TRilE~~6c~§~j~a'UNIT
103
OF THE PDP11/6X SYSTEM. IT CONSISTS OF 504(10) INDIVIDUAL TESTS
104
CAREFULLY DESIGNED AND SEQUENCED TO DETECT AND ATTEMPT TO
105
IDENTIFY LOGIC FAULTS AT A MINIMUM HARDWARE/SOFTWARE LEVEL.
106
THESE TESTS ARE PARTITIONED INTO FOUR MAJOR SECTIONS AS
107
DESCRIBED BELOW:
108
109
A. BASIC CPU TESTS (BCPT)
110
111
112
THIS IS THE BASIC CPU TEST TO VERIFY THE "HARDCORE". ANY FAULT
113
DETECTED IN THIS SECTION CAUSES TRt-: PROGRAM TO HALT WITH THE
114
PC+2 OF THE HALT INSTRUCTION DISPLAYED ON THE CONSOLE.
115
116
B.
BASIC INSTRUCTION TESTS (BIT)
117
118
119
THIS SECTION CONSISTS OF A LOGICALLY SEQUENCED SET OF BASIC
120
INSTRUCTION TESTS DESIGNED TO VERIFY THE INTEGRITY OF THOSE
121
INSTRUCTIONS AND LOGIC OPERATIONS USED BY THE UTILITY ROUTINES
122
THAT PROVIDE ERROR LOGGING AND SCOPE LOOPING FACILITIES FOR THE
123
SUBSEQUENT TWO MAJOR SECTIONS. NO UTILITY IS CALLED UNTIL ITS
124
INSTRUCTION COMPLEMENT HAS BEEN VERIFIED. THIS SCHEME ACCOMP125
LISHES
TWO IMPORTANT MAINTENANCE OBJECTIVES: 1)IT MINIMIZES
126
THE POSSIBILITY OF THE ERROR REPORTING ROUTINES CONVEYING
127
AMBIGUOUS ERROR INFORMATION TO THE USER~ AND 2)IT MAXI~IZES
128
THE POSSIBILITY THAT THE ERROR WILL BE uETECTED BY A ROUTINE
129
DESIGNED TO IDENTIFY FAILING OPERATIONS RATHER THAN HAVE THE
130
ERROR MANIFEST ITSELF IN A MORE COMPLEX UTILITY ROUTINE
131
THAT IS NOT STRUCTURED TO DIAGNOSE FAULTS.
132
133
ANY FAULT DETECTED IN THIS SECTION CAUSES THE PROGRAM TO
134
HALT WITH THE CONSOLE ADDRESS INDICATING THE PC+2 OF THE HALT
135
INSTRUCTION
IN THE FAILING TEST. ADDITIONAL FAULT IDENTIFICATION
136
INFORMATION IS AVAILABLE IN THE PROCESSOR'S GENERAL REGISTERS L
137
PSW, STACK L AND PROGRAM ANNOTATION FOR THE FAILING TEST. A LO~K
138
ON HARD ERHOR
FEATURE IS EMPLOYED TO PREVENT THE PROGRAM FROM
139
CONTINUING ON ONCE A SOLID ERROR IS DETECTED. DEPRESSING CONTINUE
140
AFTER THE ERROR HALT CAUSES A RETPY OF THE FAILING TEST.
141
142
c. COMPREHENSIVE INSTRUCTION TESTS (CIT)
143
144
145
THIS SECTION COMPRISED OF THE BULK OF THE TESTS CONSISTS
146
OF A LOGICAL(Y SEQUENCED AND PARTITIONED SET OF iNSTRUCTION
147
TESTS DESIGNED TO TEST AND VERIFY ALL THE BASIC INSTRUCTIONS
148
OF THE KDlt-K PROCESSOR. THIS EXCLUDES TESTING THOSE LOGIC
149
FUNCTIONS THAT SUPPORT THE CONSOLE FUNCTIONS (LOAD ADDRESS L
150
DEPOSIT, ETC.). EACH TEST IN THIS SECTION CALLS A "SCOPE LuOP"
151

SEQ 0003

CQKDACC, KDII-K RLT
~ACYll 30A(1052)
15-NOV-18 15:26 PAGE 5
CQKDAC.Pll
07-NOV-78 14:09
DOCUMENT LISTING
152
UTILITY THAT FACILITATES USER CONTROL OF TEST SELECTIO~ AND
153
EXECUTION VIA THE CONSOLE SWITCH REGISTER.
154
UPON DETECTION OF A LOGIC FAULT, EACH TEST IN THIS SECTION
155
CALLS AN "ERROR SERVICE" ROUTIN~ THAT LOGS THE ERROR AfiD REP156
ORTS IT AS HARD COpy ON THE CONSOLE TERMINAL DEVICE. THE ERROR
157
SERVICE ROUTINE ALSO FACILITATES USER CONTROL OF THE PROGRAM
158
SEQUENCE VIA CONSOLE SWITCH REGISTER OPTIONS. AFTER RRPORTING
159
THE ERROR THE PROGRA~ CONTINUES ON IN ITS NORMAL SEQUENCE UN160
LESS MODIFIED BY THE USER ACTIVATING THE "LOCK ON HARD ERROR"
161
SWITCH OPTION.
162
163
164
165
166

167

168
169
110

171
172
173
174
115
116

1.2

117

A. HARDWARE REQUIREMENTS
1. PDP11/6X CPU WITH OPERATOR-S CONSOLE

178
179
180

181
182
183
184
185
186
187
188
189
190
lQl
192
193
194
195
196
197
198

2. 16K OF CORE STORAGE - MFll/U OR EQUIVALENT
3. DLl1-W ASYNCHRONOUS LINE INTERFACE WITH LINE CLOCK
8. SOFTWARE REQUIREMENTS
1. PDPl1 ABSOLUTE LOADER PROGRAM FOR PAPER TAPE SYSTEMS
2. XXDP MONITOR FOR DECTAPE,MAGTAPE,CASSETTE, OR DISK SYSTEMS.
1.3

RELATED DOCUMENTS AND STANDARDS

1.4

"CQKDA" USES THE STANDARD APT SOFTWARE INTERFACES FOUND IN
THE MACYl1 SYSMAC PACKAGES.
DIAGNOSTIC HIERARCHY REQUIREMENTS

1.5

"CQKDA" WILL NORMALLY BE THE FIRST DIAGNOSTIC TO BE RUN AS
PART OF PDP 11/6X CPU CHECKOUT.
FAILURE ASSUMPTIONS

2.0

"CQKDA" ASSUMES THAT THE STORAGE MEDIU¥ USED TO STORE THE
PROGRAM IS INTACT AND THAT IT CAN BE LOADED INTO CORE.
OPERATING INSTRUCTIONS

199
200
201

202
203
204
205

206

207

THIS SECTION CONSISTS OF A ~ORE COMPLEX SET OF INSTRUCTION
TESTS DESIGNED TO TEST THE INSTRUCTIONS WHEN USED IN VARIOUS
COMBINATIONS ~ANIPULATING VARIABLE DATA PATTERNS. IT ALSO
TESTS THE ~ED AND ERPOR LOGGING FEATURES OF THE CPU. LIKE THE
PREVIOUS SECTION L IT CALLS THE "ERROR SERVICE" AND "SCOPE LOOP"
UTILITIES TO REPuRT ERRORS AND ALLOW USER CONTROL OF TEST EXECUTION.
SYSTEM REQUIREMENTS

SE~

0004

CQKDACO, KDI1-K HLT
M'CYl1 30A(1052) 15-NDV-78 15:26 PAGE 6
DOCU~ENT LISTING
CQKDAC.Pll
01-NOV-78 14:09
208
209
2.1
LOADING AND STARTING PROCEDURES
210
211
212
A. LOADING PROCEDURES
213
214
1) ST_NDARD PDPll ABSOLUTE LOADER PROCEDURES FeR PAPER TAPF.
215
216
L) STANDARD XXDP MONITOR LOADING PROCEDURES.
211
21B
3) STANDARD APT OR ACT LOADING
219
220
R.
MANUAL
STARTING PROCEDURES
221
222
223
LOAD SWITCH REG WITH 000000 (NO SWITCH OPTIONS)
2 SET DISPLAY TO 000200
224
3 DEPRESS LOAD ADDRESS
225
4 PRESS CNTRL AND START BUTTONS SIMULTANEOUSLY
226
221
228
2.2
SPECIAL ENVIRONMENTS
229
230
231
16K PDPl1/6X SERIES SYSTEMS
232
233
FOR 16K SYSTEMS USING THE "XXDP" PACKAGE yOU WILL BE UNABLE
234
235
~?Ng~ET~~Esi~~DaJE:cG~giHA:iLlONh¥A~~~AI~'s¥~8fl~N~~5i
236
RESIDENCY OF THE UPDATE PROGRAMS. SUFFICIENT FREE CORE IS
237
AVAILABLE FOR THE "XXDP" MONITOR SO THAT "CQKDA" CAN BE
238
239
LOADED BY THE MONITOR.
240
2.3
PROGRAM OPTIONS
241
242
243
A. SWITCH REGISTER OPTIONS
244
245
THE FOLLOWING CONSOLE SWITCH REGISTER OPTIONS ARE ACTIVE
246
UPON ENTERING THE COMPREHENSIVE INSTRUCTION TESTS (CIT).
247
SECTION: (SWITCH OPTION IS ACTIVE WHEN SW IS SET TO A 'I")
248
249
SW15
HALT ON ERROR. IF ERROR PRINTING IS ENABLED THE HALT
250
OCCURS AFTER THE PRINTOUT. DEPRESSING "CONTHWEn CAUSES
251
THE PROGRAM TO PROCEED ON IN NORMAL SEQUENCE FROM THE
252
253
POINT OF ERROR.
254
255
SW14
CONTINUOUSLY LOOP ON THE CURRENT TEST
256
257
SW13
INHIBIT NORMAL ERROR PRINTOUTS - THIS DOEg NOT INCLUDE
258
POWER FAIL, BUS ERROR, OR RSVD INSTR TRAPS.
259
260
SW12
INHIBIT ALL PRINTOUTS NOT COVERED UNDER SW13. THIS
261
1~¥~U¥~~TIi¥·fsBggTE~H~~fBt~DTGSI~HI~fIR~IGA~i§s
262
263
POwER FAIL PRINTOUTS.

11

OR

SEQ 0005

MACY!! 30A(1052) 15-NOV-7S 15:26
CQKDACO, KDl1-K ALY
OOCU~ENT LISTING
CQKDAC.Pll
07-NOV-78 14:09
264
265

2.4

INHIBIT SUB-TEST ITERATIONS. TEST ITERATIONS ARE
AUTOMATICALLY INHIBITED ON THE FIRST PASS.
SWI0
SEARCH FOR AND CONTINUOUSLY LOOP ON THE TEST NUMBER
SEL~CTED BY THE CONTENTS OF SW<08:00>. ONLY USE TMIS
OPTION FOP TESTS TST176 THRU TS1761 SINCE THE "SCOPE"
UTILITY IS NOT ACTIVE U~TIL TEST TSTI16. LOOPING ON
TST176 WILL CAUSE A LOOP ON THE ENTIRE "PIT" SECTION
(TESTS 0-176).
SW09
LOCK ON HARD ERROR
SW USED TO SELECT A PARTICULAR TEST FOR LOOPING IF SWIO=!.
TEST NUMBER MUST BE BETWEEN 116 AND 767.
B. MEMORY LOCATIONS
4. BPTLOC: THERE IS A LOCATION TAGGED "BPTLOC" THAT PROVIDES THE
USER THE MECHANISM FOR SETTING SIXTEEN "BREAKPOINT
HALTS" THROUGHOUT THE PROGRAM. THIS ENABLES RAPIDLY
"MOMING IN" ON THE FAILING TRST IN THOSE CASES WHERE
THE FAULT CAUSES A RUNAWAY OR HUNG PROGRAM. REFER TO
PARA. 4.2 FOR A DETAILED DESCRIPTION OF THE USE OF
THIS FEATURE.
EXECUTION TIMES

3.0

ONE COMPLETE ERROR FREE PASS OF "CQKDA" WITH NO TEST ITERATIONS
SHOULD TAKE LESS THAN 7 SECONDS. A SUCCESSFUL PASS WILL BE INDICATED BY THE FOLLOWING PRINTOUT ON THE CONSOLE DEVICE:
ERROR COUNT
000000
END PASS # 000001
THIS ERROR COUNT IS NOT CLEARED AT THE BEGINNING OF A NEW PASS.
~ITH ITERATIONS ENABLED A COMPLETE E~RCR FREE PASS SHOULD TAKE
LESS THAN 2.5 MINUTES.
ERROR INfORMATION

3.1

ERROR REPORTING PROCEDURES

277
278

279
280
2Pl
282

283
284
285
287

290
291

292

293
294
295

296
297
298
299
300
301
302
303
304
305
306
307
308
309

310
311
312

313
314
315
316
317
318
319

SEQ 0006

SWll

266
267
268
269
210
271
272
273
274
275
276

286
288
289

PAGE 7

=

I. ERROR MESSAGE FORMATS
THERE ARE SEVERAL DIFFERENT ERROR FORVATS. EACH IS DESCRIBED BELOW.
1.) ERROR 1 IS OF THE fORM
SIB OST WAS DST DEST
(IR)
TEST
(PC)
(SP)
(PSW)
XXXXXX XXX XXX XXXXIX XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX
NHERE:

~~CYll 30A(1052)
15-NOV-78 15:26 PJ.G~ 8
CQKDACO, KDII-K ~LT
DOCUMENT LISTING
CQKDAC.Pll
07-~OV-78 14:09
SIB DST FOR SINGLE AND DOUBLE OPERAND INSTRUCTIONS THIS
320
COLUMN CONTAINS ~HAT THE RESULT (DEST. OPERAND)
321
SHOULD HAVE BEEN (SIB).
322
323
wAS OST FOR SINGLE AND DOUBLE UPERAND INSTRUCTIONS THIS
324
COLUMN CONTAINS WHAT THE RESULT (DEST. OPERAND)
325
ACTUALLY WAS AFTER THE TEST.
326
327
fOR SINGLE AND DOUBLE OPERAND INSTRUCTIONS THIS
DEST
328
COLUMN CONTAINS THE DESTINATION ADDRESS.
329
330
THIS IS A COpy OF THE TEST INSTRUCTION.
(IR)
331
THIS WILL BE THE FIRST WORD IN THE CASE OF TWO
OP
THREE WORD INSTRUCTIONS.
~~~
334
INDICATES THE TEST NO. (IN OCTAL) THAT FAILED
TEST
335
336
INDICATES THE CONTENTS OF THE PROGRAM COUNTER AT THE
(PC)
337
TIME OF THE ERROR CALL. THIS IS AN ADDRESS NORMALLY
338
USED TO LOCATE THE ERROR CALL STATEMENT IN
339
THE FAILING TEST.
340
341
INDICATES THE CONTENTS OF THE STACK POINTER (R6) AT
(SP)
342
THE TIME OF THE ERROR. NOTE THAT THE ERROR CALL
343
WILL PUSH THE STACK TwICE. IN SP TESTS WHERE THE
344
SP MUST BE RESTORED PRIOR TO CALLING THE ERROR ROUTINE,
345
THEN
TnE ORIGINAL (UNRESTORED) SP IS TYPED, WITHOUT
346
ADDITIONAL PUSHES FRO~ THE ERROR CALL.
347
348
INDICATES THE CONTENTS OF THE PROCESSOR STATUS WORD
(PSW)
349
AT THE TIME OF THE ERROR CALL
350
351
xxxxxx IS AN OCTAL HUMBER.
352
353
2.) ERROR 2 AND ERROR 4 ARE THE SAME AS FOR ERROR 1 ABOVE
354
EXCEPT THAT IN THIS CASE THE DESTINATION IS A GENERAL
355
REGISTER (WHICH DOES NOT HAVE A UNIBUS ADDRESS). rHE OCTAL
356
NUMBER TYPED OUT IN THE "DEST" COLUMN SHOULD BE IGNORED.
357
THE TYPOUT WOULD LOOK AS FOLLOWS:
358
359
SIB DST WAS OST DEST
(IR)
TEST
(PC)
(SP)
(PSW)
360
IS R3
361
xxxxxx xxxxxx xxx xxx xxxxxx xxxxxx xxxxxx xxxxxx XXXXXX
362

363
364

365

366
367
368
369

370
371
372
373
374

375

~i~E~¥R¥HA~'o~f~O'H~'L:~¥ ~~~~RO~ ~R~ol8~=II~A~sJHc"~~fYt

ARE PRINTED.
4.) ERROR 3 IS USED IN CASES WHERE THE STACK POINTER IS
SPECIFICALLY IN ERROR. THE COLUMNS HAVE THE SAME MEANING AS
DESCRIBED FOR ERROR 1 EXCEPT:
SIB SP IS WHAT THE STACK POINTER SHOULD HAVE BEEN (SIB)
WAS SP IS WHAT THE STACK POINTER ACTUALLY WAS

SEQ 0007

CQKDACO, KDI1-K ~LT
~ACYll 30A(1052)
15-~OV-78
15:2~
CQKDAC.Pll
07-NOY-78 14:09
DOCU~~NT LISTING

376
317
318

379
380
391
382

3R3

384

38~

386
3P.7
368
3P9
390
391
392
393
394
395
396
391
398
3Q9

400

401
402
403
404

405

406
407
408
409
410
411
412
413
414
415
416
411
418
419
420

421
422

423
424

425

426
427
428

429

430
431

PAGE 9
SEQ 0008

5.) OTHER ERRORS TYPE OUT THE[R SPECIFIC E~RoR MESSAGE FOLLOWED
3Y SELf EXPLANATORY DATA HEADERS, DEFENDING ON THE ERR 6R.
AN EXA~PL~ FOLLOWS:
BAD DATA READ 8Y A ~ED
PC
MEOCUO~ EXPECTD RECEIVD
XXXXXX XXXXXX XXXXXX XXXXXX

¥A~ ~~~~ ~tl~B~fiOffNR2HJI'~ li~g~fij a~II~~fAf~RC¥Hi~ST~~AT

TEST NU~BER ON THE PREVIOUS SCOPE CALL. IF A MACHINE
ERROR CAUSES TESTS TO BE SKIPPED£ OR THE PROGRA~ TO JU~P
3ACKWARDS, ERROR 11 WILL REPORT THIS AS fOLLOWS:
TESTS SKIPPED
PC
EXPCTD ACTUAL (TEST #·S)
XXXXXX XXXXXX XXXXXX
EXPCTD THIS IS THE TEST NUMBER THE SCOPE WJS EXPECTING TO BE
CALLfD FROM.
ACTUAL THIS IS THE TEST NUMBER THAT IT FOUND IN PO
7.) RESERVED INSTRUCTION TRAP ERRoW MESSAGf
ANY RESEPVED INSTRUCTION TRAP DETECTED AFTER THE
BASIC TESTS RESULTS IN THE FOLLOWING PRINTOUT:
TRAPPED TO 10 PC
XXXXXX
WHERE: XXXXXX IS THE VALUE OF THE PROGRA~ COUNTER
PUSHED ON THE STACK WHEN THE TRAP WAS SPRUNG.
AFTER REPORTING THE ERROR, THE PROGRAM IS RESTARTED
FRO~ THE BEGINNING.
IF A RSVD INSTRUCTION TRAP OCCURS WHILE IN THE PROCESS
OF TRYING TO SERVICE A PREVIOUS PSVD INSTRUCTION TRAP
OR A BUS ERROR TRAP THE PROGRAM HALTS. A DESCRIPTION
OF THIS HALT IS CONTAINED IN PARA. 3.2.3 BELOW.
IF A RSVD INSTRUCTION TRAP OCCURS PRIOR TO COMPLETION
OF THE BASIC INSTRUCTION TEST SECTION THE PRoGRA~ WILL
HALT VIA A TRAPCATCHER IN THE VECTOR. A DESCRIPTION OF
THIS HALT IS DESCRIBED IN PARA. 3.2.2 BELOW.

=

4. BUS ERROR TPAP ERROR MESSAGE
ANY UNEXPECTED BUS ERROR TRAPS (BUS TIMEOUT,
ADDRESS ERROR L ILLEGAL INSTRUCTION, OR STACK
RESULTS IN THK FoLLOWIN~ PRINTOUT:
TRAPPED TO 4 PC = XXXXXX

onD

OVERFLO~)

~ACVl1 30A(1052)
15-NDV-78 15:26 PAGE 10
CQKOACO, K011-K BLT
DOCUMENT LISTING
CQKDAC.Pl1
07-NOV-7P 14:09
432
WHERE: XXXXXX IS THE VALUE OF THE PC PUSHED ONTO
433
THE STACK WHEN THE TRAP WAS SPRUNG.
434
435
AFTER REPORTING THK ERNOR THE PROGRAM IS RESTARTED
436
FROM THE BEGINNING.
437
438
IF A PUS ERROR TRAP OCCURS WHILE A PREVIOUS BUS ERROR
439
ON RSVD INSTRUCTION IS STILL PENDING THE PROGRAM WILL
440
HALT. A DESCRIPTION OF THE HALT INTERPRETATION IS GIVEN
441
IN PARA. 3.2.3 BELOW.
442
443
IF A BUS ERROR OCCURS PRIOR TO THE COMPLETION OF THE
444
445
¥~~~~A~~~i~Uj~I~nET~~~~6R~HX
~~gg~t~T~~~LO~A~~I~I4AtT
446
IS INCLUDED IN PARA. 3.2.2 BELOW.
447
448
5. POWER FAIL
449
450
451
IF A POWER FAIL CONDITION IS DETECTED, THE FOLLOWING
452
MESSAGE IS PRINTED:
453
454
POWER
455
456
AFTER PRINTING AN ATTEMPT IS MADE TO RESTART THE PROGRAM AT
457
THE BEGINNING.
458
459
3.2
ERROR
HALTS
460
461
462
1. BASIC INSTRUCTION TESTS (BIT)
463
464
465
ANY ERROR DETECTED IN THE BASIC TESTS CAUSES THE
466
PROGRAM TO HALT WITH THE PC+2 OF THE LOCATION CONTAINING
467
THE HALT INSTRUCTION DISPLAYED.
468
469
EXAMINING THE CONTENTS OF THE CPU·S GENERAL REGISTERS,
470
THE PSW AND THE STACK WILL PROVIDE ADDITIONAL FAULT
471
IDENTIF f CATION INFORMATION.
472
473
DEPRESSING "CONTINUE" AFTER THE HALT WILL CAUSE AN
474
475
AUTOMATIC RETRY OF THE FAILING TEST. IF THE ERROR IS
476
~~LI2T~~~It~~~~A~H~I~~O~~i~ erLlH~5Nii~3~ B2TIAFN~~MAL
477
SEQUENCE ONCE THE TEST IS SUCCESSFULLY EXECUTED.
478
479
480
~~p~I~~B~A~H"AAl'5H~I¥50~E4~8~G)~NA~~ED~~'~~~G"~~~'fNUE"
481
THE "400" IS A "BR .+2" WHICH FUNCTIONS AS A NOP. THIS
482
IS NECESSARY TO PRESERVE THE INTEGFITY OF THE CONDITION
483
CODE OPERATE INSTRUCTION THAT IS USED AS A SCOPE SYNC. THIS
484
BUILT IN SYNC FEATURE IS DESCRIBED IN PARA. S.Q.
485
4q6
4R7
2. TRAPCATCHER HALTS

SEQ

0009

CQKDACO, KDII-K BLT
~ACYll 30A(l052)
15-NOV-7& 15:26
CQKDAC.Pll
07-~OV-78 14:09
DOCUMENT LISTING
488
489
490

491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520

521
522
523
524
525
526

527
529
530
531
532
533
534
528

535
536

537

538
539
540

541
542

543

PAGE 11
SEQ 0010

THE VECTOR AREA (LOC 000 - 776) IS PROGRAM LOADED WITH
A STANDARD TRAPCATCHER AS SHOWN BELOW:
V

/

V+2

V+2/ HALT
AFTEP THE BASIC INSTRUCTION TESTS THE fOLLOWING VECTORS
ARE SET UP TO POINT TO APPROPRIATE SERVICE ROUTINES:
4/6
BUS F.RROR SERVICE
10/12
RSVD INSTRUCTION TPAP SERVICE
20/22
SCOPE LOOP SERVICE
24/26
POWER FAIL SERVICE
30/32
ERROR SERVICE
34/36
PRINT SERVICE
AT THE APPROPRIATE POINTS IN THE COMPREHENSIVE INSTRUCTION TESTS THE LINE CLOCK VECTOR (100/102) AND THE DL11
VECTORS (60/62 - 64/66) ARE SET UP TO CHECK INTERRUPTS
FROM THESE DEVICES. ALL OTHER VECTORS REMAIN SET UP TO
"CATCH" UNEXPECTED TRAPS OR INTERRUPTS BY HALTING.
WHEN AN UNEXPECTED TRlP OR INTERRUPT NOT SUPPORTED BY
AN APPROPRIATE SERVICE ROUTINE OCCURS THE CPU HALTS.
WITH THE PC+4 OF THE VECTOR DISPLAYED IN THE CONSOLE.
THIS IS USED TO IDENTIfY THE CAUSE OF THE UNEXPECTED
TRAP OR INTERRUPT.
TH~ LAST ENTRY PUSHED ON THE STACK CAN BE EXAMINED
TO DETERMINE WHERE THE PROGRAM WAS WHEN THE TRAP OR
INTERRUPT WAS SPRUNG. REMEMBER THAT THE "OLD PC" GETS
SAVED ON THE STACK WHEN A TRAP OR INTERRUPT OCCURS.
3. CATASTROPHIC ERwOR HALTS

t~*~EAA~ETfi~oo¥A~~SiNO¥ijEI~s~~EI~~¥Rij~~~~NS¥~I~C~E~~¥CE

ROUTINE THAT HALT THE PROGRAM IF ONE OF THESE ERRORS
OCCURS WHILE STILL SERVICING A PREVIOUS BUS ERROR
OR RSVD INSTRUCTION TRAP. AFTER THE HALT THE CONSOLE
DISPLAYS THE PC+2 OF THE ERROR HALT. THIS IS USED
TO IDENTIFY WHICH OF TH~ TWO TYPES OF ERRORS - RSVD
OR BUS ERROR - OCCURRED LAST.
THERE IS A SOFTWARE FLAG TAGGED "CATERR" THAT MAY BE
EXAMINED TO ORTAIN THE FOLLOWING INFORMATION:
[CATERRJ
000002 TWO SUCCESSIVE BUS ERRORS
[CATERR) = 001000 TWO SUCCESSIVE RSVD INSTR. TRAPS
(CATERRJ
000401 A COMBINATION OF THE TWO. THE
CON'r E~a S Of' Tit EADORESS DISPLAY
IDENTIFI~S WHICH TYPE OCCURRED LAST.
THE STACK PROVIDES THE FOLLOWING ADDITIONAL INFCR~ATION:

=

=

~ACYl1 301(1052)
15-NOY-78 15:26 PAGE 12
CQKDACC, KD11-K BLi
DOCUMENT LISTING
CQKDAC.Pll
07-NDV-78 14:09
544
(SP J '
545
[SP+2] I
546
(SP+4J "
547
[SP+61
548
549
4.0
PF.RFORMANCE AND PROGRESS
550
551
552
4.1
PERFORMANCE REPORTS
553

SEQ 0011

PC OF tHE 2ND TRAP
PSw Of THE 2ND TRAP
PC OF THE 1ST TRAP
PSW OF THE 1ST TRAP
REPORTS

554

5~5

4.2

THERE IS ONLY ONE PERFORMANCE REPORT SUPPLIED BY THE PROGRAM
AND CONSISTS OF A SIMPLE END OF PASS MESSAGE OF THE FORMAT
SHOWN BELOW:
PASCNT = XXXXXX ERRCNT = YYYYYY
~HERE:
XXXXXX IS THE TOTAL NUMBER OF COMPLETE PASSES
OF THE ENTIRE PROGRAM (OCTAL)
YYYYYY IS THE TOTAL ERROR COUNT IN OCTAL
PROGRESS REPORTS

4.3

THERE ARE TWO PROGRESS REPORTS PRINTED THAT REPORT NORMAL
ERROR FREE EXECUTION OF THE PROGRAM.
A. END OF PASS PRINTOUT AS DESCRIBED IN 4.1 ABOVE.
B. PROGRAM IDENTIFICATION MESSAGE AS DESCRIBED BELOW:
CQKDAC KDI1-K BASIC LOGIC TESTS
THIS MESSAGE GETS PRINTED THE FIRST TIME THE PROGRA~ ENTERS
THE COMPREHENSIVE INSTRUCTION TEST SECTION UNLESS
INHIBITED BY SW12=1. AFTER THE FIRST PASS THIS PRINTOUT
IS AUTOMATICALLY INHIBITRD UNLESS THE PROGRAM IS RESTARTED AT 200(8).
MAINTENANCE BREAKPOINT FEATURE

556
557

558

5~9

560
561

562
563
564
565
566

567
568
569
570
571
572
573
574

575
576
577
578
579
580
581
582

583
584

585

586
587
588
589

590

591
592

593

594
595

596
598

597

599

THERE IS A MANUAL PROGRESS REPORT FEATURE THAT ALLOWS THE USER
TO STEP THROUGH THE PROGRA~ HALTING AFTER EVERY N'TH TEST WITH
PROGRESS INFORMATION DISPLAfED IN THE CONSOLE ADDRESS DISPLAYS.
TO ACTIVATE THIS FEATURE THE USER MUST SET THE DESIRED
"BREAKPOINT HALT" BITS IN THE ME~ORY LOCATION TAGGED "BPTLOe".
THIS LOCATION PROVIDES SIXTEEN POSSIBLE HALTS DISPERSED EVENLY
THROUGHOUT THE PROGRAM (APPROX. EVERY 20 TESTS). AT EACH CHECKPOINT THE PROGRAM EXAMINES A PARTICULAR BIT IN "RPTLOC" AND
HALTS IF THE BIT IS SET TO A "1" OTHERWISE IT CONTINUES IN
NORMAL SEQUENCE. AFTER THE HALT DEPRESSING "CONTINUE" ~ILL CAUSE
RESU~PTION OF NORMAL PROGRAM EXECUTIGN. SETTING LOCATION "SPTLOC"
TO ALL l'S (177777) WILL RESULT IN THE FOLLOWING SIXTEEN HALTS
WITH THE INFORMATION SHOWN DISPLAYED IN THF CONSOLE:

CQKDACO, KDI1-K BLT
~ACYll 30A(1052)
15-NOV-78 15:26 PAGE 13
CQKOAC.Pll
01-NOV-18 14:09
DOCUMENT LISTING
600
601
(SPTLOC]
ADDRESS DISPLAY
602
HALT PC+2
603
604
BITOO=1
4326
605
BIT01=1
6312
606
8IT02=1
10632
601
BIT03=1
11762
608
8IT04=1
14356
609
RIT05=1
11116
610
BIT06=1
21542
611
BIT01=1
24350
612
BITOB=l
27162
613
BI109=1
32156
614
BIT 1 0=1
34642
615
BIT11=1
31452
616
B1T12=1
42142
611
8IT13=1
46142
618
BIT14=1
52602
61q
BIT15=1
55426
620
621
NOTE: IF THE USER DEPOSITED A 000400(8) IN LOCATION "BPTLOC"
622
ONLY OHF. HALT wOULD OCCUR AND AT THAT TIME THE
623
DISPLAY SHOULD CONTAIN 27162.
624
625
THIS FEATURE IS USEFUL FOR TRACKING DOWN THE TEST THAT CAUSES
626
A "RUNAWAY" OR "HUNG" PROGRAM.
621
628
LOCATION "BPTLOC" IS PROGRAM LOADED AS 000000 TO INHIBIT ANY HALTS.
629
630
631
5.0
MAINTENANCE PROCEDURES
632
633

634
635
636
631
638
639

640

641
642
643

644

645
646
641
648
649
650
651
652
653
654
655

5.1

THE KD11-K PROCESSOR
THE PROCEDURES OUTLINED IN THIS SECTION ASSUME THAT "CQKDA"
ClN BE LOADED INTO CORE AND STARTED. IF THE FAILURE MODE
PREVENTS PROGRAM LOADING OR AFFECTS NORMAL POWER UP AND
CONSOLE OPERATIONS, THE TECHNICIAN MUST REVERT TO THE ~ANUAL
DEBUG AND CHECKOUT PROCEDURES.
THE KDII-K CENTRAL PROCESSING UNIT CAN BE VIEWED AS
CONSISTING OF TWO MAJOR LOGIC AREAS AS DEPICTED BELOW:
DATA IN ****

*
*v

**************
*****************
*
*
*
** CONTROL
*»»»»»»>*
DA't'A
*
.. SECTION
*««««««(*
PATHS
*

*

*

*

*

SEQ 0012

CQKOACO , KDII-K FLT
YACYll 30A(1052) IS-NOV-1S 1~:26 PAGE 14
CQKOAC.Pll
07-NOV-18 14!09
DOCUMENT LISTING
**************
6~6
657
658
659
660
6bl
662
663
664
665
666
667
668
669

THE DATA PATHS CONSIST OF A LOGICALLY INTERCONNECTED GROUP

~~c~lA~~gu¥A~a ~ACI~~~AI~R~~~GI¥~~I~'Mng~J~~LI~gR¥'A~~~;~

DATI ITEMS (16 BIT WORDS OR B BIT BYTES) AC~OROING TO THE
DESIGN SPECIFICATIONS FOR THE PDP11.
THE ceNTROL SECTION SUPPLIES PREDEFINED SEQUENCES OF CONTROL
SIGNAL SETS TO ACTIVATE THE HEQUIR~O DATA FACILITIES WITHIN
THE DATA PATHS. IN THE KD11-K THESE CONTROL SIGNAL SETS ARE
STORED IN A READ ONLY MEMORY (ROM) AND GENERATED BY READING
OUT A UNIQUE SEQUENCE OF ROM .ORDS FOR EACH OPERATION TO BE
PERFOR~ED.

5.2

687

691

692

693

694

695
696
691
698
699
700
701
702

708
709
710

711

THE SEQUENCE GENERATED BY THE CONTROL SECTION IS VARIABLE
AND DEPENDENT UPON THE INSTRUCTION OR LOGIC OPERATION
BEING EXECUTED. THERE ARE HUNDREDS OF THESE SEQUENCES POSSIBLE DEPENDENT UPON OF THE PROGRAM CODING.
"CQKDA" IS DESIGNED TO GENERATE ALL POSSIBLE MICROINSTRUCTION
SEQUENCES AND COMBINATIONS OF DATA AND CONTROL SIGNALS. THE
INDIVIDUAL TESTS ARE LOGICALLY SEQUENCED AND STRUCTURED TO
DETECT AND ISOLATE PARTICULAR MICROPROGRAM SEQUENCES THAT ARE
FAULTY.
CONDITION CODE SCOPE SYNC FEATURE
FROM THE BIT SECTION TO THE MED TESTS IN THE CIT SECTION, ALL
TEST INSTRUCTIONS ARE PRECEEDED BY A CONDITION CODE OPERATE
INSTRUCTION. THE UBREAK REGISTER IS PROGRAM LOADED TO GENERATE
A SYNC PULSE NEAR THE END OF THIS INSTRUCTION. DURING THE MED
TESTS THE PULSE IS GENERATED NEAR THE BEGINNING OF THE MED
EXEcufION. THIS PULSE IS GENERATED ON BACKPLANE PIN B03M2 AND
MAY BE USED IN CONJUNTION WITH THE PROGRAM LOOPING FEATURES TO
PROBE THE KDII-K DURING THE FAILING TEST.

688
689
690

703
704
105
706
707

*

****>OATI OUT

670

671
672
613
674
675
616
617
678
679
680
681
682
683
684
685
686

SfQ 0013

*****************

**THIS PROGRAM WAS ASSEMBLED USING THE PDP-II MAINDEC SYSMAC
:PACKAGE (MAINDEC-I1-DZQAC-C3), JAN 19, 1977.
SBTTL OPERATIONAL SWITCH SETTINGS
*
S~ITCH
USE
*
*

CQKDA-C KDll-r BASIC LOGIC T~Sr5
CQKDAC.Pll
07-NOV-78 14:09

H~

714
715
716
717

!:

718
719

H~

722
723

Hi
727

Hi
731

H1

734
735

~~~

-138

739
~40

7~~

743
744
745
747

746

l:~

750
751

l~~

154
755
756
757
758
759
~60

7~~

763
764
765
766
767

001000

8888B
000015

000200
177776

177774

177772

IH~i8

000000
000001

888881
000004

000005
000006
000007

88888~

000000
30

8881
000 48
000 00
000 40
000 00
000340

100000
~4°800

crRoR8
004000
002000

CQKDA-C KDll-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7P. 14:09
768
001000
769
000400
710
000200
771
000100
7~2
000840
7~ 5~

~~~

8880184
8888 t
000

U~

1U5

U
7R~
~d
79

3

H

100000
040000

o8~8888
4000

OF THE STACK POINTER *** 1000 ***
EMT,ERROR
;;BASIC DEFINITION OF ERROR CALL
IOT,SCOPE
;;BASIC DEFINITION OF SCOPE CALL
~*MISCELLANEOUS DEFINITIONS
LJ:
l~
!!E8B~ ~8~ ~2UIZ~~~aL TAB
CR=
15
;;CODE FOR CARRIAGE RETURN
CRLF=
200
i,CODE FOR CARRIAGE RETURN-LINE FEED
PS=
177776
;;PROCESSOR STATUS WORD
sf~~~¥= i~~~~~
"STACK LIMIT REGISTER
IJ~~1~
~IC~~ge1~EI~~~'~HPtE~~~¥IIT REGISTER
DDISP= 177570
i,HARDWARE DISPLAY REGISTER
,*GENERAL PURPOS~ REGISTER DEFINITIONS
;;GENERAL REGISTER
RO=
'.0
,;GENERAL REGISTER
Rl=
%l
;,GENERAL REGISTER
R2=
%2
,;GENERAL REGISTER
R3=
13
;,GENERAL REGISTER
R4=
%4
;;GENERAL REGISTER
R5=
%5
R6=
%6
sfg~~~~:t ~~gI~t~~
R7=
%7
;; STACK PO INTER
~~~
l~
,;PROGRAM COUNTER
DEFINITIONS
l*PRIORITY
"PRIORITY LEVEL 0
t'RO=
0
PR~=
40
PR
=
100
JI~iI8~1'1 t~I~~
PR =
140
11~~18~1~~ t~I~~ 43
PR4=
200
PR5=
240
"PRIORITY LEVEL 5
PR6=
300
!1~~lg~I'~ t~I~~ ~
PR7=
340
1*"SWITCH REGISTER" SWITCH DEFINITIONS
sW15:
100000

G!e8:

J

~~1~~

swb=
SWll=

SW10=

48888

ioooo
4000
2000

MACYll 30l(1052) 15-NOV-7B
BASIC DEFINITIONS
SW09:
1000
SW08=
400
SW07::
200
SW06=
100

~~8~~

~08

~=oO~
.EQUIV

SW09,SW9

.EQUIV
.EQUIV

SW06~SW6
SW05,SW5

:iaan
.EQUIV
:f8SH

SW82,SW2

SW03=
SWR2=

~=g~,§=~

~=8~~~=1

~=oO~~=~

~i¥t~~ BI~08ij&INITIONS (BITOO TO BIT15)

91TH=

40000

1000
480
~ 0

RnB~ i8888
ntH~ ~888

gUUg

BIT09=
9IT a=
BIT 7=
BIT 6=

n~
804

088040
oo 0010
020
000004
000002
000001

BIT03::
BIT02=

20
10
4

.EQUIV
.EQUIV
.EQUIV

BIT08,BIT9
RIISZ'BltZ

.EQUIV
.EQUIV

BII83'Rlt~

98~

988

Bog
Iii

il~

~~1~
8 0

i~

g

Ul8l~
nt8b~

480
2

~IT09,BITq

:~8HI~ BIr05~BIT5
:~ggI~

8i~

000004

000010

8888U
000014
000020

PAGE 16

i

n~
799
800

15:26

1
4

o

2000
001000

flUng

.EQUIV
.EQUIV

n~

796

HQ 0014

~;I~~~IArO~8DRESS

:~aHH

779

79~

30A(1052) IS-NOV-78 15:26 PAGE 15
OPEHATIONAL SWITCH SETTINGS
••
1j
HALT ON ERROR
LOOP ON TEST
;*
:4
INHIBIT ERROR TYPEOUTS
;*
13
10 MESSAGE' UNEXPECTED TRAP MESSAGES
ITERATIONS
{*
1.0
LOOP ON
LOOP ON ~~~6RIN SWR<8:0>
~*
9
~ENABLE ABS
.SBTTL BASIC DEFINITIONS
~ACVll

BIT04,BIT4

BIT01:BIT1
.EQUIV 8ITOO,BITO
'*BASIC "CPU"
hRVEC= 4
RESVEC= 10
TBITVEC=14
TRIVEC= 4

¥~'ng ~3

SEQ 0015

CQKOl-C KDll-r BASIC LOGIC TESTS
CQKDAC.Pll
07-NDV-78 14:09
824
000024
825
800030
326
00034
821
000060
828
000064
000240
~16
q31
832
000000
~33
34
835
836
837
838 888Ht 800000
839
840 000200
888~g6 001630
841
842
843
844

og8066

~~g

847
84B
849
850
fl~1
852
853
R54
855
856
857

a5~

860

U~

863

U~

866
867
868
8ti9
870
871
872
673

000700
0001)24
000044

°8gg~6

800044
000700
000700

884
885

n~

888

889
890
891

n~
n~

n~

~gg
90~

0001J46
000'J52

'6***************************************************************
; OOKS R~~V~~~~ BY ACTll
;SAVE PC
.=46
SF.NDAD
;;I)SET LOC.46 TO ADDRESS OF SENDAD IN .$EOP
.=52
:~2~~PC
S!2~~§fob~Cpt2 TO ZERO

001000
000888
000
000000
000000
000000
000000
000
001
000000
000000
000000
000000

888888
000000

000
008
00000
177570
177570

~8~

177588
002
012
000888
000000
888888
000000

~l;
9 3
n~

916
917

8l~

920

~~~

923

924

~~5

9i~

928
929

MACY11 30A(1052) 15-NOV-78
COMMON TAGS
.SPTTL COMMON TAGS

15:26

PAGE 18

s';~i;*;:~~~*~~;;:;;:*;:;i~~;*~~::~;*;;~::~~*~~~:;i~;;***********

1'1~~7~~g
7 564

909
91 0

I8

$A~~HDR s5~gj=I
t~t ~~~~~~CiL~g~RESS PNTR.
•• ******;;;i~***'l~~~~I*~~~!Il~~*~~~~!~~*************************
,§ETUP APT PARAMETF.R BLOCK AS DEFINED IN THE APT-PDP11 DIAGNOSTIC
;INTERFACE SPF.C.
.
APTHD:
HIETS: .WORD
0
;;TWO HIGH BITS OF 18 BIT MAILBOX ADDR.
MBADR: .WORD
SMAIL
;;ADDRESS OF APT MAILBOX (BITS 0-15)
TSTM: .WORD
;;RUN TIM OF LONGEST TEST
PASTM: .WORD
;·RUN TIME IN SECS. OF 1ST PASS ON 1 UNIT (QUICK VERIFY)
UNITM: .WORD
~iADDITIONAL RUN TIME (SECS) OF A PASS FOR EACH ADDITIONAL UNIT
.S8TTL i~¥~~ HOg~~END-S IL/2 ;;LENGTH MAILBOX-ETABLE(WORDS)

000'114
000046
060644
000052
000000
000714

38l
905
906

li;;*~~~:I*;~;:*;:*:;~*::*:;*:::~;=;;*:~=*::t**********************
5;****~** *~***~*************i~~*********** *********************
.SX=.
;;SAVE CURRENT LOCATION
5~~4
Ilj~1 ~~'E~T~~ILuJO POINT TO START OF PROGRAH

I

877

B80

;*LOCATI~~1~4CONTAINS 0 TO CATCH IMPROPERLY LOADED VECTORS
DISPREG: .WORD 0
;;SOFTWARE DISPLAY REGISTER
~~Cf¥l St%~¥~NGOADDRESS(ES
;;SOFTWARE SWITCH REGISTER
JMP
@#START ;;J~MP TO STARTING ADDRESS OF PROGRAM
:S~¥~L APT PARAMETER BLOCK
;PUT APT HEADER 1M STACK AREA

r

RH
876

aU

1:~~&u~~gIE¥oLgit~hO~EL~~~~ ~Rip~7~N~O~~II~R~P;~+2,HALT"

000000
001120
888888
000000
000014

00'710
00'112

'*USED IN THE PROGRAM •
• =1000
SCMrAG: .WORD
TSTNM: .BYTE
ERFLG: .BYTE
ICNT: .WORD
.WORD
t~~RUi .WORD
ERTTL: .WORD
o
ITEMB: .BYTE
o
ERMAX: .BYTE
ERRPC: .WORD
~
CDADR: .WORD
o
BDADR: .WORD
o
GDDAT: .WORO
o
BDOlf: .WORD
o
.WORD
.WORD
$AUTOB: .BYTE
o
SINTAG: .BYTE
o
.WORD
oDSWR
SilR:
.WORD
DISPLAY: .WORD DOISP

~

8

g

I

H~i

Ul5~~g

TPS:
TPB:
NULL:
FILLS:
FILLC:
TPFLG:
REGAD:
REGO:

tH 64
117 66
.BYTF.
.BYTE
• BYTE
.BYTE
.WORD
.WORD

000000

REC3:
REG4:
REGS:
TMPO:
TMP1:

• WORD
• WORD
• WORD
.WORD
• WORD

000000
000000
0008~~

TMP4: .WORD
TIMES: 0
ESCAPE:O

g8g888
000000
888888
015

000012

SEQ 0016

ung u

88:J8~

700

8g:~89

CQKDA-C KD11-K BASIC LOGIC TRSTS
CQKDAC.Pll
07-NOV-78 14:09

an

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 17
BASIC DEFINITIONS
PWRVEC= 24
;;POWER FAIL
S!i~g~~lo¥RI~AP (EMT) **ERROR**
¥~n~~c=~~
;)TTY KEYBOARD VECTOR
"TTY PRINTER VECTOR
PIRQVEC=240
;;PROGRAM INTERRUPT REQUEST VECTOR
.SBTTL TRAP CATCHER
.=0

:~~~i

i~~~ i

:~g:g

: =8:8

~Hf'i .ASCIZ
:ll~II

Lr:

g
12

8
0

80
0
00
0

80
'I'>
<12>

i'********-***********·*********

;;START OF COMMON TAGS

SEQ 0017

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NDV-78 14:09

u~

§14
935

936
937

944
945
94~

U8

§~}9

001124

00tt32
001134
001136
001140
001140
001141
00q42

88lt~2

000000
000000
000000

888888

000000
000000
000000
000
000
000000
000000
000000

~~A~I: .WORD
FATAL: .WORD
TESTN: .WORD
PASS: .WORD
DEVCT: .WORD
UNIT: .WORD
MSGAD: .WORD
MSGLG: .WORD
ETABLE:

AMSGTY
AFATAL
ATESTN
APASS
ADEVCr
AUNIT
AMSGAD
AMSGLG

SWREG: .WORD
USWR: .WORD
CPOOP: .WORD
*

AUSWR
ACPUOP

~~:A:

:~'i~

tl~:M
ASWREG

95

§~~

957

958
959
960

~~~

963

964

§g~

~~~

~~O

001150

!~I 88il~g 88383~
97~ 8811~~ 88ZZ80
!~~
001160 064640
980
065061

fit 08116~ 88ZZ80
ii~ 881lIg 8~88~g
93~ 001t7~

000000

II'~~j ffl~IJ
fl!!~l
881~10 88388

6

!i~ g81~li 8aZZ6~
999

001220

0012~2

864660
00000

188~ 881~2~ 88Z668

1804

001230

864650

t~~! ggl~~~ o~~~~~

tiff

~~t~il ~~t~'f

~lA~~s~ftIL¥~~E CODE
;;FATAL ERROR NUMBER
;;TEST NUMBER
;;PASS COUNT
;;DEVICE COUNT
;;1/0 UNIT NUMBER
;;MESSAGE ADDRESS
;;MESSAGE LENGTH
;;APT ENVIRONMENT TABLE
~1~~II~81=~=i ~~~~ BITS
;;APT SWITCH REGISTER
i";USER SWITCHES
2CPU TYPE,OPTIONS
ITS 15-11=CPU TYPE

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 20
ERROR POINTER TABLE
.S8TTL ERROR POINTER TABLE
;*THIS TABLE CONTAINS THE INFORMATION FOR EACH ERROR THAT CAN OCCUR.
;*THE INFORMATION IS OBTAINED BY USING THE INDEX NUMBER FOUND IN
;*LOCATION SITENB. THIS NUMBER INDICATES WHICH ITEM IN THE TAB ~ JS PERTINENT.
S:=gt~~i
{iC~lti~~ I~ ~H~H~A~~~Ycb~~iI:~NI ~~l:T~~s(i~~tA~NED AS FOLLOWS:
;POINTS TO THE ERROR MESSAGE
EM
JPOINTS TO THE DATA HEADER
DH
;POINTS TO THE DATA
DT
,POINTS TO THE DATA FORMAT
OF
SERRTB:
;ITEM 1
; ITEM

8011~2

1000

SEQ 0018

/~4=OA,11/05=02,1l/20=03,1l/40=04,11/45=05

*
ETEND:
MEXIT

001150

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

971
972

PAGE 19

BIT 1o=R~1£ ¥IaE'te8c~7,Q=10
BIT 9=FLOATING POINT PROCESSOR
BIT a:MEMORY MANAGEMENT

§~

956

15:26

~~;~;************************************************************

881B8
001122

~n 88H~8

940
941
942
943

MACYl1 30A(1052) 15-NOV-78
APT MAILBOX-ETABLE
.SBTTL APT MAILBOX-ETABLE

2

EM1

;S/B DST WAS DST DEST OR) TEST (PC) (SP) (PSIII)
SREG2, $REGl,$REGO,SERRPC,SREG5,SREG6
;SREG4, SREG),

5n~
DT2
o

;S/B OST WAS OST DEST (IR) TEST (PC) (SP) (PSIII)
IS R3
!SREG4, SREG3, SREG2, SREGl, SREGO,SERRPC,$REG5,$REG6

o
DTl
o

; ITEM 3 EM)

8T3

o

;ITEM 4 ~:M4
DH4
DT4
o
ilTEM 5
EM5
o
DT5
o
i ITEM 6
E"46
o
DT6

o

; IfE'" 7 EM7

; ITEM

oDT7
o
10

EMI0

8uo
o

;S/B SP
;SREG4,

WAS SP
SREG3,

(IR) TEST (PC) (PSW)
SREGl,SREGO,SERRPC,$REG6

;S/B DST WAS OST DEST (IR) TEST (PC) (SP) (PSW)
SSREG4, SREG3, SREG~~ ~~EG1, $RECO, $ERRPC, $REG5, $REG6
lOR) TEST (PC) (SP) (PSW)
iSREGl, SREGO, SERRPC, $REG5, $REG6
DEST (IR) TEST (PC) (SP) (PSW)
;SREG2, SREGl, SREGO, SERRPC, SREG5, SREG6
;WAS DST DEST (IR) TEST (PC) (SP) (PSW)
;SREG3, SREG2, SREG1, SREGO, SERRPC, $REG5, SREG6
;S/B RES WAS RES OST OP STC OP TEST (PC) (SP) (PSW)
;SRF.G4, $REG3, $REG2, SREGl, $REGO, SERRPC, SREGS, $REG6

SEQ 0019

CQKOA-C K011-K BASIC LOGIC TESTS
CQKOAC.P11
07-NOV-1~ 14:09
1013
1014 001250 065260
1015 0017.52 065276
1016 001254 070024
1017 001256 000000
1018
1019

IB1Y ggl1gg
001264

g~1j?i

001266

067664
000000

1

88111g
001274

8giji~

1022
1023
1024
1025

18~~

028
1029

18j~

1032
1033

181~

1036
1037
103R
1039
1040
1041
1042
1043
1044
1045

001276

0676fi4
000000

001300
001302

065425
067372

001310
001312
001314
001316

065445
067303
067630
067756

881j8~

MACY11 30A(1052) 15-NOV-18
ERROR POI~TER TABLE
iITEM 11

15:26

PAGE 21

5~H
OT11
o

LITEM 12
r;M12
~~~O DID NOT ABORT IN USER MODE
OH23
OT23
iSERRPC

o

LITEM 13
~;MI3
iMEO EXECUTED IN USER MODE
OH23
iPC
;SERRPC
OT23

o

886883

18~~ 881~~~ 8g~~~8

15
iMICROBREAK TRAP-TO-4 DID NOT OCCUR
iERRPC MEOCOOE MJCROBK REG.
OH15
OTIS
fg;~PPC,$TMPO,$TMP1,0
DFt5
i ITEM 16
}CACHE DATA LOGG~O INCORRECTLY
EM16
OH44
iPC EXPCT RECVO
OT24
;SERRPC,SREG1,SREGO,0

18~~

F.1445

~H~'"

001320

067034

00137.6

000000

001330
001332
001334
001336

067005
067606
067670
000000

18g~

001340
001342
001344
001346

065704
067606
067670
000000

o

1064
1065
1066
1061
1068

001350
001352
001354
001356

065534
067335
067640
067760

B1i1

1048
1049
1050

1053
1054
1055
1056
1057
1058
1059
1060
1061

1

o

iITEM 17

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKOAC.P11
07-NOV-7S 14:09
1069
1070
065557
1071
067335
1072
001364 067652
001366 067760
1075
076
017
8g~~~~
018
1019 001374 067664
10AO 001316 000000

IBH

iC.CHE TAG LOGGED WRONG
iPC F:XPCT RECVD
i$ERRPC,$REGO,SREG1,0

OH44
DT24

o

iITEM 20
EM26
iPHYS. BA LOGGED WRONG
iPC CXPCT RECVO
OH44
DT24
iSER~PC,SREG1,$REGO,0

~~;t~ 21;CSP CONSTANT WRONG
OH17

iPC MEOCODE EXPgCTO RECEIVD

$8~~~bC,$TMPl,STMP2,$REGO,0

MACY11 30A(1052} 15-NOV-7S
ERROR POI~TER TABLE
22

g8Uzg

15:26

PAGE 22

;BAO DATA READ BY A MED
iPC MEOCODE EXPECTO RECEIVD
~g;§:bC,$TMP1,$TMP2,STMP3,0

23

88HH

18R~

;rW (JOO PC TRAP
;PC
iSERRPC

1°84

;ITEM 24
1':10124
;000 AOR. BIT NOT SET IN CPU ERROR REGISTER OR Loe JAM
DH24
OT24
~~~R~~g;~~E&~~~~~GO

1089
10QO

; I'I'EM 25

1083

18~g
18R~

o

109~

001410

065510

EM17

18~4

0014t6

000008

8T24

IOQ3 88Ul~
1095
1096
1097
1098
1099

H8°
110~
1103
1104
lOS
118~

itOP.

1109
1110

liB
lU

l115
UH
1118
IB3

h~~

IB~

SEQ 0020

8~1~~6

OH44

; ITEM 26

001430
001432
001434
001436
001440
001442
001444
001446
001450

ggU~~

001456

065704
067436
061706
000000

EM26
DH26
OT26

065731
067520

; ITE~ 27
EM27
;CACHE PARITY ERROR LOGGED IN BACK UP MODE
DH27
;PC LOGPBA LOGOATA LOGTAG
OT27
;SERRPC,$REG3,$REG1,SREG2

g~~~n

;ITEM 30
r:M30
;CACHE PARITY TRAPPED WHEN OISA3LED
OH23
;PC
i$ERRPC
OT23

886665

867664
00000
066604
067312

836883

o

iPHVS. BA LOGGED WRONG
;PC PA<11:16>-EXPCT-PA<15:0> PA<11:16>-RECVD-PA<15:0>
i$ERRPC,$REG1,SREG2,$REGO,SREG3,0

o

o

; In;M 31
E/0431
iNO CACHE PARITY TRAP
OH23
T23
~~~RRPC

8

; ITEM 32

SEQ 0021

CQKOA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7R 14:09

IB~

1127

001460
001462

066113
067553

IH* 881:U 886688
hjO

M1CY11 301(1052) 15-NOV-78
ERROR POINTER TABLE
EM32
DH32
8T25

HU

144
145
1146
147
1 148
149
150
1151

1

8800001 s8~
506

} ITEM 35
EM35
}INTERNAL ADDRESS ERROR BIT NOT SET IN CPU ERROR REGISTER OR LOG JAM
}PC CPUERR LOGJAM
DM24
OT24
;SERRPC,$REG1,SREGO

o

; ITE'" 36
EM36
;LAST INTERRUPT/TRAP VECTOR NOT LOGGED IN FLAG REGISTER
DH25
}PC FLGREG
OT25
}$ERRPC,$REGO

11§~

o

in~
luo

;ITEfo! 37
EM~74
OM
DT 4

1a~

o

1

un

82~jH

80607607000

IH~

117~
1180

88ng~ gg~~H

564
081
o 566

067700
000000

8n~H

82~~H

o ~06

000000

H~} 001610
gH
1 8~ 881
1 o~ o 616

nun

o 576 886088

In
1m8n~8i
00

t 8!

Ij

h

o

nun

8U~U

82~~2~

88~038
0766
1400

MACY11 30A(1052) 15-NOY-78
ERROR POINTER TABLE

0

;ITEM 46
}AUTO-INCREMENT (DECREMENT) DID NOT OCCUR
EM46
TEST
DH46
• PC
PRA
DT46
;SERRPC $ MP
SREGO
0

~~~ = 07~~8800
UBREll(= ~H770
MJMERH:~
C
UER =
ceM=177 46
iIIIiIP=BIT6
DPTRP=BITO
PABORT=BIT7
LO=8IT,
H =8IT
TIG=BI 5
.EQUIV SP,KSP

88

Imu
H")

22

;*

8U~n

0001

PAGE 24

SEQ 0023

tinH

°lgjl

1

15:26

iLO BYTE & TAG PARITY BITS NOT SET IN LOG SERVICE
£1442
DH42
~~~R~~g;n~gto
DT25
0
;ITEM 43
,LO BYTE & TAG PARITY BITS NOT SET IN MEM ERR REGISTER
,PC MEMERR
;SERRPC,$REGO
DT25
0
; ITE~ 44
EMEISi ,EIS SET CONO CODES WRONG
TEST
PC
OHEIS
~S~~~AD ~~~G~AS-~~~G\ ~~lG~/B-~~~Gl SERRPC
SREGO
DTEIS
0
,ITEM 45
EHEIS2 ;E1S GAVE WRONG RESULT
TEST
PC
DHEISI
U~Gj/B-~~~U
SERRPC SREGO
DTEISI S$&~~AD ~~~G~AS-~~~~~

8 8a~8

i ~6~3

~~~Rg~u~~~ ~a~J~BT RE-ENABLED, ODD ADR BIT CLR IN CPUERR

;SERRPC,SREGl,SREGO

i ITEM 42

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

~99

EM40
OH24
DT24

; ITEM 41
EM41
,INSTRUCTION NOT ABORTED IN CACHE ABORT MODE
DH~~
;PC
8T·
iSERRPC

1175

11i!

;LOG FIRST MODE DID NOT INHIBIT ERROR LOG AFTER FIRST ERROR

~~~RS~g;~~E~~;~~~GO

;ITFo'" 40

40

11~0 88H
0015H
001546

HB~

Jt~RRPC

6766t
000000

l l~~

1U~

;~EMORY ERROR REGISTERS INCORRECT
;PC MEMERR
T$ERPPC,$REGO

;NO ILLEGAL INTERNAL ADDRESS TRAP

8°~~1~~

154
1155

h8l
118

SEQ 0022

,ITEM 34
500

1

llb~
1164
165
166
167
16~

23

}TIMEOUT BIT NOT SET IN CPU ERROR REGISTER OR LOG JAM
;PC CPUERR LOGJAM
;SERRPC,SREGl,SREGO

lli~

1140

PAG~

,ITEM 33

IHJ
tb~

15:26

MED OPERATION CODE DEFINITIONS

~5:~i=i~6~2

~~~~:~!iU2

$U~A
$U~A

CQKDA-C KDI1-K RASIC LOGIC TESTS
CQKOAC.P11
07-NOV-7S 14:09
1237
000344
1238
000100
1239
000300

1~4~
1~2j

ggg~81
8g81g~

MACYll 30A(1052) 15-NOV-i8
ERROR POINTER TAFLE
WRFLAG=344
RDLJAM=100
wRLJAIo'=300
RDLSERVICE=101
WRLSF.RVICE=301
RDLPBA=10;
WRLP8A=30
RDLCUA=10
WRLCUA=303
RDLFGINT=104

15:26

PAGE 25

1~44

000103

1249
1250
1251
1252
12~3
1254
1255
1256
1257
12~8
1259
1260
1261

000305
000106
000306
000107
000307
000071

WRLWHAHI=305
RDLDATA=106
WRLDATA=306
PDLTAG=107
WRLTAG=~07
SW801=71

177560
177562

1264
1265

177546

;ADDRESS ASSIGNMENTS FOR DLII CONSOLE TERMINAL INTERFACE
RCSR=177560
RCVR. CONTRCL I STATUS REG. ADDRESS
ROBR = 177562
RECEIVER DATA BUFFER REG. ADDR.
TRANSMITTER CONTROL I STATUS REG. ADDR
~g~~ ~ HH~l
TRANSMIT DATA BUFFER REG. ADDR.
LKCSP= 177546
LINE CLOCK ADDRESS

li~~
l~~~

88818~
88g18~

Bgj

~~tt~1~I~I8~

IH~U

CQKDA-C KDl1-~ BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

MACY11 30A(1052) 1S-WOV-78
ERROR POINTER TABLE

;"'ICRO ADDR. IN SWAB INST.

15:26

PACg 26

l~~~
1~68

1~690

I 17~

********************************************************************

*******~~I!~*~!2~1*:~~:*!~~1*;~~~1111~*2t~~~1***********************

1

1273

I~~~ 881~~8
l~~. 001632

Bn

000401
000000

lU\
l~at

1285

I~B9

122B8 89
I1~90
3~

001634
001636
001640
00164;'

000402
000403
000000
000775

001644

000000

i~U

~97 001646 100403
2~S
001650 001402
~OO 8811~~ 18~a8~

1 3
1 04
1305

00165b
001660

000000
000772

1~8~

2

001662
001664

000277
100003

1317

00167:1
001674
001676

103402
000000
000771

UH
Bl~
lil~

1320
1321

flR
HALT

I3T002

iTEST THE BR FORWARD
;BR FAI~EO TO LOAD PC PROPERLY

********************************************************************

.SBTTL BT002 "BR" TEST - NECATIVE OFFSET
********************************************************************
BT002: BR
1002
;GO TO TEST INSTRUCTION
A002:
BR
BT003
iGO TO NEXT TEST
J::X002: H'LT
iJUST H CASE
1002:
RR
;TEST TijE BR - NEG. OFFSET
A002
£2002: HALT
;BR FAILED WITH NEG. OFFSET
• ********************************************************************
,
.SBTTL BT003 "8ASI~ CON~. BR" T~ST - ~~l~S rLEAR~2
; ************************ **** ******* ***** * ******* ************
AT003: BM.I
E003
°BR IF "N" SET
SEQ
[:;003
;SR IF "z" SET
flVS
EOO:1
iRR IF "V" SET
QCC
HOO4
;BR IF "C" CLEAR
E003:
HALT
~~~R~gE-F~~~SO~AI~IDA¥gvEL~f;SU~A'h'~RT"
IlR
I'T003
;LOCK ON HARD ERROR
i

1308
1309

11i311~

FoOOl:
i

1 93

11108~

START:
BT001:
;

1280

88U~li ~g;88f

SEQ 0024

*****.*****************.********~********************* **************

.S8TTL 8T004 "scc AND CONDo BR·S" TEST - FLAGS SET
; *********************************************************.**********
BT004: SCC
;I-'AKE N:C=11l1
1004:
PPL
E004
iBR IF "N" FAILED TO SET
BNE
1':004
iSR IF "Z" FAILED TO SET
BVC
;BR IF "V" FAILED TO SET
1::004
BCS
BT005
;BR IF "C" SET 01(
f:004:
HALT
;F.RROR - ONE OF THE ABOVE BR·S FAILED
;OR THA SCC FAILED TO SET ALL THE FLAGS
BR
BT004
;LOCI( ON HARD ERROR
; *********************************************************.**********

SEQ 0025

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKOAC.Pl1
07-NOV-78 14:09

MACYll 30A(1052) 15-NOV-78 15:26 PACE 27
BT005 "CCC AND COND. BR·S" TEST - FLAGS CLEARED

i~~~

******;~~IIl*ili~~*~~~~*t~~*~~!~**~~;~:*l~~l*;*t\t~i*¥~~t~~~********

1324

CQKDA-C KD11-1( BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
1~25
001700 000257
l~~~ 001702 100403

ilji

1 ~~

1 34
lH~

tid

1 41
11 44

1i

uun inn!
001712
001714

000000
000771

l1~2\
60

1

d

001734
001736
001740
001742

8T006:
1006:

88899!

E006:

n

001756
001760

380

sU U ::~::

BT005

;ERROR - ONE OF THE ABOVE BR-S FAILED
lOR THE CCC FAILED TO CLEAR ALL FLAGS
iLoeK ON HARD ERROR

~~~LhUIED

005700
001402
000000
000772

cec
CLP
BEQ
HALT
BR

RO
BT007

HilKE N:C=OOOO
;TEST THE CLR - IT SHOULD SET HZ"
iOR IF CLR SET HZ"

BT006

Ifg~~Roi fik~DF~~k~B TO SET HZ"

BT007:
1007:
E007 :

CLR
CCC
fST
BEQ
HALT
SR

RO

S=t~~ ~~g~oo0800000

RO
IlTOIO

;TEST THE TST - IT SHOULD SET "Z"
;BR IF HZ" SET OK
;ERROR - CLR FAlLED TO LOAD RO WITH

8T007

St5~KZ~~0~~R8RERa6RFAILED

********************************************************************

, ******;~~Il~*~1~12*:~~~**1~:*I~~1*;*~~~~~~*~~I*:~:*~!~*:~:**********

li
7t

I

~¥g~6

} ********************************************************************
} ******;~~!1~*~1221*:1~1**!~:*1~~1*;*~~1~~*1~~*~~~*******************

i

001744
001746
001750

~6

HALT
BR

********************************************************************

000257
005000
001402

l 6~
t ~6

I ~~

R~~

E005:

SFQ 0027

} ******;~~ll~*~t~~~*:~l~**l~~*l~~I*;*i~l~*l~~*~~:*ill****************
001716
001720
001722

!II 881iJ~ 88~~g!
5~1
,,~

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 28
BT005 "CCC AND CONDo BR-S" TEST - FLAGS CLEARED
BT005: CCC
iMAKE N:C=OOOO
1005:
BMI
E005
;BR IF "N" STILL SET
BEQ
~005
;OR IF HZ" STILL S~T

J

111 8811~~
~~

SF.Q 0026

RTOI0:
005100

1010:

00°000000
771

EOI0:

ggH~~

CLR
CCC
COM
OPL
8CS
HALT
BR

RO

~=:~~ L~~~ooogooooo

RO

~~~~1

iTEST THE COM - [RO] SIB
IB~ I~ :~: ~~IL~~ TO SET

OT010

iERROR - COM FAILED
,LOCK ON HARD ERROR

117717

********************************************************************
.S8TfL BT011 "COM

'P AND ADC

\R" TEST

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

HH
1383

IU~

1386
1387
1388

001762
001764
001766
00171'0
00171'2
0017jl 4

005000
000257

BTOll:

00~100

1011 :

005500

EOll :

1394

;

Hg~

,

1397

1400
148,

403
404
405
406
1407
1408
1409
1410
1411
1412
1413
1414
1415

1

002002
002004
002006
002012
002014
2016
o08 2020

un
U~~

1425
1426

0 20:22
o 2024
o 20:26
002030
0 1034
o 2036
o 2040
002042
002044

8

005000
0002<)7
012700
00<;100
001402
000000
000770

177777

005000
005100
000257
012700
005100
005500
001402
000000
000766

000000

002060

000277
005010

012700
000277
005020
001002

1014:

177776

88Hg~ 888~~f
0021.06
0021.10

f4~~

88~Ht 888~g~

1~6~

005700
001402

1464

1465
1466

1467

IUS
1470
1471

UH
1474

1475
1476
1477

1478
1479
1480
141l~
148
148
1484

0021.16
0021[22
0021.24
002126
0021130
002132
0021.34
002136
002140
002142

012700
000257
005110
100003

002152

1490
1491
1492

gg~Ug

002154

177776

~g~8g2

10340~

005010
000000
000765

lU~ 88~1~3 8b~6~8

14B7

lU§

:

~183 ~~I

CLP
CCC
MOV

RO

[RO]
000000
;"'AKE N:C=OOOO
;TEST T~E ~ov - (RO] SIB

J~lKE

177777

I~DK~F[~~a ~F¥OOOOO
31012

;E~ROR

;LOCK

- MOY FAILED TO LOAD AO WITH ALL l'S
HARD ~RROR

O~

,
.SHTTL BT013 "MOY uN R" TEST WITH N=OCOOOO Ca.J:177777
; *************************~*'***.****************.'**** i**_*****_****
IHl
RT013: CLR
~~AKE [ROl = 000000
COM
1<0
;MAKE [RO] = 177777
CCC
;SCOPr: SYSC
1013:
M'JV
UO,'"IO
;TEST T4E ~OV - [RO] SIB = OOOCOO
CU~
RO
;MAKE [RO] = 177777, SET "C"
PO
;MAKE [RO]
000000
'DC
BRQ
BT014
;BR IF "Z" GCT SET
E013:
~ALT
,ERROq - !-lOY HILRO TO CLEAR FO
prOD
91<
;LOCK 0'1 !lARD ~:HFO~
· *.********.***.***********.*****~.**.*****.*********** *******.******
,
.S8TTL 81014 "CLR (Rl" TEST - [RJ = 177776

000257
005120
100003
001002

177776

MOV
!lDV
SCC
CLP

(RO)

;SET UP STACK POINTER
;RO rOI~TS TO rs~
;MAKE [PswJ = 017
;TEST TilE CLI) - IT SHOULD CLEH PSW

MACYll 30A(1052) lS-NOV-7B 15: 26 p·\G~ 30
BT014 "CLR (R)" TEST - [R]
177776
R~jE
3T015
~BP IF CLR MADE HZ" = 0 - IT SHOULD
E014:
HALT
;ERROR- CLR FAILED TO CLEAR PSW
BR
BT014
,LOCK ON HARD ERROR
• ********************************************************************
,
.SBTTL HT015 "CLR (R)+" TEST - CR] = 177776
;

002070
002074
002076
002100

U~~

1459
1460

1012 :

8T014:

81H8~

lU~

nu

I~~i~ ,~~ ~g~

;BR IV HZ" DID NOT SET
;BA IF "C" SET OK
;ERROR - CUM OR AOC H [LED
,LOCK ON HARD ERRO~

=

1443
1444

1456

8TOll

;MAKE [~O) : 000000
;MAn; N:C=OOIiO

******;~~l!~*~!Zl~*~~~~*.;~,~:*!~~!*~I!~*~~lZZlZZ,~;l;222222********

REQ
HALT
BR

1

U~~

RO
HO
PO
EOll
BT012

CIJ~1

CQKDl-C KD11-K BlSIC LOGIC TESTS
CQKDlC.P11
07-NOV-78 14:09
1437 002062 001002
1438
439 002064 000000
440 002066 000767

44
44
1144i

CLa
CCC
COM
ADC
ANE
BCS
'HLT
BR

; ***************************i****************************************

IH~

U1~

0028

***************************.****.***************~*******.***~*******

8T012:

U~~

1429
1430
143
143
1435
1436

S~Q

· ********************************************************************

8
UH
1418
1Hg

PAGE 29

; *******************************.************************************

B~6
~8~~8~
000000
1H~ 8g~ Zi:g 000770
1393

B§~

MACYll 30A(105l} 15-NOY-7S 15:26
BT011 "COM ~R AND ADC 'R" TEST

********************************************************************

BTOI5:

I.IOV
SCC
101'5:
CLR
RNE
U01SA: HALT
BR
A015:
TST

~RO POINTS Te psw
;MAKE [PSW] = 017
;TEST THE CLR - IT SHOULD CLEAR PSW
;BR IF CLR MADE "Z" : 0 - IT SHOULD
;ERROR- CLR FAILED TO CLEAR rs~
BT015
,LOCK ON HARD ERROR
RO
;AUTO INC SHOULD ZERO ~o
REQ
BT016
;BR IF IT DID
E2015: HALT
JEFROR - 'UTOINC. fAILED
BR
BTOI5
;LOCK ON HARD ERROR
• ********************************************************************
,
.SBTfL 8T016 "COM (Rl" TEST - [P] = 177776
; *******************.******~i************************** *:t************
BTOI6: MQV
ItPSW,RO
JRO POINTS TO PSW
CCC
;~AXE [PSW] = 000
(RO)
1016:
CO'l
iTEST THE COM - CPSw] S/8
357
BPL
EO 16
'N:C:llll ?
fiNE
E016
BVC
F.OHi
8CS
BT017
(RO)
E016:
CLR
JGO Til KEl{NEL MODE
HALT
;ERROR - COM fAILED TO ~AKF. [PSWJ = 357
BR
flT016
;LOCK ON HARD ~RROR

BT017:
1017:

foIOV
eLI<
CCC
COM
BPL
BNF.

I"P Sw, PO

(RO).
A015

ttPSW,RO
(PO)
(RO).
EA017
E.\017

,RO POINTS TO PSW
;~AKE (PSW] = 000
;SCOPE SYNC
;TEST THE CO~ - [PSWl SIR
iN:C : 1111 ?

351

SEQ 0029

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NDV-78 14:09

MACVl1 30A(1052) 15-NOV-7S 15:26 PAGE 31
BT017 "COM (RO)+" TEST - CROl = 177776
BVC
iAH7
BC!)
EA017: MOV
fkH/Rl
CL!1
;COM FAILED TO SET ALL FLAGS
HALT
}LOCK ON HARD ERROR
8R
BT017
,SHOULD MAKE CpS] = 111171
AOI7:
COM
;SHOULD MAKE CR ] = 000000
ADC
~8
P'::Q
PT020
#PSW,Rl
F.2017: MOV
(Rl)
CLR
HALT
SR
BT017

l:§~ gg~l~a 18~~8~

1495

11~~ 8g~i~~ 88~8~!
I~Zg 002176 000762

1~8~
8g;~g~
150l

177776

88'tgg

iig~ 88~~~~ 8a~3~1
g822lt ggg~gg

177776

1508

g
Ui
Isd

********************************************************************
******;~~II~*~!2~2*:~~X**~~,~~:*!~~~***~lt~*~~!1;11111 1,~~~1;222222*

1513
1514
15p

002220
002224

Uti

08~B4 g8~~g~

1do
1521

H~~

1524

l~~g

1527
1528
1529
l530

t~~,

n~i

1516
1g~~

5~9
11540
ls~~

1543
\544

t~~g

012700
005010

177776

8T020:

88231~ 88~88~
00223b

010100

007240

100402

1020:

88B:i

88g~2~

002246
002250

00al00
001402

A020:

g8~~~~

8g8~g~

E2020:

1

BT 021:

88B~6 88~~88

00226g
002264
002266

005001
000257
010100

002270

001402

000257
012737

UHU

b8~8g~
Io 40

1~7~
157

1571

lUi

581
158i

1~3

1U~

nu
H~g
p97

598
f599
600

U8~
1604

Rt/RO
A020

~=t~~ E~t~;0207~77

SEQ

[lT020
RO
BTOil

HALT
AM

RT020

If~~~P~~OXA~~t~~RoiO LOAD 110 WITH 1'S

HALT
BR
CUM

gk~

CLR

1021 :

to40V

E:A021 :

BEQ
HALT
AR

RO

RO
HI

s=~~~ E~83;9~9999

PI/RO
A021

;MAKE CRll=OOOOOO
;SCOPE SVNC
;TEST THE MOV
JBR IF liZ" GOT SET

AT02l

~rg~KF~ILRRR~O~~~~R"Z"

MACVll 30A(1052) 15-NOV-78 15:26 PAGE 32
BT021 "MOV RA,RP" TEST WITH CRAJ=000000/CRBl=177177
A021:
£2021:

COM
Aoe
!\EQ
HALT
GR

110

RO
AT022

AND SET "C"
;SHOULD MAKE
MAKE ~RgJ=AZ717~
;SHOULD
R]=
000

iBR IF "Z" SE

~L8~KFAAL"~R~OE~~~~ RO
PH21
; *************************************9******************************
; ******;~~!!~*~I2t~*:~2I**I~,fl~:*I~~!*~II~*~;11,~:11IZ11************
000017

177776

ST022:
T022:

E022:

ooo~og

000 6

CCC
M[lV

APL
fiNE
BVC
BCS
IiALT
BR

1I11,@#PSW
~;022

E:O~;
EO

;MAKE CPSWl=OOO
JUST TfiE MOV
;M:C=l111

PTO 3
8T022

;MOV FAILED TO LOAD PSW
;LOCK O~ HARD ERROR

; ******:;:;;~*;;;***:;~;**::**~;*::*;~;;*;*;~**::*:**** :**:*i'i16****
i ****************~~*********,S**1****~****1***~**l*11,~ *~~*1 * *****
002334

012700

g8H:~ 8An~,

002346

88H~g

88B~~

000 64

88HB

8T023:

MOV

~OV

CCC
1023 :

b8~88~

10 00
10340

002364
002366

1777'/6
000017

010120

002p4
002 56

m
589

/<40 V

;MAKK C~~]=888~0~

;SCOPE SYNC
;TEST THE MOV
;BR IF "N" GeT SET
;ERROR-MOV FAILED TO SET "N"
;LOCK ON HARD ERRUR
;CROJ SHOULD GO TO 000000
;BR IF IT DID

cce

8889g~

002310
002312

l~~g 88~n~
i5~~
~76

!U

; ********************************************************************
; ******;I~Il~*~I2l1*:~2~**~I,~':*I~~I*~!1~*~~!1:222222,~~ll:1111Il***

H~i

i

i+f'SW'RO

~ 1'0)
o
Rl

(;3/0'

FHH

EA020:

88
l~~l
555 88H8a
155fi
1~~~

CLR

ece

CQKDA-C KDI1-K nASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
la49
1550 OO~276 °8510~
J8~ 80ng
l~~~

ls63
5fi4
565
56~
56
568

"I0V

CLR
CLH

l~:~ 8g~~~1 8g8~~8

H~6

SEQ 0030

MOV

Rl,(I~O)+

ElO~~
EAO
HO 3
_023

PNP.

EA023:

00570~

A023:

00140
000000
000760

E2023:

17, '1

QPL

Bve

ooo~oo

IPSW~RC

BCS
7 "CMP

000001

3

PT026

i ***_************i*********'~****************************************

012700
000264

t~H~

E025

,

002520
001524

166867
1 8
168

R;::t~

;lUKE [PSWJ=OOO
;TEST THr. CMP

· *************************************************************.- •• _**

196~

1681

1117,@IfPSW

REQ

t690
1671

1~~9

CMP

~~LT
B 025
!Ea~KFa4Lft~R~0~5~~IR HZ"
• ***************1**************,*************************************
,
.SBTTL 8T026 "CMP ~N,~.A" WITH N < (Al
; *************************~***.***************~**********************

1667

11~1

ecc

E025:

CQKDA-C KD11-~ BASIC LeGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
1661
1662 002512 001002
1663

1!li

BT025:
1025:

PR

U~~

1642
1643
1644

SEQ 0032

,

16 8
1619
1620

H,~

MACYl1 30A(10S1) IS-NOV-7S 15:26 PAGE 33
9T024 "CMP #N,@,A" TEST WITH M=(A}
1024:
c~p
~13,@#PSW
;TEST THE CMP
BEQ
BT025
;BR IF HZ" GOT SET
E024:
HALT
;CMP FAILED TO SET HZ"
BR
8T024
;LOCK ON HARD ERROR

540

001
88
~~i
00 556
002561)
00256:2

01~li~

812701
000257
022001
001402

AZ~118

000340

177776

BT032:

1032:

MOV
1I0V

MOY
CCC
CMP
BF.Q

rsw
340~~fPSW
RO
340, ,

(RO)+,Rl
A032

ggH~;~

8g8~~2

EA032:

H~LT
~R

00257~

005700
001402

1032:

TST
AE:Q

BT032
RO
BT033

E2032:

HALT
BR

RT032

002572

l~~g 88~~i~ ggg~gg

170~
1~84
178~ gg~~g~ gl~i~~ A66118
1~8~

88~gli

8A~~gl

l7
t 7 111

0026?0
002622

022001
001002

l~l
h14
lil~ gg3~~~ 888~g~

t

!~iKtO~~I~J;~ SW
,MAKE tDESTJ=140
iN:C=O 00
;TEST THE CMP
;BR IF "Z" GOT SET
;CMP FAILED TO ACCESS PSW
;LOCK ON HARD ERROR
i"2" SHOULD SET
;BR IF "Z" SET
;CMP FAILED TO lUTO INC. RO
,LOCK ON HARD ERROR

• **********.*********************************************************
,
.5BTTL AT033 "CMP lRA1+ RB" TEST WITH [SOURCE1)[RBJ
; **************************** *,*************************************
177776

'lOy
MQY
MOV

#PSW,RO
#34°'~IP5W
.330,

;RO POINTS TO PSW
,MAKE [PSWJ=340

1033:

CMP
3'lE

(RO)+,R1
A033

EA033:

HALT
RR

BT033

iTEST THE CMP
;BR IF HZ" GOT CLEARED
;CMP FAILED TO ACCESS PSW
;LOCK ON HARD ERROR

BT033:

000330

sr.:z

~~~¥ET~~E~Ia=~f~

MACYll 30A(1052) 15-NOV-7B 15:26 PAGE 35
BT033 uCMP (RA)+,RB u TEST WITH CSOURCEJ)CRBJ

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7S 14:09

BU

1719

ln°
172~

002630
002632

005700
001402

A033:

8889g8

E2033:

177776
000330
000340

t~j6

d31
1732

177776

8T034:

MOV
MOV
MOV

#PSW RO

C"4P

(RO)+,R1
A034

SEZ

EA034:

nu

002672

A034:

HALT
AR
TST
B~:~

BT034
RO
BT035

8g~~ig

88gn8

E2034:

~~LT

BTn~4

1748

002'100

012700

1752
11~53
54
1 55

002710
002712
002714
002716

020100
001402
000000
000770

88H~~

012700
005001
000264
020100
001002
000000
000770

1H~
173~

1744

H:5
174~

1HZ
1751
17~6

IH~

1759
1760
1761

Hgj

1764

H~~

1767
1768

lH&

HH

002~'10

1034:

U330~@#PSW
#340,Rl

022001
001002
000000
000764
001)700
001402

1736
11~37
3P
1 39
1740

002660
0026E:2
002661
002666

RO
BT034

SNE

1786

7~0

1119561

17
in
799
8go

lis}
13g~
1806
1807

l38~
tHI~

UB

nu

88H8~ 8A8g~1

002726
002730
002732

88~H~

8g~i~~

125252

02'i252

7

S

;EbPKFAhL~DRTO ~~T~ INC. RO

1H25252,RO
MOV
RO,Rl
MOV
CCC
1035:
CMP
Rl,RO
iTEST THF. CMP
SEQ
AT016
,BR IF "Z" GOT SET
E035:
HALT
;F.RROR - CMP FAILED TO SET "I"
BR
8T035
;LOCK ON HARD ERROR
; ******:;;;;~*;;~;~*:'~~;**~:*;;:'*;~;;*:i*~*;~:;*;*;;;;**************

8T035:

BT036:
1036:

gg8~~g

MOV
CLR
SEZ
CMP
ANE

s~~~~ E~~~ ~

656660
SYNC - SET "Z"
iTEST THE CMP
;BR IF "Z" GOT CLEAkED
;scOP~

Rl,RO
AT037

MACYll JOA(1052) I5-NOV-78 15:26 PAGE 36
AT037 "CMP RA,RS" TEST WITH CRAJ > [RBJ
.SATTL AT037 "CMP HA,RB" TEST WITH [RAJ ) CRBJ

SEQ 0035

; *******************************************************************
BT037:
IOJ7:

ROJ7:

CLR
MOV
SEZ
CMP
SNF.
HALT
BR

RO

;MAKE CRO] = 800000

1Il7,R1

J~~ft~Ec~IJc=- g~¥lll"

Rl,RO
81040

;TEST THE CMP
J AI< IF "z" GOT CLEARED

BT037

~f~~~RON H~kDF~a&g~ TO SET

"ZIt

• ********************************************************************
,
.SRTTL 8T240 "MOV IRAl RB" TEST WITH rsnUR~El=[RR]=l'
i *******.******* *I*******i**"**************i •• ******i*_i* __ ********
0

og,ig~ 8a~6~8

177776

RT040:

gS~i98 Sg8g9~
002772

011001

8g~66~

8~~1~~

MOV
CLP
CLR

scc

1040:
000017

MOV
CMP
BEQ

rSW,RO
RO)
1

(1l0),P1

~~6tl7

iRO POI~TS T8 PSW
;MAKE CPSWJ= 0
;MAKE [Rl]=O 0800
;MAKE IOC=l111
;TEST THE MOV
iDID Rl GET LOADED WITH 000017 7
iBR IF YES

gS~g8~ 888~gg
~03006

8jgl~

03016
003020

012700

885gA~

8T041 :

IOU:
000017

88~8~g

g8j8jl

177776

000277
012001

000000
000765

EA041:

88il8~

A041:

ti~1
88~8~~ 888~~~
18 6

188

f;r IfHg~~Ds~P

; ***************************,***********1***************************

iU~ 8SU~g
IHlg

1321

;SET THE "I" BIT
; TEST THf.: CMP
JSR IF "I" GOT CLEARED
;CMP FAILED TO ACCESS PSW
;LOCK ON HARD ERROR

• ****************ii************i**~**2***!*~*!**~*******************
.SfI,TTL 8T035 "CMP RA RB" TEST WITH CRA] = [RBJ
; ***************************,***************************************

1n~
789

ti9~

sw
~~~KkOl~~al~~ t
;MAKE CDESTJ=~40

,

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7~ 14:09
1773
1774
1ii~ 002740 005000
1777 002742 012701 000017
lii~
002746 000264
1780 002750 020100
1781
1782 002752 001002
783

1
1~~~

;"Z" SHOULD SET
;BR IF "Z" SET
;CMP FAILED TO AUTO INC. RO

• ******~a****.*~I~lj***********'l~l~*~~*~~~~*~~~~~*******************
,
.SBTTL BT034 "CMP ~RA)+ RB" TEST WITH CSOURCE]([RB]
; ************************* ****,*************************************

1724

fH~
lB~

TST
BEQ
HALT

SEQ 0034

E2041:

MOV
CLI<
CLR
SCC
"lOV
CMP
A?:Q
HALT
RR
TST
Bf;Q
HALT
BR

l~5~'RO

;RO POINTS TO PSW

(RO)+,R1
17

;MAKE N :C=I111
;TEST THE MOV
iDID Rl GET LOADED WITH 000017 ?
;BR IF YES
Rl

1

nd

BT041
RO
AT042
RT041

~~i~~ Eki~~o88800

S~8~KFA~LH~R50E~8a~
~:~"I~H9~~DG~'TSET

iMOV FAILED TO AUTO INC. RO
;LOCK ON HARD ERROR

• ********************************************************************
,
.SBTTL BT24' "XOR RA RB" TEST WITH [RAJ = ,RR] = 022020
; ***********~*** *i*********'********************* ******* * i*****

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.~11
07-NDV-7P 14:09
1829
1830 003044 005000
183~.
003046 005001
l~j~
0030S0 000257
1834 003052 074100
1835
83

i 9
1~j8

8889~8

003064

OO~COO

l3~~

1849
1850
lq51
If:lS2

g8~g~8

88il89

003102
003104

000000
000767

1~~6

l~~,
l~H~

8T043:

IO-U:

~:043

R~~

1~8°

190~
190

1904

H8~

1907

1§8~

1910
191~
191

003106
003112
003116
003120
003122
001176
003130
003137

012701
012700
000257
071100
020027
001402

125252
052525

1044:

OO~DOO

HALT
"R

8t042

8888g8

;SCOPE SYNC
;TEST THE XOR
;RESULT = 000000 ?
,BR IF YES
iXOR FAILED

eLR
COM
MllV
CCC
XIJR
TST

;flAKE [RO] = 177777
177777

RO

)(0

S~~~~E[U~C=

RO,!H
!H/RO

flEa

~~044

nALT
llR

8T043

;TEST THE XOR
fRESULT = 000000 1
iBR IF Y S

~fg~KFA~L~~RD

ERROR

.98TTL 81044 "XOR

RA RB" TEST ~ITn [RBJ=OS'525 CRAJ=125252

MOV
!lOV
CCC
XOP

n125252, Rl

c~p

~~6~51

SEQ

052525,RO

RI,PO

iMAKE [R1J=125252
;MAKE [RO]:052525

i SCOPF: SYNC

iTEST THE XOR
;RESULT = 177777 ?
iflR IF YES

~~LT
8T045
~f8~KFA~Lij~RD ERR P
• ******************************,****************2*********************
.SfltTL 8T045 "XOR RA RS" TEST ~ITH [RAJ=05'525 CRBJ=125252
; ***************************,*************************,***** *******

E044:
,

003134

g8~f4~

003146
003150

012700

8~~~g,

074100
020027

00J162
003166

883~8~
OO~ 0
8°3206
03210
003212
803214
03216
03220

8gB~~

8l668~

125252
052525

1045:
177777

125252

I1T046:

8~
8b~12~

020627
001402
000000
000746

MDV

MOV
C::J~
MOY
C'J~
M'JY
COlo'

co..,

1046:

8U~g8

8gBl~

CMP

R1,RO
RO,lt-l

MDV

o 5104
010405
005105
074100
074'00

1918

1f125252,RO
11052525,1<1

001000

~::~~ f~Y~~b~~~~~

;SCOPE SYNC
iTEST THE XOR
iRESULT = 177777 ?

i *****************************************************************
.SRTTL BT046 GPR ADDRESS INTERRACTION TEST
i ******************************************************************

8

8gg~~~

~OV
~OV

CCC
XOR

MACYll 30A(1052) 15-NOV-78 15:26 P1GE 38
BT045 "XOR RA,RB" TF.ST WITH [R1l=052525,[RR)=125252
REQ
8T046
iBR IF YES
~;045 :
HALT
;XOR FAILED
BR
8T045
;LOCK ON HARD ERROR

8n

88fB9
003242
003244

RT04!l:

05
10 f1
.02

1915

n~6
IB~

8T044:

177777

000400

003226

ln~

:

I

874500
05100
001402

un

BF:Q

IH,RO
RO
RT043

$=:~~ ~~Yl ~

; ***************************,*************************,**************

88~1~~
l~~~ 00
i4
1U~

RO
RI

• *********************************************************************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-71l 14:09
1885 003154 0014('2
18R6
lRB7 003156 000000
188R 003160 000765
18B9
1890
1891

i~~~

:

OOO~~;

IR~l 88~V~8

1859
1P60
IBfil
1862
1863
1864
1865
lA66
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878

~;042

8~6bgo

074100

18~7
18'jP

1042 :

CLR
CLR
CCC
XOR
TST

SEQ 0036

· ****-*-*-*******************-********-****-**--***--*-*-*************
I
.S8TTL BT041 "XOR RA RB" TEST WITH ~RAl = ~R~J = 111711
; *****************i****_****'************** ** *** * ****
********

003072
003074

1855
185E

BT042:

88~g~~ 88~18g

1,.3 88182g
lU,
1843
1844
1845
1846

MACY11 301(1052) IS-NOV-7S 15:26 PAGE 37
BT042 "XOR RA,RB" TEST WItH [RAJ = [RS] = 000000

«A;~~52,RO

Rl
R1,R2

~tt{3
~tR4
R4

MOV
COM
XOP
XOR
XO[l
XOR
XOR
COM

IH,RS
R5

BEGl

1046

R1,RO
R2,RO
R3,RO
R4,RO
~8,RO

EA046:

HALT
2~

BT046

A046:

CMP

~t§f~TACI(

E2C46:

HALT

f:lEQ

fiR

BT046

;tRO]

125252
052525
;tR2]
125252
H(3)
052525
;[R4J
125252
;[1'5)
052525
;tROJ SIB
177777
;tRO] SIB = 1,H~~
;[RO] SIB = 1
;tRO] SIB
125252
;[ROJ
7
;[ROJ S~'R = oaZZZZ
;BR IF CROl ~AS 000000
;GPR ADDRESSING PROBLEH
,LOCK ON HARD ERROR
;DID R6 GET DISTURBED
;BR IF NOT
;R6 ADDRESS PROBLEM
iLOCK ON HARD ERROR
HH]

=
=
=

SEQ 0037

CQKDA-C KDl1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

Hl

I

~~g

001~46
00 52 8g~8H 88~a~~
~~~ 00
56 005037

1929
1930

un

935
1934
UH
938
1lUg

l

~~~
~H

945

lU~
nn
1~50

hn

954
955
1
p56

lUi

1960

IU~

I

n~
~65

d~

003 62

88l~n
~g3n~

012701

gg~h~

g6B~4

063254

0050~;

gl~7~~

003~.16

88hH
8gU~~

g8~H8

000000

003332

003332
003336
003340
003342
003344

3$:

003346

8A5~g~

000001

001001
000402
000000
000773

ggg~~~

HT1:
1$:
2$:
3$:

000002

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-7B 14:09
1979
1980
1~3~ 8g~~gl 012700 000003
003370 000257
} 983
98 4
1 98 5 003372 001401
986
~931 003374 000402
e§ 003376 000000
~~g
003400 000773
99~
1993
99 4
9 9 5 003402

1

00~40~

8g3~f2

ggg 003414
gg~ 003416

gA~6~~

000270
100001
000402

f~~~~~

HT2:
1$:

;iTEST THE BNE - IT SHOULD BR
iBNE FAILED TO LOAD PC
;LOCK ON HARD ERROR

1$

MOV

#l,RO

II~¥A¥H~O"!~TUI'EST NUMBER

BNE
BR
HALT
BR

3$
TST2

;TEST THE BNE - IT SHOULD NOT DR
,;GO TO NEXT TEST
;BNE BRlNCHED VITH Z=l
;LOCK ON HARD ERROR

SEZ

1$

$~k~~DZ~f VITH TEST NUMBER

SEQ

TST3

,;TEST THE BEQ - IT SHOULD BR

PAGE 40

~g~

#3,RO

!~k~~DZ~8 VITH TEST NUMBER

BEQ
BR
HALT
SR

3$
TST4

;TEST THE BEQ - IT SHOULD NOT BR
;;GO TO NEXT TEST
;BEQ BRINCHED WITH Z=O
;LOCK ON HARD ERROR

3$:

1$

•• ***************************************************************

~'TEST 4

BASIC "BPL" TEST VITH N=l
~,***************************************************************
MOV
#4 RO
;~LOAD RO VITH TEST NUMBER
1$:
~~~
@# f SV
$Mk~~RN!rE PSV

hT4:

tsT5:

BPL
BR
HALT
BR

3$
TST5
1$

;TEST THE BPL - IT SHOULDN-T SR
;;GO TO NEXT TEST
iBPL BRANCHED VITH N=l
;LOCK ON HIRD ERROR

•• ***************************************************************

~~1~~1*~********~!~l~*~~~~~*ti~I*~lt~*~;2************************

~U UdU
88~11~

#2,RO

1$:

2$:

001 424

81' 88~:~~

~~~

2$:

8g81io

1$:

2$:

100002

3$:

ggg~~~

MOV
g~~
BPL
HALT
BR

85~RO

;lLOAD RO WITH TEST NUMBER
5~E5~~ §~~cPS.

TST6

,;TEST THE BPL - IT SHOULD BR
iBPL FAILED TO LOAD THE PC
;LOCK ON HIRD ERROR

@t~sw

1$

•• ***************************************************************

~~~ 88111l 012700
Ilili! iljil~

IIi
8~~

003462

03~

003464
003470

034

TSTl

!=I~~t*I********~~ll~*:~~~:*t~lt*~!t~*!:2************************

HT3:

3$:

~U

RNE
HALT
BR

MACYl130A(1052) 15-NOY-78 15:26
T3
BASIC "BEQ" TEST WITH Z=O

8gj1~g ggg~~f
8
883
06

018

S~i~~DZ~8 VITH TEST NUMBER

~~t~lt*i********~~~I~*:2i9:*I~~I*~lt~*i;1************************

001402

i

#O,RO

•• ***************************************************************

003360
003362

~

~g~

i~I~~I*l********~~!l~*:~~~:*I~~I*~lIU*!:l*************~**********

975
976
977
978

13ga

T5TO:
1$:

•• ***************************************************************

00~354
9~3 ggB~~
1 974

199~

I

2$:

001002
000000
000774

883~g8

1

SEQ 0038

!XXXXXXXXX'XXJxx,xx,xx'XX'X:f~f~Xf~~~~~~~f~~X~~~~~X'XX'XX}XX'XX'XX'
Sxxxxxxxxxxxxixxxxxxxxxx~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
BASIC: CLR
IIONCE
iSIGNAL PROGRAM HEADER TO BE PRINTED
CLR
~ERTTL
iCLEAR ERROR COUNT FIRST TIME THROUGH
INIT:
55~
~i~f~,Rl
~~~¥IHpPI~SI~~¥~TC~~~~~R~I~IDT~E~g~H
1$:
CLR
Rl)+
;CLEAR ONE WORD
CMP
!,JONCE
iCLEARED ALL FLIGS IND COUNTERS?
BNE
1·
,BR IF NOT
MOV
TACKLSP
;SET UP THE STACK POINTER
MOV
4030,@,UBREAK ;SET SCOPE SYNC FOR COND CODE OPERITE
MOV
-l,@~S EG5
f{~A'I~~¥R~I~o~T~ilLPOINTER TO BE TYPED

•• ***************************************************************
C' TRS I 0
BASIC "BNE" TEST vitH 2=0
S;ii~ **************************** **i**************************

3~g

37~

8o~g~8

OO~310 01~h7 1~77~7

MACYll 30A(1052) 15-HOV-78 15:26 PAGE 39
BT046 GPR ADDRESS INTERRICTION TEST

011503
020327
001402

{~I~lt*~********~~~1;*:~~1**~~t~,~~:*t~~I*;*1~~1;11111~**********

000006
17777.

HT6:
IS:
2S:

000017

MOV
MOY
CLR
CLR
SCC
MOV
CMP
BEQ

f6~RO

P W,R5
R )
3

;;LOID RO WITH TEST NUMBER
;SOURCE IDDR = 177776
;MA~E CPSWl=888
;CDESTl = 00
0
;MAKE CPSWl=017
iTEST THE MOY
iCORRECT RESULT ?
i;BR IF YES

SEQ 0039

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
01-NOV-18 H:09

~839

88~~H 888~2.~

UU

g8U~~

8
2001 9

nn
2046

~g~g

003520
003522
003524

28~1

88~~i8

~gU
2051

~054

012100

88~~8t 81~~8~
003512 01 31
000257
020412
001402
000000
001)770

M1CYIl 30A(1052) 15-101-78 15:26 PAGE 41
T6
BASIC "MOY (Rl),RB" TEST - (Rl)=111776

000001

Inn~

063312
2$:

CMP
P.EQ

R4,(1I2)
TSTlO

;TEST THE CMP
;;OR IF HZ" GOT SET

U~LT
1
~E~~~RON 5~Gn"Uh~R TO SET "Z"
ee***************i**************,********************************

3$:

10

18~~ 88i~g9 888~n

,'TEST
Rlsrc "CMP Ri (RB)" TESI - [RA] 110" EQUAL TO [DEST]
l;***** **********************'l**i***** **********i*************
TSTlO:
MOV
$6},~~Dl~8RW!T~BO~5T NUMBER
rO
RO
MB6FO,R2
MOV
140V
R4
~~i~~LID~S~]B==o888gg1
CLR
~BUFO
1$:
SEZ
;MAKE II:C=OlOO
C~P
R4,(R2)
2$:
;TEST THE CMP
BNE
TST11
;;SR IF "Z" GOT CLE.RED
HALT
J$:
~tg~~RON 5~&DFt~haE TO CLR "Z"
RR
1$

19B

~~l~~!*ll*******~l~l~*:~~~*t~,~:*l~~!*;*~*;*~~l******************

2055
2056
2051
2058
20~9

~g60

O~~

2063

:l064
~O65

066
2067

gg~~B

003536

012700
012702

003554
003556

020412
001002

8°~~H

08000~
gg~~U 8A~6~~ 06331
001552 00 264

20 0
2071

~gH
~8~~
~g~3

20BO

~g~~
208

~084
085
086
2087
088
089
2090

1

003564
g03564
03SP
0035 4
003576
003600
003604

8g~~~8
003612
003614
003616

012700

8H18~

000257
022703
001402
000000
000771
02 a40 3
001402
000000

~~ggH
125252

I) 6

003622

88Jg~~

80~Z8~

000012

~t8l

003634
003640

022703
001002

000001

000765

~f~~ 88~~~a 888~~~
~lg3
0~0403
Iii ;;;;~i ;8~;;~

111~RO
12~252,1I4

.4,R3

#125252,R3
4$
1$

~hn

;LLOAD RO WITH TEST HUMBER
;KESULT SIB = 125252
;[DEST] = 125252
;SCOPF. SYNC
;TEST THE CMP
;BR IF N = [R]
;CMP FULED
;LOCK UN HARD ERROR
;DID CMP ALTER [DESTj?
nBR IF NO
;CMP DELIVERED A RESULT

2$:

4$:
5$:

CMP
BNE
HALT
BR
CMP
BEQ
HALT
BR

4$

;TEST THE CMP
;BR IF N NOT EQUAL TO [RJ

1$

$E~~KFA£L~~RD ERROR

#l,P]

~~fB
1$

;DID CMP ALTER [DES!]?
"eR IF NO
,CMP DELIVERED A RESULT
;LOCK ON HARD ERROR

s';~;;*i~*******=i;*~*:~~;**;:*;;=;:*;*;;************************

003656

I !!!!!!

i

MOY
MOV
MOV
CCC
CMP
IlEQ
HALT
BR
CMP
BEQ
HALT

MACVll 30A(1052) 15-NOY-78 15:26 PAGE 42
T11
BASIC "CMP tH,R" TEST - H = [Rl
BR
1$
;LOCK ON HARD ERROR

3$:

003646

3

2$:

5$ :

~~80999~
8

~

IS:

4$ :

003620

g81~~~ gA8~g~

HTl1:

3$:

2091
209

~10g
~10~

1

.e***************************************************************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

8395

ll*****************l**********'i******!**************************

!!~~~! ~~~~~~

1"srI3:

1S:
2$:

8g1~8~ 8gy~~~

I Y 88j~8:
Ij
i 003110
2i 1 003110

3$ :

888~~Y
012700

MOV
MOY
MOV

g~~

f13 RO
MB 6FO R2

-~SR4'

R
R4,(R2)

;,LOAD RO WITH TEST NUMBER
;DEST ADDR=MBUFO
;RESULT S ~ 8 = 111711

J~~~~E[~~~C]-=1~8~88go

MOY
CMP
BEQ
HALT
SR

~~fi~2)

;TEST THE MOV
;RESULT CORRECT?
;; BII IF YES

1$

Sfg~~RON n~XDF~a~5R

MOY
CMP
BEQ

1f-1,(R2)
1141.(R2)
TST15

000014

~1~3 g8ii~3 81~i8~ ?~'1~~

~

i:O

SEQ 0040

883~1~ 885gg~

It~ 003730 012712
it~ 8gj1~~ 8~Y~6~

177777

2$:

;TEST THE MOV

HUU~1 ~~S?

SEQ 0041

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
003740
003742

MACYll 30A(1052) 15-NOV-78 l5: 26
T14
BASIC "MOV tM,(R)" TEST

000000
000770

3$:

HALT
BR

2$:

MOVB
CMP
BEQ
HALT
BR

PAGE 43

SEQ 0042

1$

;ERROR - MOV FAILED
;LOCK ON HARD ERROR

#1,4(R5)
R4 L (R2)
TST16

;TEST THE MOVB
;RESULT OK?
;;BR IF YES

1$

Jr8~~ g~LAX~~E~R~~~MG RESULT

88i~~~ 81~i8~ ~~~~A!

gg 1~~ Oh71~
81~~82 187~~~1~
~777

00 764
003770
003772

000257
112765

000001

000004

88~88~ g~~~H
3$:

gg~882 '8gg~gg
004010

g8l8H

81B8~
88:81~ 81~n~

004030
004034
004036
04044
04046
004050
004052

g

012712
000257
112765
020412
001402
000000
000766

000001

000005

2$:

3$:

MOVB
CMP
BEQ
HALT
BR

#l,5(R5)
R4 L (R2)
TS1'17

lS

;tEST THE MOVB
;RESULT OK?
;;BR IF YES
;MOV~ DELIVERED WRONG RESULT
iLOCK ON HARD ERROR

~,;*;;**;********:;*~*:;******::*;~;**:*;~**:;*~*****************

004054
004054
004060

gg:8~a

004072
004074

1,*~***1********~**1****~1**~t******1**1***~****I*2**************

012700
012702

4
8HU
00025~

005737

000017

8MH~

063312

nTl7:
1$:
2$:

88H8~ f86a8~

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7B 14:09
004104
004106

88411~ 81~18~ gg3~fg
012704

100000

004130

00~737

063312

88:B~ g68~H

nT20:

1$:
2$:

881B~ fgA~g~
00077~

3$:
4$:

881H~ 888~g~

5$:

004140

000000

084

8~Uh

g811~~

01~700

063312

005737
001402

063312

2$ :

88~~8~ 8gg~n

3$:

8~UH

4$:

888~gg

5$:

88H82
88HB

II~RI~F"i;"S~lEiRI! l~o~hgH~~ ~~

HALT
BR

SEQ 0043

;TST FAILED TO ILTER CODES PROPERLY
}LOCK ON HARD ERROR

1~

MOV
HOV
HOV
MOV
CCC
TST
SEQ
SMI
HALT
BR
CMP
BEQ
HALT
RR

20 RO
. MI'\6F06R2
10000 ,R4
4,(R2)
@#MBUFO

j6~g~DA§8RW!TUB3i8T NUMBER
;MAKE 5 I B = 100000
;HAKE CDEST] = 100000
;SCOPE SYNC
; TEST THE TST

U

I~~ I~ :~: ~~¥

1

: II

U
(R2)
TST21

~"88~gH;i BE
;TST FAILED TO ALTER CODES PROPERLY
;LOCK ON HARD ERROR
$~~B I~TN8~STURB [DEST] ?

1$

jl~eKDa~I~i~~DEaR~~SULT

L

000021

RA~Z8~

ggll~8 gg&g~~
004172
004176

~~T20

I,I§~1*i2*******~t~1~*:I~I**~tt:*I§~1*~lI~*~tl*~I*2**************

004120

004154
004154

@i!MBUFO

;6·LOAD RO WITH TEST NUMBER
, EST IDDR = MBUFO
;RESULT 5 I B = 377 (NO CHINGE)
;CDEST] = 377
;SCOPE SYNC
;TEST THE TST

377LR~

4,(H2)

;,***************1***********************************************

004110

804t~l
46

1176RO
MB FO,R2

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 44
T17
BASIC "TST @#A" TEST WITH CAl GT 0
3$:

000000
000770

MOV
MOV
MOV
MOV
CCC
TST
SEQ
BPL

TST
BEQ
HALT
BR
CMP
SEQ
HALT
BR

@#MBUFO
4$

;TEST THE TST
;BR IF TST SET HZ"
;TST FAILED TO SET HZ"
;LOCK ON HARD ERROR
I~B~St~ ~i~LL = 000000

1$

;TST ALTERED THE CDEST]
;LOCK ON HARD ERROR

!';;;;*;*********:;~**:;i;***:***::*:*;~*;i;*;*;*i;*:::**********

lL******i*******!***~*******I*,tl****l********~******************

TST22:

MOV
HOV
MOV

122~RO

MB F8 R2
40 0 ;R4

;6·LOAD RO WITH TEST NUMBER
; EST ADDR
~BUF8
;RESULT SIB = 4 000

=

CQKDA-C KOII-K B1SIC LOGTC TESTS
CQKDAC.Plt
07-NOV-7B 14:09

M1CYll 30A(1052) 15-NO¥-18
T22
BASIC "BIT ,.,@,l"

~~~6 8gl~~~ gA8~,~

2261
2262

~~~l

2265

~U~
22~9

004234
004242

g8~~~a

032737
001002
000000
000770

Hi7~

040000

063312

063312

~~.~i

040000

063312

000024
000001

063234

~277

BAI

004264
004272

032737
001402

~281

88~~i~ g88~~g

2287
2288
2289

004300
004302
004304
004306

2~~~
2286
H§O
229~

2293

~~~~ 884~18
004314

2300

2~~og~9

004326
004332
004334
004336
004340

012700
032737
g01401
00000
012702
005012
000257
005722
001402

88ljH

gg8~~~

~~lj

004346
004352
004354

022702
001402
000000

2296

~1n ggH~t

~301

2~81

2304
2305
2306

~il~

2314

063312

063314

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-7R 14:09
~~l~

004356

000765

2317

nn

~H~

U~i

l

3~~

~~98

~,

004360
004360

~g~

R4,(R2)

J~~~~E[~~i~]_=z!fOOO

2$:

BIT
BNE
HALT
BR

140000,@ftHBUFO
TST23

iTEST THE BIT
"BR tF Z=O - IT SHOULD BE
iBIT FilLED TO CLEAR HZ"
;LOCK ON HARD ERROR

!';~;;*i;*******~~;;~*:;;;**I*;**:~:*;i;;*;;;*~~~~;*i;*:::********
~;************************** *,Ii********************************
bT23:
MOV
!23"R8
;,LOID
WITH TEST NUMBER
~~:
r~~jF ,R2
;,.2i~l ~gE~T] ~Bgt8000
1$:
CCC
;SCOPE SYNC - z=o
2$:
BIT
#40000,@ljMBUFO ;TEST THE BIT
BEQ
,BR IF Z=1 - IT SHOULD BE
4$
3$:
;BIT FAILED TO SET HZ"
HALT
RR
;LOCK ON HARD ERROR
1$
4$:
TST
;010 BIT DELIVER A RESULT
SEQ
;; BR IF NOT
~~H4
5$:
HALT
;BIT DISTURBED THE [DEST]
BR
;LOCK ON HIRD ~RROR
,
1$
•• ***************************************************************
~'TEST 24
BASIC "TST (R\+" ~EST
1,***************** ********i************************************
TsT24:
.SBTTL u~~~ CONTH~~l~g BREAKPOINf;~~AgT¥g WITH TEST NUMBER
BIT
#BTTO,@.SPTLOC ;BREAKPOINT HALT SET ?1
SEQ
.+4
;BR IF NOT
~~~T
R2
S¥~i~~AL g~~~E~~D~O~TA~3~OTO RESTART
CtR
r~~~FO,
;MIKE [OEST] = 000000
1$:
CCC
;SCOPE SYNC
2S:
TST
(R2).
;TEST THE TST
BEQ
4$
;BR IF HZ" SET - IT SHOULD BE
IULT
;TST FAILED TO SET HZ"
3S:
BR
;LOCK ON HARD ERROR
IS
CMP
;010 REG. GET AUTO-INCREMENTED 7
~~¥g~0+2,R2
HEQ
HBR IF Yf:S
HALT
5$:
;TST FAILED TO UPDATE REGISTER

MACYll 30A(1052) 15-NOV-7B 15:26 PAGE 46
USER CONTROLLED BREAKPOINT -- BITO
SR
1$
;LOCK ON HARD ERROR

•• ***************************************************************
S'TEST is
BASIC "TST -1Rl" TEST
f§;;;;* *********** ******** * ***.******************************

~8:

012770°20

nHU
004400

hln~
000270

004402
004404

005745
100002

1$:
2$:

un 88::f8 gg8~n

3$:
4$:

~jj4 88tll~ g~~~8~

~Ii~ 8g~1!g ggg~2!

MOV
MOV
SEN
1ST
RPL
H~LT

BR
CMP
BEQ

HALT

5$:

en

004422
004424

020412
001403

6$:

CMP

~u~ 8UU~
2346

8f800~

7$:

HALT

ooono

~~40

~~~1

i~155~4io R00444~44

~ 33~5i
~~!! !~:::! :~~~!;
004:40
004444
000144 456

8f~i8~ 82g~t~

005004

8~51 04

II 88l1g~ 8i!1!l
~~

88::U

888~~8

004470
004470

012700

063312

66

U

69
70

1$

000027

SEQ 0044

R8

000023

005712
001402
000000
000764

2297

IS:

3$:

~~ 1 884~§8 012700
2214 084~54 8A~60~
~~7g 80~~~g 0002~~

15:26 PACE 45
BIT SET 1M "A"

~ITH

SEQ

12~af~~6'R2

77 R4
WT1+10,R5

-(R5)
4$
1$
~~,R2

1$
R41.(R2)
TST26

f6~g.DAg8Rw~TMwJf~Tj NUMBER
;RESULT SIB = 3l
;BASE DEST ADOR = WTA+I0
;SCOPF. SYNC
;TEST THE TST
,BR IF "N" CLEAR
;TST FAILED TO CLEAR "N"
;LOCK OM HARD ERROR
;010 DEST REG GET DECREMENTED?
;BR IF YES
~Eg~~RON ~fiDF"!~~R TO UPDATE DEST REG
;DID TST ALTER [DEST]?
HBR IF NOT

'T~~TAkIER5~s~~EST]
~ARD ERROR
,.***************************************************************
"IESt 76
R~STC "COM
AlA" T€ST
i;
** *****************.****- ***********************************
TST26:
MOV
t266R8
;~LOID RS WITH TEST NUMBER
~ex
~~B F ,R2
SR~~3L~DSR/=BM~UI~7777
COM
R4
CLR
(R2)
1$ :
CCC
2$:
COM
@#MBUFO ;TEST THE COM
CMP
¥af~~2)
J~§~U~J YE177777 ?7
SEQ
HALT
3$:
;COM DELIVERED THE WRONG RESULT
SR
1$
;,***************************************************************
MOV
BR

JfOCK ON

;)T27:
f~Ll~~t*ll*******tt~l~*:ll~**llt:*II~l****************************
MOV
#27,RO
;;LOID RO WITH TEST NUMBER

SEQ 0045

CQKDA-C KD11-K SASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
2371 004474 012702 063312

3~~

~315
~i4

3 6
33 78
3i9

80:~8~

084510
004512
004516
004520

8~~~~4

8886~~

005237
020412
001402

063312

00025~

ia~ 88~~~i 888~2~
h~
386
004542
004544

SEQ 0046

;,*******************************~*1*****************************

T5T30:
1$:
2$:

005703
001402

~fi: g8~s~8 ggg~~g
n~
403 0045:>7

~

rHO

$';~;;*;;*******;:;;~*!;~~**;;!*;*;******************************

~Ii
~~li}~ °l~100 8g88~~
3~~ 004536 8002g~
}gj 004540 005303
394
395

MACYU 30A(1052) 15-NOV-7S 15:26 PAGE 47
T27
BASIC "INC @II" TEST
MOY
SUFO ,R2
,DEST IDDR = MBUFg
MOY
R4
;~~~g~~ ; ~7B = 1 0
MOV
,h2)
1$:
CCC
JSCOPE SYNC
2$:
INC
UNSUFO
;TEST THE INC
CMP
;DID RESULT " 100 11
R4 !R2)
BEQ
TS f 0
;iBR IF YES
3$:
HALT
Il~~KD8~IXi~~DE~ft8IG RESULT
BR
1$

3$:

MOV
~g~

,30 L RO
#1,H3

,;LOAD RO WITH TEST NUMBER
S~~~~~JSYN~l

DEC
1ST
BEQ
HALT
BR

P3
P3
T5T31

iTEST THE DEC
;RESULT = 000000 77
nBR IF YES

1$

s~88KD8~I~iaBDEi~8RW~ONG RESULT

DEC
CMP
nEQ
HALT
BR

@#MBUFO

;TEST THE DEC

~8~ 88~~~l

406

~:8~
~~~6

004562
004566
004570
004572

005337

2415

004602
004604

000000
000770

~4441~4 884~68 gg~U~
~41~
~~l~

063312

3$:

i418

UU
~H~
2:~~

= 177777

~~d~2)

j~§B ~fS~~§

1$

iDEC DELIVERED WRONG RESULT
;LOCK ON HARD ERROR

17

!1;;;;*;;*******::;;~*~~~~*~;~*1:*;;;;;***************************

88~~8~

012700

0046?4

012705
012712

8g2Ul
004620

8A~68~

000032
063314

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
2427 004630 000257
~:~S 004632 005065 000002

un

2$:

ggU~8

g~~n~

f~·******·*********************
§T32:
MOY
t326RO
1$:

~~:

~~B FO+2,R2

MOY
MOV

#MRUFO L R5
#-I,(R~)

**********************************
;6LOAD RO WITH TEST NUMBF.R

;R~~3LtO~RI=BM~Ut80600

SBASE OF.ST ADOR =
;[OEST] = 177777

MACYll 30A(1052) IS-NOY-78 15:26 PAGE 48
T32
BASIC "CLR X(R)" TESTS
CCC
;SCOPE SYNC
2(R5)
,TEST THE CLR
2$:
CLR
CMP
iRESULT = 07
R4f~R2)
REQ
T5
3
;; RR IF YES

MBuro

SEQ 0047

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-7S 14:09

~41~

}lH
2438

2439
2440

88~~4~

8g8~gg

01270~

004660
004662

~~~g
~a~~

3443

~14~

2446
2447
2448
2451

2454
2455
24~6
2457
24~8
2459
2460
2461
2462

~~~~

2465
2466

~al~

2469
2470
~:1~

2473
2474

~41g

2477
2478
2479
2480

88~~~t 8b6~g~

~ggg~~

2$:

R3
4$

g84~~~

ggg~~~

3$:

ASL
RCS
HALT
fiR

1$

8g4~1~

8~il8~

4$:

CMP
!IRQ

n~u4,R3

004676
004700

000000
000764

5$:

HALT
BR

1$

;TEST THE ASl - IT SHOULD SET "C"
JBR IF "C" GOT SET
,ASL FAILED TO SET "C" BIT
;LOCK ON HRD ERROR
,WAS RESULT = 52524 11
;;BR If YES
,ASL DELIVERED THE WRONG RESULT
,lOCK ON HARD ERROR

052524

!';;';;*;:*******;:;;~*::;~**;::*;~;;*;i;~*~~~;;;:~;;;*;*::;*~*i~*

004702
004702

gE4~~~

004714
004716
004720
004722
004724
004730
004732
004734

004742
004746
004750
004752

~.***************************************************l *******,*.*

012700

8ad~gi

006303
103002
000000
000771
022703
001402
000000
000764

012700
012703
000257
006103
103402

000034
052525

~

005004
00501)6

88g8U

gg8~~~

005014
0050,20
005022
005024

022703
001402
000000
000764

0~47'1,
00501~2

o8158~6
~~~~

005044
005046

~~~ g8~g~g
534
5~5

~3~ g8~g!~~

~~4;

545
~ 544

ASL
BCC
HALT
RR
CI4P
REQ

H3
4$

3$:
125252

4$:

000035
125252

1$:

MOV

#H~~g2,R3

2$:

MOV
CCC
ROL
9CS

1$

H3
4$

S~i~~D[~~S~~T~ fi~~~2~UMBER

;MAKE C=1
;TEST THE ISL - IT SHOULD CLR "C"
;BR IF "C" GOT CLEARED
,ASL FAILED TO CLEAR "C"
,LOCK ON HARD ERROR
;RESULT = 125252 11
;JRR IF YES

S~i~~D[fi~S~~T~ I~~~5~UMBER

,MAKE C=O
;TEST THE ROL - IT SHOULD SET C
;BR IF "C" GOT SET

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 50
T35
BASIC "ROL RN" TEST WITH [DEST1=125252 AND C(O)
3$:
HALT
,ROL FAILED TO SET "C"
BR
1$
,LOCK ON HARD ERROR
4$:

~~&

5$:

HALT

8R

.~t~~24,R3

S~~~U~t YF.g52524 17

1$

,ROL DELIVERED WRONG RESULT
,lOCK ON HARD ERROR

HT36:
1$:

8B~g~

l$:
3$:
12~2~1

4$:
5$:

=8~

SEC
ROL
BCC
HALT
BR
CMP
BEQ
HALT
BR

Id~~~g4,R3
R3
4$
1$
#125251,R3
TST37
IS

~~k~~D[~~S~~T~ 6~~~2~UMBER

;MAKE C=1
iTEST THE ROl - IT SHOULD CLEAR C
,BR IF "C" IS CLEAR
;ROL FAILED TO CLEAR "C"
;LOCK ON HARD ERROR
;RESULT = 125251 ?7
'iBR IF YES
;ROL DELIVERED WRONG RESULT
;LOCK ON HARD ERROR

i,***********---**--**-******-***_·_*******-*·******-* ***********

~~~
~ ~ 8 ~ol~
5 8

538
2539
2540

:~~~~~5,R3

~gC

~~!~~!*l~*******~~~1~*:~2~**f~:*!~~I*~11~*5~~~11;2~l~l1*~~~*~'11*

000261
006103
103002

5 9
530
531

~g~

•• *******.*******************************************************

8oH16

5,3

HT34:
1$:
2$:

2500

un

;;LOAD RO WITH TEST NUMBER
= 125252

006303
103402

n8~
2504

5}6
5 7
2518

#33~RO

S=t~~ €~~ST]

~~~~

~

MOV

#12~252,R3

nn

2!11

S£~~l~'Lfi~R~OEn~~. [DEST]

1$

~g~

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7S 14:09
000000
2490
24n 88H:~: 000771
2492
052524
88H,g~ 022703
001402
2496 0847106 000000
o 47'10 000764
~497

2505
2506
507
508
509

~~LT

SEQ 0048

1S:

~4~~ 8g4~j~

2483
2484
2485
2486
2487
2488
2489

3$:

PAGE 49

•• **********************~****************************************
S'TE~T 33
BASIC "ASL RN" TEST WITH [DESf]=12~25l AN~ ~'21
f~;;3;************* ****************** ********** * ** *** *
*

004646
004646

2~~,

KACY11 30A(105l) 15-NOV-78 15:26
T32
BASIC "CLR X(R)" TESTS

005060

gg~8:~~

543

005066

ilt~~t*~Z*******~!~I~*:t~t~*1~1:*1~~t*;*~l~~*~~~~~~~*************

012700
Oq702

000~37

8b6~g~ S~~3H

105712
100402
000000
000773
020412
001403
000000
010412
000766

T:;T37:
1$:
2$:

MOV
MOV

~~~

U37LRO

i~WTA+6,R2

77,R4

NUMBER

SS~~~~TS~N~ 8 = 377

T5TB
BMI
HALT
DR

IS

;TEST THE TST8
,BR IF "N" SET - IT SHOULD BE
;TSTB F AILED TO SET "N"
;LOCK ON HARD ERROR

4$:

~~~

~~f~~2}

s~~Q i~T~O¥ISTURB [DEST]

5S:

HALT

3$:

(R2)
4$

;~LOAD RO WITH TEST
'~EST ADDR = DWTA+6

;TST8 ALTERED [DEST]

~~V
~~,(R2}
'~8~tOR~ '~~~T~ROR
:***************1**************,*****2**************************
·TEST 40
BASIS "TST8 1Rl" T~ST - ODD ADDRESS
§;~~~********************** * *** ******************************

SEQ 0049

8g~B8 gb8n~

MACY 11 301(1052) 15-NOV-78 15:26 PAGE 51
T40
BASIS "TSTB (R)" TEST - 000 ADDRESS
MOV
!6~g.DA~8RW!TMw~~~l NUMBER
RO
MOV
D~h+6,R2
!RESOLf SIB = 177401
MOV
Aw~32l;U
IDEST AODR USED = OWIB+7
MOV
;SCOPE SYNC
CCC
1$:
(R3)
;TEST THE TSTB
TSTB
2$:
BMI
4$
;BR IF "N" SET - IT SHOULD BE
;TSTB FAILED TO SET "N"
HALT
3$:
;LOCK ON HARD ERROR
BR
1$
;010
TSTB DISTURB [DESTJ
CMP
4$:
~JfH2)
SEQ
;;BR IF NOT
,TSTB ALTERED [DEST]
5$ :
HALT
,RESTORE [DESTJ
MOV
n,(R2)
;LOCK ON HARD EROR
BR

005132

HT41:

CQKOA-C KDII-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

H~~ gg~8~~ gB18~ 8g~Ug
~~~~ 88~n~ 8iH8! bnd~l
550

~~~~

2553
2554
2555
~556
~5'7
58
2559

~~kO

256'

~563

2~~~
2566
f67

~~~

25'70

005106
005110
005112
005114
005116

000257
105713
100402
000000
0007'73

88~B~

8U:H

005124

000000

,.***************************************************************

~~1~~1*~1*******~~~1~*:1~1~*tl~:*li~1*;*i~~!*~~2f~~~*************

7OO

88g13~

g ~~~~
~~n OO~Ug °r
2574
1~~~

25 7

005150
005154
05 56
05 60
005162
005164
005166
005170
005172

~~n 8 1
~~~~

~gU

25B5
2586
2587
2588
2589
2590
259~
259
2593
2594
2595

~~3~

2598
2599
2600
2601

005174

005~74

SSg g~
005210
005212
005216

105737
001402

000041

~~1l68

063326

ggg~~g

3$:
4$:

012700
°F70~
o 270
000257
105737
001402

5$:

000042
063330
000377
063331

~~8~ 88~B9 g88~~9
2604

2611
2612

un

2616

~~1~

2619

rl;if

6 4

005230

000000

g8~~H 8b8n~

1

052 6
g 052 6

012700

8g~~U 81~~gl
805250

8H~~

sUgn

005256

105366

000043
177400
000001

1$:
2$:

3$:
4$:

010506

JI 88Ul~
23
63 3 005309
640
005304

88~H~

85PO~

0009g7
013703
22703
01402

8

000044

063276
063322

UIIU
n~34~

81H81

~Uzh

HT44:

IS:
2$:

-~§~)
1(SP)

~~,(SP)

1$
R5,SP

;,LOAD RO WITH TEST NUMBER
iSAVE SP
;RESULT 5 I B = 177400
;[DEST] = 000000
;SCOPE SYNC
iTEST THE DRCB
;RESULT = 177400?
;BR IF YES
;ERROR - DECB FAILED
iLOCK ON HARD ERROR
,RES~;T THE SP

MOV
CLR
CCC
MOV
CMP
BEQ
LT

U

a~4,RO

'fLOAO RO WITH TEST NUMBER

@.IIATA,R3
ItDWTA,R3
TST45

iTEST THE MOV
iRESULT :: DWTA?
;; BR IF YES

$sg5~PSYNgooooo

CORRECT RESULT

$~8~KF~AL~~RO°F.R~&aVER
IS
•• ***************************************************************

3$:

88~Hg 888n~

26~9

2t~~

~~3~~0

~1 h400,R4

~~I~~1*1:*******~!~I~*:~~I*el~,~:*I~~t***************************

~~5~

~~~

MOV
MOV
MOV
MOV
CLI!
CCC
DECS
CMP
SEQ
HALT
BR
MOV

•• ***************************************************************

~h~

~t5

=

•• ***************************************************************

88§~~g 888~g~

248

H4,(R2)

!'tE~t
BAS'~ ***
"D~~~ *1,sPl"
i§
* * 21 **********
** ********************************
T43:

005272

~iU

1$

~~f~~2}

S6L~~DA~8RW~TMw~i~~ NUMBER
;R~SULT 5 I B = 17 400
;SCOPE SYNC
;TEST THE TSTB
; BR IF "Z" SET - IT SHOULD BE
;TSTB fAILED TO SET "z"
;LOCK ON HARD ERROR
;010 TSTB DISTURB [DEST]?
;;BR IF NOT
;TSTB ALTERED [DEST]
;RESTORE [OEST]
iLOCK ON HARD ERROR

MACV11 30A(1052) 15-NOV-78 15:26 PAGE 52
BASIC "TSTB @#l" TF.ST - ODD ADDRESS
T42
;TST8 FAILED TO SET "z"
3$:
HALT
iLOCK ON HARD ERROR
BR
1$
iDID TSTB DISTURB [DEST]?
CMP
4$:
~~f~~2)
BF.Q
;iBR IF NOT
iTSTB ALTERED [OESTJ
HALT
5$:
~~,(R2)
~2V
I~~~IO~~ ~~~~T~IlROR

U~

rUU

@#DWTA+4
4$

i

h~

~6~~

f
l RO
D~h+4,R~
1 7400,R

!'TEST 42
BASIC "TSTB ~IA" TEST - ODD ADDRESS
~~************************** **********************************.
T42:
#42 1(0
MOV
~6~g~DA§gRw~T~wti~1 NUMBER
MOV
owh +6 ,R2
MOV
377,114
iRESULT 5 I B 377
CCC
iSCOPE SYNC
1$:
TSTS
iTEST THE TST8
2$:
@~DWTA+7
BEQ
4$
i BR Jt' "Z" SET - IT SHODLO BE

8g~~~~ g~~U~

~~~~

MDV
MOV
MOV
CCC
TSTB
BEQ
HALT
BR
CMP
SEQ
HALT
MOV
BR

IS
•• ***************************************************************

~~O~ 88~B~ g~~~H
687
2608

1$:
2$:

020412
001403
000000
010412
000765

CQKDA-C KD11-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll

~g~g

rO

SEQ 0050

000045

O~PM

A63~12

i~t~~t*~~*******~~~I~*:~~X*t!,~~~l:*t~~t*************************
'0'
,'56"
~LOA' ,. "TU TEST NUM'"
M~V
MR FO.2~R2
EST ADDR = MBUF9+~
:g~
~a3~5~~34
~~~gL~ ~A~EBDES+ ~ ~~
1$:
CLP
R2}
[DEST] = 000000

HT45:

SEQ 0051

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-78 14:09
005344 000257
~g~~
2660 00~H6 012763 125252 000002

un
~665

~~~

~!6!
6~0
~H

2673

~~1~
676

~~H
2679

2680

UU

2684
~685
686
687
2688
2689
2690

~~lB

2693
695
2696
2697
2698
2699
2700
:l~01
~694

~ g~

2704

~~85
70~
708

;HZ
271~
2713

8g~H~

g~fH~

005360
00'5362

000000
000765

012700
012703
8~2704

000046
063312
125252

012713
020413
001402

12'i252

o 6~H

005420
005420
0054;>4
005430
005432

1

lt~

744
745

000047
061276

MOV
CMP
BEQ
HALT
BR

#125252, (R3)

iTEST THE MOV
,RESULT OK?
;;BR IF YES
;MOV DELIYERED WRONG RESULT
;LOCK ON HARD ERROR

)

~~f~~3)
IS

~~85~EJSYN800000

~~1~~1*~1*******~~~I~*:~~X*1~~1!,~~:*1~~1************************
.

f§T47:
1S:

005 4~i6
005460

ggg~g~

5$:

012700

•• ***************************************************************
!'T~st 50
BASIC "MOY ~fA @IB"
~§* * ********************** *,* *******************************
T50:
MOV
#50,RO
;;LOAD RO WITH TEST NUMBER

005462
005462

o

MOY

~e~

2$:
063322
3$:
063300

000050

4$:

MOV
CMP
BR
HALT
BR
CMP

BEQ
HALT
BR

!47 RO
~T 1,R5

(R5)+,R3
.~WTA,R3

IS
,ATA+2,R5
5T50

IS

i§LOAD RO WITH TEST NUMBER

~[~~S~~D~

ooabao

iSCOPE SYNC
;TEST THE MOV
;RESULT OK?
;BR IF YES
;MOY DELIVERED WRONG RESULT
iLOCK ON HARD ERROR
;010 SRC REG GET INCREMENTED?
nBR IF YE~
;MOV FAILED TO UPDATE SRC. REG.
;LOCK ON HARD ERROR

MACY 11 30A(1052) 15-NOV-78 15:26 PAGE 54
T50
BAStC "MOY @#A,@#B"
MOV
;DEST ADDR = MBUF1
#MBUF1~R2
MOY
;RESULT 5 I B = SDWTA
~DWTA, 4
CLR
IS:
R2}
;MAKE [DEST) = 0 0000
cce
;SCOPE SYNC
2$:
MOV
UAT~~'#MBUFI
s6i~TR~~~L;0~ #DWT! ?
CMP
BEQ
Tsf!l
HBR IF YES
HALT
3S:
;MOV DELIVERED THE WRONG RESULT
BR
1$
;LOCK ON HARD ERROR

ll;;=;*:l********::;;~*::~;***:;:~*;~:*:;;;*********** ************

88~~~~

80o~g,

005532
005536
005540
0055;12

016507
000000
000771
005544

000051
005532
000010

*********************,*.,*******************************
f~'******
ST5t:
MOV
#51,RO
;;LOAD RO WITH TEST NUMBER
lS:

~2~

2$:
3S:

MOV
HALT
SR
.+2

4S:

#2S,R5

S~~~~E=s~ic(BASE ADDRESS)

4$-2$(R5),PC

;TEST THE MOY - GO !O NEXT TEST YIA 4$
;MOV FAILED TO LOAD THE PC
;LOCK OR HARD ERROR
;POINTER TO MEXT TEST

IS

!';::;*~~*******::;*1;'*::~;**:*1:*;:~:*;;;;************************

005544
5544
5550
o 5554

l7~5I g005564
05570
l54 05572

75

:)T52:
f!l*~***i;*******i**
MOY

8p700

8o~~8~

1$:
063276

005574
005576

013712
020412
001402
000000
000770

7~Y
it~ 88~g8g

012700

~~~

2$:

cce

7t~ 88~~~~ 005g~7

757

;6LOAD RO WITH TEST NUMBER
; EST ADDR = MBOFO
;RESU~T SIB = 125252

0054~iO
0054~14

00~434

005436
01)54 /12
005444
005446

~~~ 8~

i~~

~&~

f46 RO
MB 6FO R3
~~525~,R4

012700
012705
005003
000257
012503
2703
06 0402
000000
000766
022705
001402

~~3g gg~~~g 01~lOO

739
H~

1$:

MOV
MOY
MOV

.• ***************************************************************

n~:
l~Z

~.******************~***~**t*'
*1********************************
h46:

3$:

ggg~~g

~

7~3i3i

SEQ 0052

!L;;;;*:~*******~:;~**:;*;**;*i;*:*;;;;**************************

005364
005364
005370
og5p4
o0054
5 ~I~
I
005404
005410
005412
005414
005416

CQ~DA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
2714 005466 012702 063316
2715 005472 012704 063322
2716 005476 005012
lll~
005500 000257
7 9 005502 013737 063276 063316
7 20 005510 020412
7 21 005512 001402
~~~~ 005514 000000
~l~~
005516 000767

~~~~

MACYll 301.(1052) 15-NOY-78 15:26 PAGE 53
BASIC "MOV ,M,X(R)" TEST
T45
CCC
;SCOPE SYRC
2$:
MOY
1l25252,2(R3)
;TEST THE MOY
CMP
;RESULT OK?
~~fU2)
BEQ
HBR IF YES
HALT
3$:
;MOV DELIVERED WROIG RESULT
BR
;LOCK ON HARD ERROR
1$

3$:

S:U~6~~2

R2)

(a#ATA,(R2)

~~~~~2)

;,LOAD RO WITH TEST NUMBER

;~f~¥LID~R/=BMBU,gVTA

,MAKE [DEST)=OOOOOO
;SCOPE SYNC - Z:O
;TEST THE MaY
;DID RESULT = #DWTA ??
i;BR IF YES
;MOV DELIVERED WRONG RESULT
;LOCK ON HARD ERROR

IS
;,***************************************************************

764

005604

0l~705

000053
063276

~~~~

005614

016503

000004

~i!~ 8g~gl~ 8oogg~

2S:

=g~

CLR
CCC
!lOY
CMP
BEQ
HALT
BR

*****j**- *,,*,*****-************************

'52~RO

fl,1~~I*~~*******~t~I~*:~~X**11t!1'~~:*1~§1***********************
ST53:
1S:
2$:

~g~

CLR
CCC
MOV

li~lR,S5
3

4(R5),R3

;;l~~~D=RgA~~T~D~~S~O~O~BOfi~CE

iMAKE [DEST] = 000000
iSCOPE SYNC
;TEST THE MOV

(ATA)

SEQ 0053

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
2770 005620 022703 064630
27~1
005624 001402
27 2
2 7 3 005626 000000
3l~~ 005630 000767
2 76
2 77

NACYll 30A(1052) 15-NOY-78 15:26
T53
BASIC "MOY X(RA),RS" TEST

PACE 55

YE1 DBTA

SEQ 0054

~~&

,~,~~,R3

~~I~U~i

HALT
BR

1$

;MOV DELIVERED WRONG RESULT
;LOCK ON HARD ERROR

11

Hn

88~~~~ 012700 000054
Ha~ 00~~l9 °1~~8~ i9~~~~
f~U ~8~~~~ 8A~Z~~ 063314

2785

~~H~

005654
005656

00025'
010445

jli~ gg~~2~ !~¥2b~
2~~'

000000
000767

3$:

37~~ 88~~ig 85~~8~

4$:

~1~~ 88~~1~ 888~gR

5$:

2793
2p4

005664
005666

2797

2800
2801

~S8~

2804
2805

gg~~88

238~

88~1£~

012700
012104

001055
06 ~22

~9t~

005724

013745

063276

CMP
BEQ
HALT
BR
CMP
BEQ
HALT
BR

;MOY DELIVERED THE WRONG ESOLT
;LOCK ON HARD ERROR
s~~H ~~G~~§ER GET DECREMENTED 1

1$

;MOV FAILED TO UPDATE REGISTER
;LOCK ON HARD ERROR

g8~i~~ g!~6?~ g~ 31~
h8~
2810 005722 000257
2813

2$:

~31~ 88~1~~ 86£:~~

2816
2817
~H8l~0

005734
005736

i28 1 005740
005742
~K~~ 00~744
2824
2825

005746

000000
000766
020502
001402
000000
000762

3$:
4$:
5$:

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

MOV
CMP
BEQ
HALT
BR
CMP
BEQ
HALT
BR

@ItATl,-(R5)
R4,(R2)
4$
1$

~~f~~
1$

,TEST THE MOV
;RESULT = 000000
;BR IF YES
;MOV DELIVERED THE WRONG RESULT
;LOCK ON HARD ERROR
;010 DEST REG GET DECREMENTED 11
;iBR IF YES
.
iMOV FAILED TO UPDATE REGISTER
;LOCK ON HARD ERROR

NACYll 30A(1052) IS-NOV-78 15:26
T56
BASIC "MOV (R),@,A" TEST

PAGE 56

~~~~

2828
2829

;Uo

885750
5 50

i!ll

gp705
~g~7~~
05~ 2 005~H

83;

837

1U8
2840

2841

1
80~7~~

8iH8~ 06g~IH~
276

005774
006000
006002

011537
020412
001402

063312

2$:

3$:

~U~ 88~88~ 888~~8
~U~
~U~

2848
2849

006010
006010

012700

00005~

~854

006032
006034

000257
014537

063312

MOV
CMP
BEQ
HALT
BR

(~5),@#MBUFO

,TEST THE MOV

Uf~~2)

!~~~U1J YE~DWTA 11

1$

;MOY DELIVERED THE WRONG RESULT
;LOCK ON HARD ERROR

8U~~
81~n~
85~ 88~81g 01
70
063300
285
g8~8~~ 00501~
285
~850

n~

2857

~K~8 88~8:~ 8~~:H
~n~ 006044 000000
286j
3U4
2865

~U~

286~

un

006046
006050
006054
806056
06060

4$:
5$:

MOY
CMP
REQ
HALT
BR
CMP
BEQ

-(R5),@#NBUFO
~1,(R2)

1$

UU6 R5

;TEST THE MOV
;RESULT = #DWTA ?
;BR IF YES
,MOV DELIVERED THE WRONG RESULT
;LOCK ON HARD ERROR
;010 THE SRC REG GET DECREMENTED ?
;;SR IF YES
;~O~lA~LftiRTOEK~BftTE SOURCE REG

HALT

,,******~*******li**************'*~***~*****~********************
!.1~~1*~2*******~!~1£*:~2I***1~tl,~I:*tlil***********************

006062

2876

2881

006076
006100
006104

~!H
880

063276

888~2~

8Un~
~u~n
006074 000257

U1~

3$:

000766

8~U8~

2$:

012503
822703
01402

82g~~g

HT60:
1$:
2$:

063322

MOV
MaY
CLR
CCC
MOV
CMP
SEQ

160 RO
. AT1,RS
J

(R5)+,R3

tg WTA ,R3

;"LOAD RO WITH TEST BUMBER
;iNITIAL SOURCE ADDR = ATA
;MAKE CDEST] = 000000
;SCOPE SYNC
;TEST THE MOV
,RESULT = ,DWTA ?
;SR IF YES

SEQ 0055

CQKDA-C KD11-~ BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

UU

2885
2886
~887

2U~
~U~

2892
2893
2894
2895
2896
897
89B
B99
900
290}
290

~

19S4
2905
H8~

2908
2909
2910
Hl~
291
291
2914
2915

~n~

2918
2919
2920

~~2~

29~~

2924

~~3~
2<)27

006106
006110

ggg~gg

g8~Hg

8Ml8~

006120
006122

000000
000761

006124

8g~B~

006134
006136
006140
006144
006150
006152
006154
006156

g8%U9
006170

006174
006176
006200
006204
00621/l
006212
006214

MACYl1 30A(1052) 15-NOV-78 15126
T60
BASIC "MOV
(Rl),RB" TEST
3$:

063300

4$:
5$:

016503

8&n8~

000002
064032

2$:

000000
000767

3$:

HT62:

SB~g~

012705
00:.003
000257
017503
02:.1703
001402
000000
000767

()63314
1$:
000002
177777
3$:

000063
115252
063320
063312
063312

r

0062'14
0062'14

TI
o
oo

63 2
6H4
6 .6
006330
006334

rr

U5
~3d
989

un

'~'n,R3

;~6~UI~ YEIDWTB 1

~~LT

;~8~KfA~L~iRTOER~k~VER CORRECT RESULT

MOV
MOV
MDV
Cl.R
CCC
MOV
CMP

62 RO
"LOAD RO WITH TEST NUMBER
DwfA+2L@#MBUfO+~'tSET UP ADDRESS TABLS MBUfO
MBUFO,K5
;BASE ADDRESS IN R5
3
S~~~~E[gi~~] = 000000

1

@2(R5},R3

SEQ

fsfg~3

HALT
BR

1$

;TEST THE MOV
; RESULT = 177777
;;BR IF YES
;MOV DELIVERED THP. WRONG RESULT
;LOCK OM UARD ERROR

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 58
T63
AASIC "Min (R)+,X(R)" TEST
(R5)+,4(R5)
2$ :
MOV
,nST THE MOV
CMP
;RESULT = 125252 1
::,(R2)
SEQ
;BR IF YES
3$:
HALT
WRONG RESULT
s~gh ON DELIVERED
BR
HARD ERROR
1$
4$:
CMP
f~aR ~~G~~!ER GET INCREMENTED 1
.~¥~~0+2,R5
BEQ
5$:
HALT
i~S~KF~ALft~R~oEatg~TE REGISTER

gOOn~

OU405

000064
000002

BR

1$

CMP
REQ
!lALT
RR
CMP
BEQ
HALT
BR

R5'~'MBUFO

063234

~~H~~

8A8~H
020537
001402

063312

2$:

g88~~8

3$:

88~Ul 8~ftb~

4$:

88~Hg g88~g~

5$:

71

~H~
380
d~84

012700

S2 SHU1

8o 6~ 1~l0

3 suns

iU

;TEST THE MOV

S'TEST 63
BASIC "..,OV tRl+ xtR)" TEST
Il************-*************i* *,**********.*********************
TsT63:
~g~
1~~~§g2 R4
$~~g~ETRg 'IiH=Tr~~2~~MBER
MDV
!MBUFl+~fR2
;FINAL DEST ADDR = M~UF1+2
1$:
~g3
#~fi8'b~K50
s~~~~C~ ~~~'t2e SR~2165~ = MBUFO
CLR
(R2)
;MAKE [OEST] = 000000
CCC
,SCOPE SYNC

r

70

2(R5),R3

•. ***************************************************************

U~

366
67

MOV
CMP
BEQ

;.**************li**************'***********~********************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.PU
07-NDV-78 14:09
0062116 012565 000004
~938
93<)
f40 88~~~~ 8~U6~
0062!i6 000000
2944 006260 000766
063314
r~~
~47 o°8~~62
156 8Hl8~
48
949 08 6,70
o 6 '72 88g~g~
~5f
2952

un
~3g~

1$

;010 SOURCE REG GET INCREMENTED
HBR IF YES
,MOV FAILED TO UPDATE SOURCE REGISTER
;LOCK ON HlRD ERROR

UUF,R5'

~~t~~1*~~*******~~~I~*:~2Y***t~1~~1,~2:*1~~I*********************

2934
2935
29.36
2<)37

§~~

~~g~KD~~I~~ft~DEllgIG RESULT

2700

~g~1

f3~~

1$

SEQ 0056

01
o 2705
o000257
5003

2928
2929
2930
2931

~g~~
955

HALT
BR
CMP
SEQ
HALT
OR

PAGE 57

1$

;TEST THE CMP
;BR IF "Z" WAS SET - IT SHOULD BE
'CMP FAILED TO SET HZ"
SLOCK ON HARD ERROR

Ud~2)

S~~RRfBU~lsSTILL

1$

Jt~~KA5iEftiRD[~i~~a

4$

= 125252

1

;';~;;*~;*******;i;i~*:*=;**;***::*;**~**;**;*;*~~****;~**;******

8&~1~2
006 5g

ii*********************~*****'II****lt**S*1**2****~t~****1*1*****

012~00

g8~lg8 ~UZgi
104,~
086 :b 0002
006374
006400

020537
001002

000065

T:;T65:

MOV
MOV
MOV

~~~u~

1$:
063312

2$:

~~~

SCC
CMP
BNE

i65~RO

MB FO R2
12 25~,R4

R~,(R2)

RS,@tMBUfO
T5T66

'~LOAD RO WITH TEST NUMBER
, EST ADDR = MBUFO
; AKE RESULT S
B = 125252

£

f~:~~ [D~g¥~c~ 1~525~OOOOO

;SCOPE SYNC - MAKE Z=1
;nST THE CMP
;;BR IF Z=O - IT SHOULD BE

SEQ 0057

CQKOA-C 1<011-1( BASIC LOCIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

r
99~

006402
006404

MICY11 30A(1052) 15-NOV-78 15:26 PAGE 59
T65
BISIC "CMP R,Ul" WITH [Rl NOT EQUAL TO [Al

Z3Z

~g8~

3004
3005

006406

88U~~ 8f~~8~
270
gg~~h o005012

j88~

006424
006426

000251
052737

J 1~
i81

88gH6
806440
06442

000000
000167

008
3009
38 10

~81i

r

~~nu
177777

063312

85~:B

381

un
3025

J8~~
30 8

3029
30

J8
30j~
303

i8~~
036

un

3040
3041

~gH

~8~~

jg~~
j8~~

88UU
006450
006454

88~~g~

006460
006474
006476
006500
006502

012700

000067
Og3312

81 2102
863n~

r7~~H

042737

1777.00

063312

8a~4a~
000000
000766

,'TEST 67
BASIC "BIC iN ~t"" TEST
f~************************** *, ********************************
T67:
=g~
#~~6~g,R2
$6~gfDA~8RW!T~BO~3T NUMBER
MOV
!",R4
;RESULT S ~ B = l7
MOV
-1,(R2)
iMAKE [DES] = 1 7777
IS:
CCC
;SCOPE SYNC
#177700,@#MAUFO iTEST THE BIC
BIC
2S:
CMP
JDID RESULT = 77 ?
~~f~S2)
;;BR IF YFoS
SEQ
iBIC DELIVERED THE WRONG RESULT
HALT
3S:
;LOCK ON HARD ERROR
SR
1$

,.***************************************************************

IN

8~~~%l

006510
006512
006514
006516
006522
006526

gg~~B

;'TE~T 70
BASIC "BIC
R" TEST
~.** ********************** *,***********************************

8A~68H

000070

00510~

00025
042703
022703
001402
000000
000766

177400
000377

§r70:
1$:
2$:

3$:

CQKOA-C KD11-K BASIC LOGIC TESTS
07-NOY-78 14:09
CQKDAC.Pll
30!)0
~051
052
3053
38!)4
3 55 88~~~a 012lOO 000071
012 04 000357
jO~~ 006540
006544 010605
3858 006546 °f506
59
g06550 8 ~146 000377
338 60
3061 og~~~~ o 02~~
18g~ 006560 042766 000020 000002
18~~ 00656f1 81060~
0572
3 66 806570
~ 67
g~~H 8~Y~H

n
ill!a~

8
i3874
UP
307~
33 8

~ gR~

3086

~gu

~8S8

~8~1

309
309

~O95

09~

j8~8

3OZ9

lid
318~

Hlo,RO
R3
#177400,R3
R3

nH1
1$

if&~t¥]R2 r~;97'EST NUMBER
;SCOPE SYNC
iTEST THE BIC
;RESULT OK?
nBR IF YES
iBIC FAILED TO CLEAR HI-BYTE
;LOCK ON HARD ERROR

PACE 60

SF.Q 0059

•• ***************************************************************

!~I~~t*11*******~~~I~*~~!~*I~,ii~~1~*I~~I************************

fh71:
1$:

2S:

8g~~68 8g8~g~

3$:

006602

4$:

010506

~f:
COM
CCC
BTC
CMP
BEQ
HALT
BR

MACYll 30A(1052) IS-NOV-78 15:26
T70
RASIC "BIC 'N,R" TEST

8

38g~
3 70

IN

;.***************************************************************

38I,

~01S
O~O

;CMP FAILED TO CLEAR "z"
HALT
;LOCK ON HARD ERROR
BR
1$
I'**********************~****************************************
TEST 66
BASIC "BI S
IIA" TEST - N:177777 IAl:00002 0
f§***************** **** ** *, ************ *****, ******* *****
T66:
MOV
6
!6~gfDAg8RW~T~83;8T NUMBER
~B6FP8 ,R2
MOV
;RESULT 5 I B : 177777
MOV
R~SR4
;[DEST] = 000000
IS:
CLR
;SCOPE SYNC
CCC
#-1,UMBUFO
;TEST THE BIS
2$:
BIS
;RESULT OK?
CMP
¥~d~2)
;;RR IF YES
SEQ
;BIS FAILED TO SET ALL BITS IN BITFLG
HALT
3S:
iLOCK ON HlRD ERROR
8R
IS
3$:

0000~8
0007

§§8

3001

SEQ 0058

MOV#71 RO
1
~g~
~~5R~R4
MOV
R5'SP
MOV
#3~7(-(SP)
TST
-(SP)
CCC
~IC
#20,2(SP)
MOV
5P~R2
TST
~~,~R2)
CMP
BEQ
4$
HALT
1$
BR
r.\OV
R5,SP

;;LOAO RO WITH TEST NUMBER
!~i~ML~pS I B = 357
iRESET SP FOR ERROR LOOP
;[DEST) = 377 PUT ON STACK
iDECREMENT SP
;SCOPE SYNC
iTEST THE BIC - CLEAR BIT 4
i[R2J = DEST ADOR
;RESULT = 357?
iBR IF YES
;BIC FAILED TO CLR BIT2 OF DEST
;LOCK ON HARD ERROR

,,*~;;*;;*******;~;;~*::~~***;*~:*:*;;;;*************************

88~i8~ gl~~g~
oA 25

006 10
006614
006616
006622
006626

8g~~H
8°~B1

866 0
8006650
066 14
006654
006656
g06662
06664

062703
022703
001402
000000
000766

;,1*************************1*,**********************************

000g7~
000
0

000002
000004

T5T72:

MOV

#72lRO

lS:

~~~

#2,H3

2S:

ADD
CMP
BEQ
HALT
SR

1t2,R3

3S:

Uf~~
1$

;lLOlD RO WITH TEST NUMBER
1;~~~E[~I~~l = 2
iTEST THE ADD
;RESULT = 4 ?
;;BR IF YES
;ADD DELIVERED THE WRONG RESULT
;LeCK ON HARD ERROR

•• ***************************************************************
"lEST 71
BASIC "ADD IN CRl " TEST
" **i********************** *'~*********************************
ol~ioO

000073

T5T73:

2
og33A
8b7g~ o
00 4
000002
8A~~~~

1$:

000002

2$:

062712

8tUH

MOV

=g~

1736RO

~~R~O,R2

2,(R2)

;6LOAD RO WITH TEST NUMBER

fR~~3L~DgR/=BM~U~0

MOY
CCC
ADD

;MAKE [DESTl = 2
;SCOPE SYNC
#2,(R2) ,TEST THE ADD

~~~

~~f~~2)

s~~~U~1 YE~

?

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOY-78 14:09
006666
n8~ 006670 gg8~g~
3108
3109

HH

gun

311~
311
3114
3115

806672

3118
3119
31~0
31
1
312j
lB4

012700
04
01r
01 702

000074
000002
063314
063312

06'714
006716
06 '724
06'126

000257
062765
020412
001402

000002

n~~ ggg:n~

g8gng

lH~

3127
3128
3129
3130
3131
3132
3133
3134
3135
j136
137
3138
3139
~140
141
3142
3143
3144
3145
3146
3147
3148
3149

H~Y
H~j

3154
3155

n~~

3158
3159

8~J~~ 8UZY~

'''
8

g06'734
06'734

r

8gg4~
6 '74

g

012700
012704
010605
010602

000075
177400

8g~H~
006'176
007()OO
007002
007004
007006
007()10

010446
000257
122776
001402
000000
000770
020506
001402
000000
000764
020412
001402
000000
000760

000000

rIl
~9

l

O~

3 83

1

I

11

~ll!
iU
3 17

MOY
~g,

2$:
3$:
4$:
5$:
6$:
7$:

SEQ 0060

~f8HKD5~I~i~~DEIB5RWRONG RESULT

=g~
cec

CMPB
BEQ
HALT
IlR
CMP
BEQ
HALT
SR
CMP
REQ
IIALT
BR

RO WITH TEST NUMBER

f7~~RO

;~LOAO

~I~~~

!~~TCgtT~i~§ A~~~

g~,R300,R4

~4:~(SP)
~O,(SP)+

4$
1$
~~,SP

1$

IS~~~LlpS I B = 177400

ADDR

1~~~~T(~~S~~R=E'~9~0~onp

;SCOPE SYNC - HZ" = 0
;TEST T~E CMPB
;BR IF HZ" SET - IT SHOULD BE
;C~PB FAILED TO SET HZ"
;LOCK ON HARD ERROR
;010 SP GET UPDATED BY 2?
;BR IF YES
;CMPS FAILED TO UPDATE SP PROPERLY
;LOCK O~ HARD ERROR
;[DEST] ALTERED?
;; BR IF NOT

!E~~~ ~~D~~~BDF.~EB~!~

•. ***************************************************************

S'TEST 76

un

n
00

HT75:

1$:

31

Il~~

1$

000002

;~¥

8~1~2 8~5§al

06'154
006'156
006'760
006'764
006'766
006'170

gh

un

U~LT

•• ***************************************************************

CQKDA-C KDII-K RASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
3162
3163 007(112
3164
000076
01~100
gg~81~ 01
04 177777
~U~ 00
01 702 063324
3167 007 26 012705 063330
6B
01O~0~
3 69 g8~8H 000
5
3170
3171 007(136 122523
~IH 007040 001402
807Cl42 800~00
~B~
07044
00 70
176
007(146 022703 063325
3179 007C'52 001402

r~tn

3$:

PAGE 61

~~li~t*Zl*******~!~1~*~£~~~*t~,1~~lt:*I~~I***********************

~Uy

~t8°

MICYll 301(1052) 15-IOY-78 15:26
T73
BISIC "ADD ,N,(R)" TEST

881g~~

ooo~og

88na~ 8gtl8~
007066
007(170
0070 72
007074
0070'76
00718~
0071
1

MACYll 30A(1052) 15-IOV-78 15:26 PAGE 62
T76
BASIC "CMPB (RA)+,(RB)+" - SRC AND DEST EVEN

•• ***************************************************************

HT76:
1$:

063331

6
-I ,RO
R4
Dwh+2,R2
ADWU
+6 ,R5
2,R3

CMPB

(R5)+,(R3)+
4$

flEQ

3$:
4$:

6$:

000000
000756
02041j
00140

7$:

OOO~OO
010
12
000 51

9$:

8$:

f

MOV
MOV
MOV
MOY
MOV

ecc
2$:

5$:

000 6

RASIC nC~PB (RA)+,(RB)+" - SRC AND DEST EVEN

HALT
BR
CMP
BEQ
HALT
BR
CMP
BEQ
HALT
BR
CMP
SEQ
IIALT
HOV
BR

s~~~AfTR~ ~IiH=Tr~~7~~MBER

IS

;DEST ADDR = DWTA+2
,SRC ADDR = DWTA+6
;R3 GETS DEST ADDR
;SCOPE SYNC
;TEST THE CMPB
;BR IF "Z" = 1 - IT SHOULD BE
;CMPB FAILED TO SET .. z..
;LOCK ON HARD ERROR
;010 DEST REG GET UPDATED?
;BR IF VES
,CMPB fAILED TO UPDATE DEST REG
;LOCK ON HARD ERROR
;010 SRC REG GET UPDATED?
JBR IF YES
;CMPB FAILED TO UPDATE SRe REG
;LOCK ON HARD ERROR

¥~f~~2)

sfaR

U,(R2)

;~~~¥OR~LlX~~¥g A RESULT
lLOCK ON HARD ERROR

1$

tg iiTA +3,R3
1$
B~WTA+7,R5

~~E~d~ GET ALTERED?

;'*i***;;*******=:;***:~:~;**:~*:**:**::*~*;;**A;***;****~~******

88P8

4

80711~ °lH8~

°8H~3

h~~8~

80iha
007132
007134
007p6
007 40

0002g7
122523
001402

88HU

gM18~

O~~~H
063124

8U

~~

~.1*'l*************1£*******~**1*'~*~1*******~***2*~*it*~********
h77: .
MOV

1$:
2$:

8g8n~

3S:
063326

4S:

=g~

MOY
~gY
C C
CMPB
BEQ
HALT
BR
CMP
B&Q

177 .. 0

,!LOAO RO "tN tESt N.'BER

(R'5)+,(R3)+
4$

;SRC ADDR = DWTA+5
;R~ GETS DeST ADOR+1
;S OPF. SYNC
;TEST THE CMPB
;BR IF "Z" = 1 - IT SHOULD BE

1$

Sta~~ bAIk~BDT~R~~~ "Z"

l~WTA+4,R3

;010 DEST REG GET UPDATED?
;SR If YES

D~f~! ,R2
DWTA+f R~
OWTA+ :R

$o~~¥LID~R/=BDWTIZ~777

SEQ 0061

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC .Pll
07-NOY-78 14:09

88H~~ 888~g~

mJ

88:n~3

Iji~}

007172
88HU

i ~i
1~

lit!

illl

iJI!

3 19
3250

i M

r
3 69
3 70

i

OOOOO~

8104~
007 0

g8H8g

887~0~

001,14
007 ~o
0072 4
007226
007230

88HU

007250
007254
007256
007260

f§*****12**********I********~**l*i~**1*********'*****i*****'**~**

. 012700

000100

8Ao~g7

8Uh~

o81r8~
10j
122523
001402
000000
000767
0g2703
o 1402

3$:
063330

063331

88g~gg

8$:
9$:

gAg4~~

i

84

3~85

00007727744
2

gH1g~

f~~H~

Ot2702

063324
063327

8t~785

007~16 OOO~5~

007320
007322

007330
007334

IhU g8HlS
3

nn
32~3

122523
001402
022703
001402

063325

g8g~2~

88H1t

8~~l8~

8g~1~g

88g~~g

g8ngg
007364

gA8~~i

063330

iI88°~ gg~j~6 8~~:A~
~i ~

j~g~

Bf:Q

HALT
BR
C~P

SEQ
HALT
SR

CMP
BEQ
HALT
MOV
BR

000000

(R5)+,(R3)+
4$
1$
l~WTA+6,

R3

1$
SDWTA+7,R5
$

1$
R4 R2 )
T5 f 01

l

¥~,(R2)

;DEST ADDR : DWTA+4
;SRC AODR = DWTA+6
;R3 GETS DEST ADDR
;SCOPE SYNC
;TEST THE CMPB
,BR IF "z" : 1 - IT SHOULD BE
;CMPB FAILED TO SET "Zh
;LOCK ON HARD ERROR
;DID DEST REG GET UPDATED?
;BR IF YES
;CMPB FAILED TO UPDATE DEST REG
;LOCK ON HARD ERROR
iDID SRC RF.G GF.! UPDATED?
;BR IF YES
iEa~~ ~Alhi~DT~RU~RATE SRC REG
iDID [OEST] GET ALTERED?
"SR IF NOT
iCMPB DELIVERED A RESULT
s~a~~O~~ A~~~T~RROR '

I 11 I~ll~l 11~~88i

Illli!

If

88~~~a

BASIC "MOVS iRA)+ XiRB) - SRC EVEN

I

nEST EVEN

s·*******;******************A**i*i*A**i************~*************

I~ ~I !!!!!~ !~!!~! !:::~:
807424
07426
007430
007432

sfa~Ro~~ ~~~~t~RROR

~gv

~'TEST 10'

ii~~
3329

DWTA+5,R3

!&~gn~TRg ,riH=TI~i4~gMBER

.. ***************************************************************

Thl02:

~ ~

.0
177~00,R4

g~u::~~~

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 64
T101
BASIC "CMPB (RA)+,(RB)+" - SRC I UDD,DEST I EVEN
TSTI01:
MOY
;~~gA£TRg 'I~H:Tf~i7~¥MBER
MUV
)DEST lDDR = DWTA+2
MOV
MOV
1$:
S~~CG~¥~ROEs¥WlaDa
MOV
;SCOPE SYNC
CCC
(R5)+,(R3)+
;TEST THE CMPB
CMPB
2$:
SEQ
JBR IF "Z" : 1 - IT SHOULD RE
4$
;CMPB FAILED TO SET "Z"
3$:
'fALT
;LOCK ON HARD ERROR
SR
;010 DEST REG GET UPDATED?
C"IP
4$:
BEQ
JBR IF YES
;CMPB FAILED TO UPDATE DEST REG
HALT
5$:
;LOCK
ON liARD ERROR
BR
1$
;DID SRC REG GET UPDATED?
CMP
6$:
SgWTA+6,R5
;BR IF YES
SEQ
;CMPB FAILED TO UPDATE SRC REG
HALT
7$:
;LOCK ON HARD ERROR
SR
;010
(DEST] GET ALTERED?
eMP
8$:
;JBR IF NOT
BP.Q
;CMPB DELIVERED A RESULT
HALT
9$:

3~09

3 10

3

roo

!,*~;***~*******;~;;~*~~~;;**;:*:**~;*:!*~*;;~***~;~**~*;***~*i=*

~~~9 g8i!~~ 888~~g

12J~i

MOY
MOY
MOV
MOV
MOV
CCC
CMPB
BEQ
HALT
BR
CMP

;,1**t*1*1******************1**l*,~**1*********'****t2*~**!**~***

~3Ii7~R 88~~8~
g81~1~

K;
83

6$:
7$:

CQKOA-C KD11-K BASIC LOGIC T~STS
CQKDAC.P11
07-NOY-78 14:09

1 Z3

4$:
5$:

88H~~ 86~4A~
ggF~8 000000
007'72

1$ :
2$:

88g~g~
022705
001402

TlOO:

b774~0

in

4
3327
275

SEQ 0062

J';~;;***:******;:;*~*:~=;;**::*:**:;*::*:*::~***;;;=* ~~;;***~*~*

J~U 88H::
n~~

il l

063330

88H~i 888~~~
88H~g 8~¥U~

007p6
007 42

3258

822705
01402

MACYll 30A(1052) 15-NOY-78 15:26 PACE 63
177
BASIC "CMPB (RA)+,(RB)+" - SRC AND DEST ODD
5$1
HALT
fE~~~ ~AIhfBDT~R~&RlTE DEST REG
SR
1$
CMP
;010 SRC REG GET UPDATED?
6$:
4~WTA+6,A5
BEQ
,BR IF YES
HALT
7$:
~E~~R &AIhfgDT~RR&RATE SRC REG
BR
1$
;010 (ORST] GET ALTERED?
CMP
8$:
R4 R2 )
BEQ
TS f 00
;;SR IF NOT
9$:
HALT
'~~~¥o~~Llg~~f~ A RESULT
MOY
n,(R2)
BR
SLOCK ON HARD ERROR

1$:
2$:

020412
001402
000000
000765

3$:

8gil8~

4$:

064631

MOV
MOV
MOV
MOV

=8:

ccc

MOYB
CMP
BEQ
HALT
BR
CMP
SEQ

1102fRO
MSU 1,R2
MSUFO(R3

17740U~R4

~~;t~~)

(R5)+,4(R3)
~t,(R2)

1S
#DBTA+l,R5
TSTl03

'6'LOAD RO WITH TEST NUMBER
) EST lDDR = MBUF1
;BASE DEST ADDR : MBUFO
;RESULT SIB = 177400

s~~~s~gD~ i79~~4

;SCOPE SYNC
;TESt THE MOYB
;RESULT OK?
;BR IF YES
;MOV DELIVERED WRONG RESULT
;LOCK ON HARD ERROR
;010 SRC REG GET INCREMENTED BY +1
HBR IF YES

SEQ 0063

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09

J~U

007442
007444

000000
000760

j~j~ 8g~~~~

01~700

~3B

MICY11 301(1052) 15-NOV-78 15:26 PIGE 65
Tl02
BISIC "MOYB (RA)+,X(RB) - SRC EVEN I DEST EVEN

SEQ 0064

d34
3335

007452
07456 °1~78~
hn
3340 807462 g ~~04

B~~

3341

~~:~
~U~

3348

3349
3350
335~

335

Bg43
3355
3356
3357
3358
3359
3360
3361
3362
3363

H~~
3366
3367

3368

3369

~H~

3372

3373
3374
3375

~H~

3378
3379

n~O

Bd

0001 03

8nd~

000777

88it~~ glh~~ ~~~~~,

007476
007500
007504
007506
007510
007512

000257
112563
020412
001402
000000
000765

gg1~~6

86tlg~

007522
007524

000000
000760

007526
007526

012700

000005

3$:
064636

8g~~i~ 8i~~8i g8~j~~
8g1~~~ 813~?~ ~~~~~~

1$ :

000005

2$:

007556
007560
007564
007566
007570
007572
007574
007600
007602
007604

000257
112563

U~:B
000000
000765
022705
001402
000000
000760

064631

nu
rt
3400

U8~
340
04
5
06
3 07

118~0

88~nt
087 ~

gg1Ug
007640
88nt:
65O
00i
00 652

807654
07660
80766~

0766

1
8 p8j

000105

8~nli

d ~85

A646g
177777

112563

000004

oOP711
025
g~~~H

000000
000765
022705
001402
000000
000760

064636

3441 1

UH

7~
n HU
rm~
b 8w
JUl
r
8o ~85d b ;
~t~
000106

07

,:tUI

l~~i
4 7

un

j:1i
3434
3435

~H9

un
3440
3441

8!ih

8007724
7'722

000257
116523
020412
001402

6
g077i
07'1 0

8gg~gg

g07'Pt
07' 3

022703
001402

88H:g

ggg~g~

007n6

r

7
0,.,44
"144

8H~~

4$ :

(R5)+,5(R3)
R4,(R2)
4$

M

1$

BEQ

CMP

f~U342,R5

MOV
MOV
MOV
MOV
~OV
MOV
CCC
MOVB
CMP

~:,(R2)

HALT
BR
CMP
REQ

(R5)+,5(R3)

1$

'~¥U51,R5

;TEST THE MOYB
;RESULT Of(?
;BR .IY YES
;MOV DELIVERED WRONG RESULT
;LOCK ON HIRD ERROR
;DID SRC REG GET INCREMENTED BY +1
;; BR IF YES

iTEST THE MOVB
;RESULT OK?
;BR IF YES
;MOV DELIVERED WRONG RESULT
iLOCK ON HARD ERROF
;010 SRC REG GET INCREMENTED BY +1
·;;BR IF YES

5$:
HaLT
1
;~g~~ ~~I~i~ T~R~bBA1E sac REG
•• ******~*******ii**************'***********~********************
!iTEST 105
BASIC "Mova lRAl+ XlRBl - SRC ODD , DEST EVEN
;;**************************1**'*'*1** *********** **************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

8g~~g~ 012700

MOVB
CMP
SEQ
HALT

~EfJ

3$:

3384

un
!lU

4$:

000104

3385

un

2$:

MICY11 301(1052) lS-NOY-78 15:26 PAGE 66
TI05
BASIC "MOVB (RA)+,X(RB) - SRC ODD I DEST EVEM
TSTlOS:
MDV
#105 RO
S6~g~oA~gRW!T~Ba~~T NUMBER
MOV
MOV
;BASE DEST AOOR = ~BUFO
J~~~ukooa ~
TB11 401
1$:
~8~
MOV
-1,(R2~
HDEST) = 177~77
CCC
;SCOPE SYNC
(R5)+,4(R3)
2$:
MOYB
; TEST THE MOVB
CMP
;RESULT OK?
U,(R2)
BEQ
;BR IF YES
3$:
HALT
;MOV DELIVERED WRONG RESULT
SR
1$
;LOCK ON HARD ERROR
4$ :
CMP
;010 SRC REG GET INCREMENTED BY +1
fOBTB+2,R5
SEQ
STl06
;;BR IF YES
5$:
HALT
;MOYB FAILED TO UPDATE SRC REG
BR
;LOCK ON HIRD ERROR
1$
•• ***************************************************************

rDf!'R~

nU~I~~~

l~t~it*12~******~~~1~*:~~X~*l1~!1,~~~1::*1~~1*;*~!~*~X~~*'*2~~t*~VEM

HTl06:

MO'
MOV
MO~

6403
177777

1$:

000002

2$:

=8v
MOV

cec

3$:
063313

B

4$:
5$:

l'OOfRO0 Ra
~~¥

b

40'~ 4
2W~~'

#-f,(R3}

MOYB
C"IP
BEQ
HALT

2(R5),(R3)+
R4,(R2)
4$

SR

1$

CMP
SEQ
HALT
BR

'~¥y~~+I,R3
1$

'kLD•••0 "It' t'St

NU ••••

; EST IDDR = MBUf9
; ESULT SIB = 1 7401
;~~CG~¥~RD= DWI8DR
JCDEST) = f~;400
;SCOPE SYNC
;TEST THE MOYB
;RESULT OK?
;BR If' YES
,MoVB DELIVERED WRONG RESULT
;LOCK ON HIRD ERROR
;010 DEst REG GET INCREMENTED?
liBR IF YES
;MOYB FAILED TO AUTO INCREMENT DEST REG
;LOCK ON HARD ERROR

";*:;***********:;***:;*;****;:***;**::*;**;*~*;:***~~***~*;****EN

1§*~i**12Z******~**1~***~*~*~1**1'1*'1****§~******~*~***'**~*1*11
012700

8B18t

000107

~HlH

Tl07:

MOV

=3:

1107fRO

~~~48f~a4

;6LOID RO WITH TEST NUMBER

~R~~fiL~D~R/=BM~ui97401

SEQ 0065

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
064634
U1~ 88Hg~
3444
177777
ggH~~ 021
0 57
007774 116523 000001
4
8l8ggg
8~~~a~
34~f
345
000000
0006 000766
U~i o01°004
3454
3455 01 0010 02270~ 063313
o 0014 00140

o81~~8i

Ui~

U8

U~~
~~~S o°100~6
00 0 888~gf
3460

~U~
3466

3U~

il~'4~f~ ~
U~~

i:3H~H
~U~
~~R1

3484
3485

~U~
1U~

8l8g~~
81 g

012700
81H81

010052
010054
0060
01
o 0062
010064
010066
010070
0100'14
010076
010100

ol27f
00025
116523
020412
001402
000000
000765
022703
001402
000000
000760

8h
810ga~

000~10

8~5

0640~~
81HO~ ~~;~
000002

063314

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09
3498
3499 010134 116523 000001
3500
350~

818Ug

8~~U~

~~86

010144
010146
010150
010154

000000
000765
022703
001402

818ns

88g~g8

3507

dU

iU

l

516
517
~t8

5~6

~5~~3

35 4

t~~~
35~R

nj8

353~
~533

~~~~

glgU~

8l81U ~u~n
010176
010200
010204
010206
010210

114503
022703
001402
000000
000766

glg~lt

86118~

063314

000112
063331

3~39

063330

818~~~ 888~g~

3540

813Hl
~10230

o gB~
I~U 010240

3544

un

f

T110:

.OY
=8~
1$:

MOV
MOV
MOV

ecc

I"'f"
~9~ g~R2

DWT~ RJ
MBur6+ ,R3
. -1,(R2

'6

LO • 0 ,. WITH TEST NUMBE'
?R~~6L.DgR/=BM~U~~7

;SRC ADOR = OWTS
;R3 G~TS OE~; A9DR
;CDEST] = 1 77
;SCOPE SYNC
;TEST THE MoVB
;RESULT Ol(?
;BN IF YES

2(R5),(R3)+
MOVB
R4,(R2)
C"4P
BEQ
4$
3$:
HALT
f~g~~ g~LAX~~E~R~~~NG RESULT
BR
1$
;010 DEST REG GET INCREMENTED?
4$:
CMP
'~¥¥H+2,R3
qEQ
;; BRIF YES
;~OVB FAILED TO AUTO INCREMENT OEST REG
HALT
5$:
;LOCK O~ HARD ERROR
BR
1$
•• ***************************************************************
2$:

~:1~~1*111******~~~~~*:~2~~*i1~~1,~~~1::*!~~1*;*~~~*2~~*'*2~~1*22D

HUll:

'0'
MOV
1$:

=g~

MOV
MOV
CCC

1"'fRO

MB~ 0~R2

6~TfiRR5

MBur6+1,R3
-1,(R2)

,&L01D
'0 WITH
TEST NU'BE'
; EST ADDR
= MBUF~

S~~~U16D~ ~ BaTs7 7 '
;R3 GETS DES~ AD DR = MBUFO+1
;COEST] = 177777
;SCOPE SYNC

MACYll 30A(1052) I5-NOV-7S 15:26 PAGE 6S
BASIC "Mova 2(RA),(RB)+" TEST - SRC ODD I OEST ODD

Till

1(R5),(R3)+
;TEST THE MOVB
MOVB
;RESULT OK?
CMP
~~,(R2)
BEQ
;BR IF YES
;MOVB DELIVERED WRONG RESULT
3$:
HALT
;LOCK ON HARD ERROR
BR
1$
;010 DEST REG GET INCREMENTED?
4$:
CMP
'~¥vn+2,R3
BEQ
;;BR IF YES
HALT
5$:
s~8~~
b~I~lBDT~RAg~o INCREMENT DEST REG
BR
1$
;.***************************************************************
"TEST 11'
BASIC "MOVB -CRAl RB" lEST - SRC EVEN AODR
S.~****i i********************** ,**** **************************
T§T112 :
HOV
l112(RO
;iLoAD RO WITH TEST NUMBER
1$:
MOV
~DWTA+7,R5
;SRC ADDR = DWTA+7
2$:

8~~

2$:

MOVS

3$:

HALT

3

-(R5),R3
1,R3

S~85~i]SYNgooooo

;TEST THE Move

ts

S~~S¥~Ty~~?

SR

1$

;MOVB FAILED - WRONG RESULT
;LOCK ON HARD ERROR

4$:

i~C

'~'lr;6,R5

If~~ ~'Gy~~T DECRE~ENTED?

5$:

H~LT

~~~

177777

!MOV~ b~IhfR TqR~&RATE SRC REG

.;******~*******li**************,~~i********2*~******************

~~l~~l*!ll******~~~l~*:~~~~*;i~~lt~~:*l~~l*;*~~~*~~~*~~~~********

3536

~5~~

=

U'

P

o°lolO~
010
012700 000111
0106
~~81 o01 OPt 8B~8~ 885~H
3494 01 0 ;
01P05 064634
34q5 o
01 2 01 703 063313
177777
~:~~ g18B~ 8b~~~,

i~8S

SEQ 0066

c~t~***112*********1£*****~*j1**1'1**1***1**1************,*******

3490
3491

H8~
3504

19

!,**;;**********~:;***~=~;****~:***;;*::**~;**:.;;~*~;~;***;~;;*~DO

Ug}

346.

MACYll 30A(1052) 15-NoV-78 15:26 PAGE 67
fl07
BASIC "MoVB 2(RA),(RB)+" TEST - SRC ODD I DEST EVEN
Bn,R5
S~§CG~¥RRDES¥BIBDR
1$:
=8~
;[DEST]
177777
.-i, (R3)
MoV
;SCoPE SYNC
CCC
1(R5),(R3)+
;nST THE MoVB
2$:
MOVB
;RESULT OK?
CMP
(R2)
,SR IF YES
BEQ
;MOVB DELIVERED WRONG RESULT
3$:
HALT
;LOCK ON HARD ERROR
BR
IS
;010 DEST REG GET INCREMENTED?
4$:
CMP
'~nig+1,R3
nBR IF YES
BEQ
;Mova FAILED TO AUTO INCREMENT DEST REG
5$:
HALT
;LOCK ON HARD ERROR
BR
1$

012700

~12705

o85~g~

000113
063330

2$:

114503

8l8~~~ 8H18~
1~n 818~~g 888~gg
3~~0
h5~
3553 818~~6 86U3~

HT113:
1$:
MOV

"~WT +6,R5

~~~

-(R5),R3
1 ,R3

CCC
MoVB

;~LOAD

RO WITH TEST NUMBER

~[C~S~~O~ OO~~~~+6

;SCOPE SYNC
;TEST THE Move

ts

S~~S¥~Ty~~?

3$:

HlLT
BR

1$

;MOVB FAILED - WRONG RESULT
;LOCK ON HARD ERROR

4$:

~~~

4g~It45,R5

~~~~ ~~Gy~~T DECREMENTED?

177777

063327

~1131RO

~e~

SEQ 0067

CQKDA-C KDI1-K BASIC LOCIC TESTS
CQKDAC.P11 '
07-NOV-78 14:09

~~~~

3556
3557

~60
r~*
356}
~56
56
3564
3565

~~~~

3568
3Sr

}
1

~~
~~ i
3577

35

~5n

3~80

3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591

l~~~

3594
3595
3596
3597

010~!62

010264

000000
000761

5$:

000114
177400

8U~~~

~~1~H

gI8~~g ,8Ul8~

064631

010~12

010314
010316
0103:20
010330
010332
0103134
0103:36
010340
010314">.
010344
010346
010350
010352
010~:54

010506

005 26
000257
112346

ig8~

000000
000762
020412
001402

4$:

88g~~g
6$:

020~O6

001 02
000000
000752
010506

8$:

010356

010410

000115

112346

8i8U2

8184~~ 888~R9
010~l44

3640

HT115:
1$:

!~I:~RO

R~~~~00,R4
ID~TA
R3
pl ts P )

fii

(S~)+

(R3)+,-(SP)
l~BTA+l,

R3

1$
~~,(R2)

1$
~~,SP

1$
R5,SP

!~k~~DS~O WITH TEST NUMBER
;RESULT S ~ B = A7740g
iRESET SP OR ER OR L OP

!SR~s~~D~ =7~~~4

S,~ GfTS olsT
S~C~~E ~eNC

ADDR

;nST THE MOVS
;010 MOVB INCREMENT SRC REG?
;SR IF YES
iMOVB FAILED TO UPDATE SRC REG
;LOCK ON HARD ERROR
;RESULT OK?
;BR IF YES
;MOVB FAILED TO DELIVER CORRECT RESULT
;LOCK ON HARD ERROR
;D1D SP GET PUSHED SY i ?
;SR IF YES
;MOVS FAILED TO PUSH SP PROPERLY
;LOCK ON HARD ERROR
;RESET SP IN CASE OF ERROR

010506

MOV
"'OV
MOV
MOV
MOV
MOV
MOV
TST

~~1~~RO
~1 ~7400,R4
5 SP
(S~)+

~~~~~~ ~~NC

MOVS

(R3)+,-(SP)

;TEST TH E MOVS

ecc
2$:

86ug~

IO'TB+3~R3
pl~2(S )

;§~~~Ds~O ~ITH

TEST NUMBER

1~~~I~Ts~ ~O~ ;R~ZJ4fgop
{~~~S~~D~ i7~~;~+3
;R2 GETS DEST ADDR

MACYll 30A(1052) IS-NOV-78 15:26 PAGE 70
T115
BASIC "MOVS (RA)+,-(SP)" TEST - SRC ADDR ODD
CMP
;010 MOVS INCREMENT SRC Rr:G?
t~WTB+", R3
BEQ
;SR IF YES
HALT
;MOVS FAILED TO UPDATE SRC REG
3$:
SR
;LOCK ON HARD ERROR
1$
R4,(R2)
4$:
CMP
;RESULT OK?
BgQ
6$
;BR IF YES
;MOVB FAILED TO DELIVER CORRECT RESUl.T
HALT
SR
1$
;LOCK ON HARD ERROR
CMP
6$:
~~,sp
SR!DI~Py~~T PUSHED BY 2
BEQ
HALT
!~g~~ bAIRXRDT~R&g~H SP
BR
1$
R5,SP
8$:
MOV
;RESET SP IN CASE OF ERROR

"***T*i*6****-*:i;i~*:;'~;;*ii:****::*;~;;*:*;:~*~;~=***~~;;*~;i=
4
:;

n~ 818
o 0~5 8Bi89
~6~~ 8181~~ 8Bi8 4
010466 005~1~

dn

MOV
MOV
MOV
MOV
MOY
MOV
MOV
TST
CCC
MOYS
CMP
REQ
HALT
BR
CMP
REQ
HALT
SR
CMP
SEQ
HALT
BR
MOV

•• ********************************************_.****************.

UU

36lt

;MOYS FAILED TO UPDATE SRC REG
,LOCK ON HARD ERROR

1$

~~I~~1*11~******~~~I~*:~~Y~*1~~1!';1~~1:*t~~1*;*~~~*!~~~*~~~*****

UU
U~~
ih~

1$:

35:

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
3610 glgU~ 022703 064036
001402
361~
361
010410 OOO~OO
0104 2 000 62
0424 020412
3616
81 0426 001402
010430 000000
010432 000756

un

T114:

25:

~~~~ 818~~~ 815lgg
3600 0}0364 gP704 177400
0 06
o 0j70
03
U8~ 81831t 121
~~1~~1
74
~~84 010402 °H
o 6026
010404
U8~ 010406 886H~

3607

HALT
SR

SEQ 0068

--***********************************************-*******-*******
RA I+ -1 SP I" 1~~1 - SR~ A~~R EVEN
"1~~1 *114******* ~Asl~
"M~I~ *1**
i!
** ***
*,* ** **
***** ** **********

&lg~~~ 81~~8g
012 04

010 2
010274
010300
g1838~

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 69
T113
BASIC "MOVR -(RA),RB" TEST - SRC ODD ADDR

010470

000 5

~!l~i***l******************** *1,11*******************,**********

8~nU

86~8n

T116:

1$:

MOY
MOV
MOV
MOV
CLR

ecc

r

,116 RO
MBUfo,R2
R4
0'TB,R5
R2)

6~~.OA~gRWJTUBO~3T NUMBER

Gf~~L~R~ ~08R==loWTB

[OEST] = 000000
SCOPF. SYNC

SEQ 0069

CQKDA-C KD1I-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
~~6~t

33644
4~

36 45
3 6 46
364}

Uif

010472
010500
0 0502
010504
010506

116537
020412
001402
000000
000767

1~~2
818~lg 01~700
3653 01 5~4 8 7 0 2

000006

3$:

Iii'

°

70~

g18~1~ 80~g~~

3659

010534

116537

000001

i~~4
~~gi

063312

000000
000767

3667

~U~ 8Ig~s~

3670
3671

01~700

oo~po

811 705
18~

8
05012
000257

064032

116537

000006

063313

012700
032737

000121
000004

063234

~i!i 818g~~ 8i~i8~

064634

818~~~
U~~ 010566

36i~

010572
010574
010576

36S!

0106 2

3674

U~5

U7~ 8Ig~8~
~680
3~g~ 010610
U8~

'MOV~ DiL~I~~F.~RI~O:G RESULT

TSTU 7:

glg~~~ g~~:A~
010546
010550

SEQ 0070

S}liiI*111******~~~1~*:~211*~1al'II~:*1~~I*;*~a~*2~2*'*~i~I*fl~'*

~~~~ 818~~~
36666~
j66j

U~LT

DEST gVEN

;,**************\i**************'~2~**~*******i***~**************

000117
00066 33 1!
04006g 4

70

063312

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 71
T116
BASIC "MOVB X(R),8,A" TEST - SRC EVEI
2$:
MOVB
6(R5),@#MBUFO
;TEST THE MOVB
CMP
R4 L (R2)
;RESULT OK?
BEQ
TST117
;;SR IF YES

g804~~

MOV
1117,RO
'&LOAD RO WITH TEST HUMBER
=g~
MB~40,R2
;R~~OLtDgR/=BM~OrO
MOV
A~TB,R5
~BASE SRC lDDR = DBTB
1$:
CLR
R2)
;[DEST] = 000000
CCC
;SCOPE SYNC
;TEST THE MOVB
1(R5),@,MBUFO
2$:
MOI1B
;RESULT OK?
R4 L (R2)
CMP
BEQ
TST120
"BR IF YES
3$:
HALT
;MOI1B DELIYERED WRONG RESULT
AR
1~
,LncK nN HARD F.RRRnR
; ,. ********** *****Jr* *************tr* iJr**i*** **i*i* **i* ** **** **** ***
; TEST 120
BASIC "MnYB XlRl a#A" TEST - SRC EVEN I DEST ODD
££*****************************_'*1******************************
T:iT120:
MOV
MOY
MOV
MOY
CLR
1$:
CCC
6(R5),@#MBUFO+1 ;TEST THE MOYB
MOVB
2$:
CMP
'~figi)
I~~~U~J ~~I
SEQ

000000
000767

36 6

8

li~l 8lg~ll
~690

1691

010620

~lg~~~

gg~agb

~~~~ 8Ig~~t 8~g6~~

88~U~

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
3697 010650 000257
36 98
3 6 9 9 010652 116537 000001 063313
3700
370i 010660 020412
010662 001402
370
810664 088000
~i85
10666 0 767

ii8

370~

•• ***************************************************************
!'TEST 122
BASIC QUICK VERIFY TEST FOR BMI,BEO BVS,BCS-FLG=O
11*************************************************t*************

3708

Hn
j1B

glg~ig

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 72
USER CONTROLLED BREAKPOINT -- BIT2
;SCOPF. SYNC
CCC
1( R5 ),@ltMSUFO+1 ;TEST THE MOVB
MOVB
2$:
;RESULT OK?
CMP
;; BR IF n:s
Bt!:Q
¥~d~P
;MOVS DELIVERFO WRONG RESULT
lIALT
3$:
;LOCK ON HARD ERRROR
BR
1$

000122

nU22:
1$:
~g~

010674
010676
010700
010702

012700
000257
001404
100403
102402

jH~
372~

818iH

888~~8

3726

010714

i~~g
3731

8181~g

gb~~99

010722

001402

j~j~

818i~~

888~~~

010730

100402

22$:
5$:

3740

010736

102402

23$:
7$:

HU
3715

3716

lUi

~H~
~7~~

373~

818i8~ ~8~:8~

I~j; 818i~a 8g8~~~

i~li 818il9 888~gg

~

744

745
746
3747

0}0744
0 0744

103402

I~~~ 818i~8 888~g~

3751
3752

2$:

3$:

#122,RO

!~t~tR ~~LWJl~G§EST NUMBER

BEQ
8MI
BVS
BCS
flR
HALT
BR

IL,

;NO BR SHOULD OCCUR-FLAG=O
;NO BR SHOULD OCCUR-FLAG=O
iNO BR SHOULD OCCUR-FLAG=O
~~goB¥oSU~¥~DT~~¥UR-FLAG=O

SEQ
HALT
BR
BMI
HALT
BR
BVS
HALT
BR

22$

1$

iONE OF ABOI1E BR-S FAILED
;ERROR LOOP RETURN

000123
21$:
3$:

24$:
9$:

BCS
HALT
BR

1$
23$
1$
24$
1$
TSTl24
1$

;TEST THE BEQ-IT SHOULD I\R
;BEQ FAILED
;ERROR LOOP RETURN
iTEST THE BMI-IT SHOULD SR

S~~~okAt55~ RETURN
iTEST THE BVS-IT SHOULD BR
;BVS FAILED
;ERROR LOOP RETURN
;;TEST THE BCS-IT SHOULD BR
;BeS FAILED
;ERROR LOOP RETURN

SEQ 0071

CQKDA-C KD11-~ BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

~~5~

37~5

glg:;s~

p5~

~i~8

010756

3759
3760

010762

~U;

3763
3764
3765

H~~
3768

1HZ
377~
iH~

3776
37~7

H7S
37flO
37tH

H~~
37R4
3785

H~~

37R8

~~~g

3791
3792

010~'60

010~'74

81gj~U
011000
011002

012700
000262
102001
000402

000124
IS:
2S:
3S:

012700
000242

000125

3811
~n

181
3815

8H884
011010
011012
011012

102002
000000
000774

3S:

000126

011020
011020
011024
011026
011030
011032
011034
011036

002002

MOY
CLV

f125 , RO

;;LOAD RO WITH TEST NUMBER
,MAKE V=O

BVC
HALT
BR

TSTl26

;;TEST THE BVC-IT SHOULD BR

1$

S~~~0~Al~5~

RETURN

MOV
CCC

#126 , RO

BGE
HALT
BR

TSTl27

;iTEST THE BGE-IT SHOULD SR

IS

S~~fto~At~5~ RETURN

;;LOAD RO
;MAKE N:C

~ITH

TEST NUMBER

= 0000

000127

T~T127:

MOV
CCC
SEV

#127,RO

;;LOAD RO ~ITH TEST NUMBER
;CLEAR FLAGS
;MAKE N,V = 01

gga~8~

2$:

~~E

~~T130

Sr~~TT6H~E~¥Ei~§TSHOULDN'T RR

000000
000772

3$:

~~LT

1$

S~~~o~Atb5~ RF.TURN

gg&~~~

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 74
T130
BASIC BGE TEST WITH N,V = 10

liI§~1*1~2******~~~1~*~~~*1§~1*~11~*!'!*~*12*********************

011040
011()40
011()44
011046

T::iT130:

MOV
CCC
SEN

#130 , RO

IS:

886~8~

2S:

~~E

~~TI31

Sj~~TT~H~E~¥ET!~TSHOULDN'T BR

g8899g

3S:

HALT
BR

1S

;BGE FAILED
;ERROR LOOP RETURN

012700
000257
000270

000130

;;LOAD RO WITH TEST NUMBER
;CLEAR FLAGS
;MAKE N,V = 10

;1***************************************************************
I.

011060
011060

012700

gI18~: g88~~l

000131

;t§~t*lll******!~~15*~~§*1~~1*~ltU*~'1*~*11*********************

T:»T131 :
IS:
2S:

002002

3$:

MOY

#131 , RO

~~~
BGE
HALT
BR

;;LOAD RO WITH TEST NUMBER

f~~~~RN~~A~S11
TST132
IS

;;TEST THE BGE-IT SHOULD SR
;BGE FAILED
;ERROR LOOP RETURN

J';~;;*i;;******::;i~*=~;*;~;;*:i;~*;***:*~~*********************
0110'.

011076
011102

012700
000257

000132

0111.14

011114

011126

£'1******1****************************,1**************************
:>T132:
,
IS:
2S:

81111~ 8gg~~!

3S:

MaY
CCC

#132 RO

;;LOAD RO WITH TEST NUMBER
;CLEAR FLAGS

a~T

~§T133

SJ~~TT6H~E~fTT~ITSHOULDN'T BR

HALT
BR

IS

l'******;;******~:;*~**~**;~;;*:i*~*;***:************************

1;I§tl*li**********1**~*1********t***'1***21*********************

012700

n~~ 01112 888~g~
U~Z 0 1:2~
~J!t 8111~= 002402
~~64

RETURN

IS:

012700

~~ 81118~ 88~t8~

3h~
3856

S~~~0~Alh5B

.,***************************************************************
!'tEST "7
BASIC BG~ TEST WITH N V = 01
;. ****ii****************************'***************************

~B~~ 811gi~ 88g9~j

lIllil

IS

;;LOID RO VITH TEST NUMBER
;MAKE V=1
;TEST THE BVC-IT SHOULDN'! BR
;;GO TO NEXT TEST

;;**-****************************************************.*******

u~i gUni8
144
5

TSTl26:

1S:
2S:

382i

iUXi

#124,RO

1;***********************************'***************************
012700
000257

8H81~ g8g~~~

IBU gHII~~

1III

MOV
SEV
BVC
BR
HALT
SR

;l;;;;*:;:******::;i~*:~~*;~;;*:i;=*;*;*:*;;*********************

3~19
II~O 811g~a

U~4~7
~8
~A

TSTl25:

1S:
2S:

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

U~~

SEQ 0072

,,***************************************************************
!'TEST 12 5
BASIC BYC TEST WITH v=o
1;***** i********************************************************

~~U

3795
3796
3797
3798
3799
3800
380}
380
380
3804
3805
31306
3807
3808

PAGE 73

f§;~;:;**********************************************************

818U~ 888~~~
010770
010710

MACYll 30A(1052) 15-NOY-78 15:26
T124
BASIC BYC TEST WITH V=1

000000

000133

TST133:
IS:
2S:
3S:

MOV

#133 , RO

"LOAD RO WITH TEST NUMBER
;CLEAR FLAGS
;MAKE N,V = 01

TST134

;;TEST THE BLT-IT SHOULD BR
;BLT FAILED

CCC
SEV

BLf
HALT

SEQ 0073

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
3865 011130 000773

J86~

3K~3
~8~0

~~~~

011132
011132

811118

lB~~

011142
011142

Zt**i**lJ******************I~********'****12*********************

012700

000134

+5T134:
1$:

888~,Z

2$:
002402

JR~3 81114~ 888~~~

lii~
III'

SEQ 0074

;';~*;***:******;:;~t*;~;,';**;*;i;~*;*;*=************************

~8~1

~a~~

MACYll 30A(1052) 15-NOV-78 15:26 PIGE 75
T133
BASIC BLf TEST WITH I,V = 01
BR
1$
,ERROR LOOP RETURN

MOV
CCC
SEN
BLT
HALT
DR

#134,RO

;,LOID RO WITH TEST NUMBER
;CLEIR FLIGS
,SET N - H,V
10

TST135

;;TEST THE BLT-IT SHOULD BR

1$

~i&lo~Alb5~ RETURN

=

',***************************************************************

8111~8

~.11~1*lJ~******~!~I~*~~I*1~~I~:lt~*~'1*;*11*********************

+§T135:
012700

000135

MOV

#135,RO

,;LOID RO WITH TEST HUMBER

1$:

S~~

2$:

BLT
BR

3$
T5T136

;;GO TO NEXT TEST

~~8~ 811~8g 88~~8~

2$:

~~T137

;TEST THE BGT-IT SHOULDN'T BR
;;GO TO NEXT TEST

~~~g 811~g~ 88g~~~
J§l~

3$:

BGT
BR
HALT
BR

1$

~~~~OkAl~B~ RETURN

~Iii 8111~~ 888~1~

~89
~8~

011160

011162

002401

000402

;~k~~RN~~A~S11
;TEST THE BLT-IT SHOULDN'T DR

~3~5 8111~~ 88g~~~
~8§~

~lgS

I§g~

8Illi8

012700

II~~ gllll~ 888l~~

000136

;'**;***;;******;:;i~*~~;*;~;;*;*;;*~*:*~*:;~*=***:**************

i§ll

1111*I*1************************1**************,t***21***********
T~TI37:

~g9il~5 811~18

012700

011214

000257
000262

~

Jg10

011216

000137
1$:

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
39 21 011220 003001
3 9 22 01 222 000402
3923

~92~
3§16
3927
~g~i
Jill

811~~~

011230
011230

MOV
CCC
SEV

#137,RO

;;LOAD RO WITH TEST NUMBER
;CLEAR fLAGS
;SET V

MACY11 30A{10S2) IS-NOV-78 15:26 PAGE 76
T137
BASIC BGT TEST WITH Z = 0 AND N,V = 01
2$:

gg8~~g

~~T

f~T140

HILT
BR

1$

SEQ 0075

Sj~~TT6H~c8~t-l~O~H~~~¥ NOT BR

•• ***************************************************************
~'lRST 140
BASIC BCT TEST WITH ~ = liND H V = 00
11
****Ii***************************.**********'****"***********
T5T140:

~9~4 811~~2

~~3~ 811~:9 88~~8~

MOV
eec
SEZ

#140,RO

1$:

;;LOAD RO WITH TEST NUMBER
;CLEAR fLAGS
;SET Z

3937

2$:

~aT

~~T141

sj~5TT6H~eS~t-l6oJH~~i¥ NOT SR

g8g~~g

3$:

~~LT

1$

S~~~o~AE~~B RETURN

.,27.. •••,.,

T§TI41:

000257

1$:
2$:

I~JS 811~~~

li~i

lij~ 811~~8
3948

011254

3~§9554~ 811~~g
395

012700

000140

":~*;**:*******;:;i~*;~;*;~;;*;i;~*;*=*~*:=;*;*;*=**************

003002

~.~*~**1*1*************************************,****i2***********
MOV
CCC

#141,RO

;;LOAD RO WITH TEST NUMBER
;CLEAR fLAGS

BCT
HALT
BR

T5T142

;;TEST THE BGT - IT SHOULD BR
;BGT FAILED
;ERROR LOOP RETURN

~§~~ 811~~~ 888~~~

3$:

~9i:55~
3 8
J~~~

S';i;;**:;******;:;~~*;~;*;;;;*;*;~***:*~*:;~*=*;*:*~l************
011264
011264

012700

396
396

001112770
2 2

000257
000266

39gg

39 ~
397

3955

~§64

~§~l

39~i

1$

.,*****l************************l***~*******.**'***** ***********

f5T142:

MOV
CCC
266

#142,RO

1$:

;;LOID RO WITH TEST NUMBER
,CLEAR FLAGS
;MAKE H,V
01 AND Z
1

811~~~

2$:

~~T

~~T143

ST~~TT~H~Ei¥Til~TSROULDN'T BR

811~8g

3$:

HALT
DR

1$

;BGT FilLED
;ERROR LOOP RETURN

000142

=

•• ***************************************************************

3~7

~!l 811~8~

=

012700

000143

5'TEST 143
BASIC BGT TEST WITH Z = 1 AND N V = 10
.;************************************** ******,*****************
f5T143:
MOV
'143,RO
,;LOAD RO WITH TEST NUMBER

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

~I~~ 811~1~ 888~91

3979

~3B~

3982

Jill
398~

811112

MICYll 30A(1052) 15-NOV-78 15:26 PIGE 77
BASIC BGT TEST WITH Z = liND N,V = 10
'U43
IS:
j~~URl~A~S AND

~~~

8g~~8!

2S:

8111~g 88g~~g

3S:

BGT
BR
HALT
SR

SEQ 0076

~iT144

N,V = 10
;TEST THE BLT-IT SHOULDN·T BR
;;GO TO MEXT TEST

1$

S~~~0~Al5~~

~~T145

;CLEAR FLAGS
;MAKE Z = 1 AND N,V = 11
;TEST THE BGT-IT SHOULD NOT BR
;;GO TO NEXT TEST

IS

S~~~Okllh~~

RETURN

39B7

n~8
399~

~8;~

311l
i995
3996

011324
011324 012700
011330 000257
011332 000276
011334 003001
011336 ,000402

000144

till
811~23 888993
4000
01lH4
011344

012700

~8~~
l8~~

4025
4026
4027
4028

t8~g

01l3~i4

011354
011356
011360

BGT
BR
HALT
BR

RETURN

•• *****.*************.**********************************.********
,'TEST 145
BASIC BGT TEST WITH Z=O AND N V=11
11**··*******·**************************·****'**·***** ***********
000145

T:;Tl45:

1$:

288~ gll~~g 888~~~

4009
4010
4011
4012
4013
4014
4015
4016
4017
401R
4019
4020

~~~

2S:
3S:

l88~

4003
4004
4005
4006

IS:

2S:

003002
000000
000773

3$:

MOV

#145,RO

;;LOAD RO WITH TEST NUMBER
;CLEAR FLAGS
;MAKE N:C=1010

TSTl46

;;TEST THE BGT

1$

!~~~OkAl55g RETURN

~~~
BCT
HALT
BR

- IT

SHOULD SR

•• ***************************************************************

=

011362
011362
011366
0113'10
0113'10
0113'12
0113'74

012700
000257

000146

101002

88g~~~

~'TEST 146
BASIC BHI TF.ST WITH 7. C
00
{l*****I*********** *****************,***************************
f:;Tl46:
MOV
#146,RO
;;LOAD RO wITH TEST NUMBER
IS:
CCC
;MAKE z,e = 00
2$:
BHI
TST147
;;TEST THE BHI-IT SHOULD BR
3$:
HALT
;8HI FAILED
BR
,ERROR LOOP RETURN
IS

:8~~

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
4033 0113'76
4034 0113'76 012700 000147

~8~5

403'
4038
4039
4040
4041
4042

81128i

88H~ll

0114,06
011410

101001
000402
000000
000772

:8:1 8HlH
44~45
46
4 47
4048

811~1~

;';~;T**;********:;****~**;~;**:**~*i*~*:************************

1;*****l*~******~**li*~*i*i**l**it***~****l~*******************.*

012700

~8ol~51 811:j~ 888i~1
4
4055

0114:26
0 1430

000150

2$:

101001
000402

012700

3S:

18il

IliJil
0 141.
011476

U:

#150,RO
3S
TST151

;,LOAD RO WITH TEST NUMBER
;CLEAR FLAGS
;MAKE z,e = 10
;TEST THE BRI-IT SHOULD NOT BR
;;GO TO NEXT TEST

1$

!~"~OkAl55g

RETURN

J;I~§I*lil******~f~l~*!~l*I~§I*~ll~*~'~*;*ll*********************

000151

187~
8112~~ 88899~
48~4

Il'8.~li

MOV
CCC
SEZ
RHI
BR
LT

;,****.*.*******-*-***-******************************************

1819. 81UU 888~~~
:~II 811:~8 ~&!~81
107~

TSTI50:
IS:

10056
~O~~ 8112]~ 888~9~
:8~3
28~~

1~1~ 811:j~

MAeYll 30A(1052) 15-NOY-78 15:26 PAGE 78
BASIC BHI TEST WITH Z,C = 01
T147
TST147:
#l47,RO
MOV
,;LOAD RO WITH TEST NUMBER
CCC
1$:
;CLEAR FLAGS
SEC
;MAKE Z,C = 01
BHI
2S:
,TEST THE BRI-IT SHOULD NOT BR
SR
~~Tl50
;;GO TO NEXT TEST
3$:
HALT
,8HI FAILED
BR
1$
;ERROR LOOP RETURN

TST151:
1$:

2S:
3S:

MOV
CCC
265
BHI
BR
HALT
BR

#151,RO

1$

;;LOAD RO WITH TEST NUMBER
;CLEAR FLAGS
;MAKE Z,C = 11
,TEST THE RHt-IT SHOULDN·T BR
;;GO TO NEXT TEST

~~UAO~ll&5~

RETURN

11~7~~
~j•• ~~~Iit

0
005403

183~ 811~8~ b8~~8~

2S:

NEG
BPL
BEQ

R3

,TEST THE NEG
;010 N:e

= 10011

SEQ 0077

CQKDA-C K011-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

4g~8 811~~~ 88g~g~

MACYll 30A(1052) 15-NOV-78 15: 26 PlGE 79
BASIC NEG MODE 0 TEST : [DEST] GT 0
T152
BVS
3$
BCS
4$
HALT
}NEGATE FAILED TO ALTER CODES PROPERLY
3$:
BR
1$
,ERROR LOOP RETORN
;CORRECT RESULT?
4$:
CMP
BEQ
HBR IF YES
;NEG DELIVERED WRONG RESULT
5$:
HALT
;ERROR LOOP RETURN
BR
1S

U8~

TST153:

~83g 811~8~ 18~~8~

}~i~ 811~1~ 8g8~gg
t8~~ 811~1~ g~~~g~

lin
41856
41

j';*;;*~;j******;:;;~*:';~;*****:*;~;;*******.********************

0}1524
0 1524

~ll~~~

;;*~***********************t"i**********************************

01277000
~ 2 4

000~53
ooq
02

il~i ~ll~~2 1Ijlt 883 A~

:Jl!

011546
011554

162737
020412

~ll~ 811~g~

000765

~tll
41i5

41

4122

21.1~

i

41 5
41
4}2
4 2
29
4
4 0

1

~ii~

000002

063312

gllg~8 8Ab~8~

18

tU

SEQ 0078

011566

8101

4

~9~ 812~g9
01~703 88Rlg
OOOOO~

600
011604
011606

000257
163703

811&la

8~~:8~

41.~4 811~~8

41~5

Ud

1$:

ag~

2$:

SUB
CMP

3$:

HALT
RR

2$:

1153(RO
2LR1

MHUF~SR2

4,(R

;;LOAD RO WITH TEST NUMBER
;RESULT SIB = 2
;R2 POINTS TO DEST

, J~~H~Ahlg§STJ

=4

~5i

#2,UMBUFO
R4 L (R2)
TST154
(R2),R3
1$

;TEST THE SUB
;RESULT=2?
;"BR IF YES
,6n
WAS DATA
;SOB DELIVERED WRONG RESULT
;ERROR LOOP RETURN

SUB
CMP
SEQ
HALT
BR

@/tMRUFO,R3

~~fN5

;TEST THE SUB
; RESULT=2?
;;BR IF YES
;SUB DELIVERED WRONG RESULT
;RRRoR LOOP RETURN

063312

063312

3$:

8889g9

~Ug

MOV
MoV
MOV

1$

000155

U~~

nu
MACYll 30A(1052) 15-NOV-78 15:26 PAGE 80
BASIC "HTS RN" TEST -  = 1111
T155
iN:C = 1111
SCC
RTS
iTEST THE RTS - GO TO 4$
2$:
R3
LOAD THE PC
HALT
3$:
Jf~~l~~L~BRb~
SR
IS
1N:C = 1111 ?
4$:
BPL
BNE
BVC
BCS
5$:
HALT
Sfb~KA5~E~~Ro~ODES - CLEARED ONE
BR
1$
;010 R3 GET LOADED FROM STACK?
CMP
6$:
~~, It-I
;SR IF YES
BEQ
;RTS FAILED TO LOAD REG
HALT
7$:
;LOCK ON ERROR
SR
1$
,DID RTS POP THE STACK POINTER?
CMP
8$:
BEQ
~~f~~6
1 iBR IF YES
iRTS FAILED TO POP SP
HALT
9$:
;LOCK ON ERROR
BR
1$

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
4145 011642 000277
4146
4147 011644 000203
4148

n~9

41sf

nu

un

8fU~g 88g~g~

!

8U~5~ A8°8
o 6~6 10~0
8

011660

10340

81Ug~ 88g~gf

4fO

oOp666
1672 86~~~1

41
1
~~
4167

oOp70~
170

000000
000754
020506
001402

o 706
!1~0 °H704

ggg~g8

~

U
Op674
64 o 1676

416~

it

177777

4171
4172

;"***************************************************************

nn

un ~rljS
h
o
un
~tM 8HH9
4179

~M

un
un
4191
4195

o

o

~

1720
1724
011726

Op734
o 1736

gHi~~

o8i~700
ogSi
8b5~~~

ES I H6
SASl~ ********
"RTS p~" lEn
i!"'lTlS6:
** * **********
** * *****************************

000156

1$:

011734

2$:
3$:

000207

888~9Y

4$ :

820605
01402
000000
000765

5$:

~s:

MOV
MoV
CCC
RTS
HALT
BR
CMP
BEQ
HALT
BR

ft~5~~RO

RS'SP

#4~,-(SP)

PC

IS

¥~f~g7
1$

!§~~~DT~~ ~AI~I~f~TS'UMSER

SRESET SP FOR ERR¥R LOOP
;PUSH NEW PC ON SACK
;SCOPE SYNC
;TEST THE RTS - GO TO 4$
;RTS FAILED TO LOAD PC
;LOCK ON HARD ERROR
;010 SP GET POPPED ?
;JBR IF YES
;RTS FAILED TO UPDATE SP
;LoCK ON HARD ERROR

!'*~;;*i;;******;~;i~*:'~;;**;~***::'*;~;;*************************

u~~

Op~44
o
1 44

41n
4200

011750
011756

!§l***************************,tf********************************
012700
032737
001401

000157
000010

f US7:

063234

• SBnL u~g~ CONT!AtlfHOBREAKPOINt;:~ARI¥g WITH TEST NUMBER
BIT
#SIT3,@,BPTLOC ;BREAKPOINT HALT SET ??
BEQ
.+4
,SR IF NOT

SEQ 0079

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKOAC.Pl1
07-NOV-78 14:09
011'760 000000
420~

~~8~ PH~~ glgg8~

44~04
05
4 06
4207
4208

Hfg
4211

HH
4214

4215
4216
4217

~H~

011766
011770
011774
01D76
012000
012004
012()06
012010

4220

8Bt:B

4224
4225
42?~
4227

0120~2
0120
6
012(1 2
012036
012040
012042
012044
012046
012052
012056
012060
012064
012066
012070
012072
012074
01707E

~B~ 81~8,g
4223
lB~
lB~

4232
4233
4234
4235
4236
4237
4238
4239
4240

H4;
4243

F~~
4~46

4247
4248
4249
4250

:~~~

4253
4254
4255
4256

000257
004737
000000
000772
022726
001402
000000
0007fi5

012700
010605
010506

8BU~

005037
000257
000002
000000
000765
013702
022702
001404
01073 7

8gg~~~

012000

011774

000357

rH~~~

177776
000357
177776

~

U

t~i!

4 93
4 94

a4297
~~

1$

2

;RTI FAILED TO LOAD PC
;LOOP ON HARD ERROR
;SAVE TH~ [PSW] IN R2
;WAS [PSWJ = 357 ?
;BR IF YES
;RESTORE THE ERROR PSW
;RTI FAILED TO LOAD PSW
;LOCK ON HARD ERROR
;010 SP GET UPDATED OK ?
nBP IF YF:S
;PTJ FAILED TO UPDATE THE SP
;LOCK ON HARD ERROR

;-******.********************************************************

8BlS8
8BHg
012104
01?1.06

012700
010605
010506

8~5~~~

000161

"'TEST 161
PASIC "RTI" TEST WITH N:c=1111
1"******* ******************************** **********************
T~f161:
~g~
~~~A~RO
l§~V~DT~g l~T~NT~~T NUMBER
1$:
~OV
RS§SP
'RESET SP FOR ERROR LOOP

~~~

012130

~~$~!(SP)

~~~= ~~W==4~00000

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 82
Tl61
BASIC "PTI" TEST WITH N:C=l111
#357, UPSV
;MAKE OLD PSW
357
1oI0V
;SCOPE SYNC
NOP
2$:
;TEST THE RTI - GO TO 4$
RTI
4$:
MOV
;GET THE PSW
igP~~'R2
CMP
;WAS [PSIIIJ=OOO
BEQ
Sh62
;JBR IF YES
MOV
R2,@#PSW
;RESTORE ERROR PSV
3$:
HALT
;RTI FAILED TO CLEAR PSW
RR
1$
;LOCK 0' HARD ERROR

S';~;;*~~;******;:;i~*:i~;!*;~;;*=;~:;;;*~~:~i;~*;;:*:i;~*;;;****
0121.52

f§;~~i:**********************************************************

7

010t"

012210
012212

000162

8b~!~~ n~n~
lh
~6

000004

8B~U
0122~iO

01370~

p7776
00357

010237

177776

022726
001404

012214

01~2 4
o1 2~ 0
012232

000 60

86~184

8B~~U gg89~9

012242
012246

8A8aijZ
000732

012272

177776

4$:

5$:
6$:
7$:
8$:

177776

~OV

~~6~~RO
R5' SP

MOV
CLR
CCC
lOT
HALT
BR

1$

;lkQ~DT~~ ~~TH TEST NUMBER
SPESET SP FOR ERROR LOOP
;SKT UP lOT VECTOR
;IOT SHOULD CHANGE -1 TO 0
;MAKE [PSV] = 000
;SCOPE SYNC
;TEST THE lOT
;IOT FAILED TO LOAD PC
;LOCK ON HARD ERROR

!N~~W~~2
$ ,

;BR IF YES

"'OV
1$:

2$:
3$:

OOO~OO

H8~ 8B~~g

un

IO,@#PSW
1$

~~fnl

005726
001404

4308
4309

'-IOV
HALT
SR

HALT
BR

012260
012262

4304
4305

gs 57,

7$:

~~~~
4 00 8B~~~ 8b8aij~
012256 000740

~U}
430

~~PSW~R2

C~P
~EQ

5$:

IS

gggng

SH gg
8Bt~~
Hi~ 012
60
~~7~ 8Bn~ 81~
o 31
3
gBH~ ggog~~

'r

MOV

FIR

CIolP
BEQ

4271

lu
1 B9

HALT

6$:

~ ~Z

nij

3$;
4$:

020605
001402

un
4274

SEQ 0080

000160

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
4257 012116 012737 000357 177776
4258 012.124 000240
4259
0121.26 000002
012130 013702 177776
4263 012p4 022702 000000
012 .40 001404
2U~
4266 012142
177776
000 00
4267 012146 010~37
4~68 0121.50 000 56

~~H

MACY11 30A(1052) 1S-NOV-78 15:26 PACE 81
OSER CONTROLLED BREAKPOINT
BIT3
HALT
;BREAK - DEPRESS CONTINUE TO RESTART
MOV
R~:~~
1~1~~TO~JG~3~LEa&OR LOOP
1$:
MOV
;SCOPE SYNC
CCC
2$:
JSR
PC,@#4$ ;TEST THE JSR - GO TO 4$
;JSR FAILED TO LOAD PC
HALT
3$:
;LOCK ON HARD ERROR
BR
4$:
;010 JSR SAVE OLD PC ON STACK ?
CloIP
SEQ
;;BR IF YES
5$:
HALT
;JSR FAILED TO SAVE OLD PC
BR
1$
;LOCK 0' HARD ERROR

9$:

MOV

~8~

~OV

CMP
BEQ
MOV
HALT
SR
CI4P
BEQ
MOV
HALT

sa

TST

FF.Q

!40V
HALT
SR

11~~!ffh
ihw SP)

t8ifi IMf [5%0

A 357 ?

R2,8#PSW
1$

;RESTORE ERROR PSV

B~S' (SP) +

;010 lOT SAVE OLD PC ?
;SR IF YES

R2,@#PSW
1$
(SPl+
TST 63
R2,@#PSW
1S

s~~~T~~iL~~R~~ ~i~E OLD PC
;LOCK ON HARD ~RROR
;DID lOT SAVE OLD PSW ?
HBR IF YES
;RESTORE ERROR PSW
;IOT FAILED TO SAVE OLD PSW
;LOCK ON HARD ERROP

sl8tKFA~LH~R60E~~A~ PSW

;"***************************************************************
;'TEST 163
BASIC "lOT" TEST - IERIFI ~INKA~E T~ S~~PE ~~RVl~E
;;********************************* ** * * *** *** ** *** **

SEQ 0081

CQKDA-C KDI1-K BASIC ~OGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

UH
~F~

SB~~l

6Zgg
8i
o 050~

sl gH~h
1111
4~ 0 8lBH 88ijgH
4~21
:3~~
4U~
~B~
aH~

4330
4331
4332
4333
4f4
4 35
4 36
43~7

~h~

4340
4341
4j41

43~4
H4~

4347
4348
4349
43S0
4351
4352

H~l

4355
43!l6
4357
4358
4359
4360
4~61

g1U8l
10
012324

012326

012332

8HB6
012340

81B~~ 012700
012346 010605
O 01°50
01;r
~~
~1S
8B~6~ 012766
012460 886g~1
012402 000004
012404 000000
012406 000760

8

81

01~410

4367
436B

8~UH

000022

000164

1 8baH~

177777
177776

8BHg

01025~
0000
00074

177776

0124~6

8HU~

012404

012440

010237

177776

012452
012454
012460

g088~~
1~77 6

8H~8~ o6H~~

001404

012430
012432

000020

063244

gb4;~

8B::6
t4364
~~
012450
~U~

000004
005137
001402
000000
000761
010506

000163

8gg~n

005726
001404

8A8g~6

177776

4374
4375
4376
4377
4378
4379
4380

~3~~

4~83
~~3~

:iR~

4386
1i386
4 91
4.92
4193
43 94

:3§~

4397

012464
012464
0124'10
01~472
01 474
01 502
012506
012514
012516
012520
0125L~
01,5~6

012700
010605
O~OSO~
o 273
o012'137
503
000277
000004
013702
00t404
010237

812~J~ gg8~gg
012536

~1~~18
01
544 8t~Z8g

4403
4404

01 560
01 566

::8~

::8~

Sf
01

~~~ ~ oso~
554 o ~8~

4407
4408

:U~

::11
~n6

01273
000'57
104401

8un~

:Ug

8A56~~

000340

000020
177776

177776

R2,@#PSW
~~a¥T~~fLlaET5R~E~A&S'HE PSW
1$
;LOCK ON HARD ERROR
MOV
RS,SP
;RESET THE SP BEFORE CONTINUING
6$:
•• ***************************************************************

177776

3$:

010506

:n
4403

8

i'*:;;*i:;******:i;*~*i~;*;;;;*:*;::i;;*~~:~i=:*;:;*:i;=*;~;*****

80140~

063236
000036
062202

063~66

000 40
063 36

1$:
000034

BR

~8~
MOV
C~R
CLR
~g~

!~6~~RO
R5~SP

IIPRIFLG
~36

RINA,@#34

1"{PE
MOV
MOV
COM

8888~~

SEQ

3$ :

81~~1~ 888~~g

HALT
BR

1$

~§X~~DT~~ ~~TH TEST NUMBER
;RESET SP FOR ERROR LOOP
;INITIALIZE TEST FLAG
;SET UP THE "TRAP" VECTOR
;SCOPE SYNC

;TEST THE TRAP
iSETUP TRAP VECTOR
;SHOULD MAKE CPRIFLGl = 000000
"BR IF IT DID
;TRAP FAILED TO LINK TO PRINT SERVo
;LOCK ON liARD ERROR

!';*;;*i~;******::;i~*:'~:;:'*;*;;*~*~i:;:~i*;~*~;:~:*;~;;i~~******

~H6 8B~~8

:~~4

~~lT

~~l~~I*l~~******~!~!~*:I~!~:*l~~I*;*~l~~~~~*l~*~~l~I*i~~lI~§*****

HT166:

000166

~.*~***********************.*~***********************************

4417
4418

::~~

!·t****************l*********************************************
MOV
#165 L RO
;;LOAD RO WITH TEST NUMBER
U8~
~~{~~
~~~~~TT~~ ~bR ERROR LOOP
1$:
~2:
1:~5@120
~SET UP lOT VECTOR
MOV
i340,@#PSW
;MAKE CPSWl = 340
SCC
iMAKE N:C=1111
rOT
;TEST THE lOT
2$:
MOV
@IPSW,R2
iGET THE CPSWl
4$ :
BEQ
6$
;BR IF CPSWJ = 000

f h165:

000165

gHUg
012636

012700

gn~n

0050.17

HT16'1:

000167
062040
000032

000030

SEQ 0082

r~1@~20

HACY11 30A(1052) 15-NOV-78 15:26 PAGE 84
T164
BASIC "lOT" TEST -VERIFY LOADING PSW WITH 357
OR
1$
;~DCK ON HARD ERROR

CQKDA-C KDI1-K BASIC ~OGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
4369 012462 000732
4370

1fB
4373

HACYll 30A(1052) 15-NOV-78 15:26 PAGE 83
T163
BASIC "lOT" TEST - VERIFY LINKAGE TO SCOPE SERVICE
TST163:
;;LOAD RO WITH TEST NUMBER
MOV
!163~PO
P,R
HOV
Si~~~TS~P F R ERROR LOOP
MOV
IS:
CLR
;TRAP SERVI~E WJLL COM "SCOFLG"
ii§~bFLG
'
MOV
;SET UP lOT VEC OR
COPEl, @#20
CLR
122
;SCOPE SYNC
CCC
SCOPE
iTEST THE lOT
2S:
; SCOFLG SHOULD BECOME 000000
COM
tfSCOFLG
BEQ
;8R IF IT DID
;IOT FAILED TO LINK TO SCOPE SERVICE
3$:
HALT
;LOCK ON HARD ERROR
BR
IS
4S:
MOV
R5 SP
·R~SET SP IN CASE OF ~RROR
;,****************'*************'* ****************** ***********
; TEST 164
BlSIC "lOT" TEST -VERIFY LOADING P~W WItH 357
I~************************************************ **** *********
T164:
MOV
Z~k~~DTI~ ~JTH TEST NUMBER
U6~~RO
MOV
R5'SP
;RESET SP FOR ERROR LOOP
MOV
1$:
;SET UP lOT VECTOR
HOV
3 , 22
HOV
;IOT SHOU~D CHANGE -1 TO 0
MOV
-1~~SP)
;MAKE CPSWJ = 000
CI.R
ItP w
,SCOPE SYNC
CCC
iTEST THE lOT
2$:
lOT
;IOT FAILED TO LOAD PC
IIALT
3$:
;LOCK ON HARD ERROR
BR
IS
;GET THE PSW
MOV
4$:
;010 lOT LOAD A 357 ?
CMP
it~~~~~2
SEQ
;BR IF YES
iRESTORE ERROR PSW
MOV
R2,@#PSW
PSW
HALT
5$:
5lgtKF~~~H~R50E~~~g
BR
1$
iDID lOT SAVE OLD PC 1
6$:
CMP
U$,(sP}+
SEQ
;BR IF YES
R2,@#PSW
iRESTORE ERROR PSW
MOY
ilOT FAILED TO SAVE OLD PC
7$:
HALT
;LOCK ON HARD ERROR
BR
1$
8$:
TST
;010 lOT SAVE OLD PSW ?
SEQ
~~B65
;; BR IF YES
MOV
R2,@#PSW
5~5¥T~rr~~~R~~ ~i~E OLD PSW
HALT
9$:

1$:

~8~
MOV
MOV
CLR

~16~~RO
Rf,SP
#~~RA,@#30
@#32

§i~~OT~~ ~~TH TEST NUMBER
RESET SP FOR ERROR LOOP
SET UP THE EMT VECTOR

SEQ 0083

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

:2~2

4427
4428
4429

gl~t:i

gg8!~~

012650

104000

:21'

gl~~~i

ggil~J

2:~~

012660
012662

000000
000761

1t~j

MlCYll 30A(1052) 15-IOY-78 15:26 PAG! 85
BASIC "EMT" TEST - LUUGE TO ERROR 3ERVICE
T161
CLR
@,ERRFLG
;EMT SERVIC~ WILL COM [ERRYLG]
CCC
;SCOPE SYRC
2$:
ERROR
;nST THE EMT
COM
;010 EMT SERVo COM ERRFLG?
BEQ
"BR IF YES

063240

063240

3$:
i;

~2j~

4438
4439
4440
444~
444
444
4444
4445
4446
4447
4448
4449
4450
44~1
44"2
4453
4454
44~5
4456
4457
4458
4459
4460
4461

221j
4464
4465

012700
010605

88Ml~

005037
000257
000007
005137
001402
000000
000766
01'737
012737

063246

~H~gl

012114
01"16
012720
012724
012726
012730
012732
012740

81~~:2

012752
012754

063246

061122
000340

012700
010~05
012737

000171
061212
000340
063250

:t~~

0 2772
012776
013000

005037
000257

00~737

177700

22~~

glj8~3

88il~~

063250

22~'

013012
013014

000000
000765

4473

4476
4477

8888H

000010
000012

f §T171:
000004
000006

gBgl~

449

013()60

g6g7g~
o13oh
013026 005~67

SHgH 8B H

U~3 8B8~~ 816l~~
~491
B052 010506
49~ o 054 012702

~~8~

2~84

4505
4506

U8~

4509
45

}

lh1

4514

2~U

4517

~5~3

~~ ~

01306~

UU~8
0131)72

000257
00'5722

000172
050~64
050 60
013074
000340

Lllfi

&~OPERLY

:8:

CLR
CCC
TST
COM
BEQ
HALT
BP

ft~7AtRO

#B~~STt~#4
~~4sf@1I

@#fiERFLG

@#177700

U¥H~LG
1$

"
i§~~~OTU~ ~~TH TEST NUMBER
!SET UP THE BUS ERROR VECTOR

s~~i¥iA~~lkO¥E~¥R~rA~O~~AT WILL GET
;COMPLEMENTED 8Y TRAP SERVICE
;SCOPE SYNC
;FORCE BUS TIMEOUT USING PO ADDR.
;TEST FLAG SHOULD GO TO 000000
;;BR IF TRAP SPRUNG
;BUS ERROR FAILED TO'SPRING TRAP
;LOCK ON HARD ERROR

MACYll 30A(1052) 15-NOV-18 15:26 PAGE 86
T172
BASIC T~ST FOR ACCESSING DLll REGISTERS

000004
000006

2$:

88~H~
o 5712

000403

88~~~~
InoS 000
64

81J8~4

813
LO~
13'11

,Wi!
Ilh

Uut

13136
013140

gP142
J144
1 146

01~p7
01
37

'illlT tum

SEQ 0085

177560

3$:

061220
000340

TST

Hi

1'ST
BR
TST
HALT

rr
2
R2 +

~~ +

4$

-(R2)

IlR

1$

CMP
BEQ
DEC
BHE
MOV
HALT
RR

R4,(R2)
TST174
Rl
2$
(R2),R3
1$

000004
000006

gln8~ O~~~U
0 2604 ~00200

II

o85500
o00025

020412

2$:

un nun 8U~gg

88M81
001374
3$:

U
3
45 0

4535
4536

;fM~KD~~ R~I

;;***************************************************************

4483
4484
44B5
4486
44117
44B8

4500

1$:

3$:

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14: 09

22~~
U~~
~~3B

~8~
MOV

2$:

4480

2U~

,

*"* **** ** ** **** li*** *** ********, *2* *** *** **~**!*2*.******** *****

'*TEST 17n
BASIC TES~ nr RSVD IISTR. TRAPlIMK1GE
1.***************** ****ii*i******* ***************i*************
T§Tt 70:
MOV
;§~~~OTG~ nTH TEST NUMBER
MOV
MOV
JSET UP RSVD INSTR. TRAP VECTOR
MOV
HUV
IS:
S~~¥¥iA~~lkO~E~~R~~A~O~~AT WILL GET
CLR
;COMP,LEMENTED BY TRAP SERVICE
cec
;SCOPE SYNC
2$:
000007
;FORCE RSVD INSTR. TRAP
COM
;8R
IF T~I~S!p~&Ag SHOULD GO TO 000000
BEQ
3$:
HALT
;RSVD INSTR. TRAP FAILED
SR
;LOCK'ON HARD ERROR
IS
4$:
HOV
/tRSERR t UI0
f'~TEa&O~SI~R3'IIRR~ntrNIECTOP TO POINT
MOV
11340,@fl12

;.***************************************************************
-'TEST 171
PASIC TEST OF BUS ~TMEOUT TRAP LINKIGR
C
.***** * *************************i***********~***~*i***********

::~~ g1111~6 816~gl

4468
4469
4470

000170

~12737

UAL~

SEQ 0084

99U
°U i84 1 !
81270~

Bl~~ o

012

00200

;TEST READY BIT - IT SHOULD BE SET

Sf~~K!to~~ ~a~s

THE TIMER
;BR IF NOT A TIMEOUT

Jg~ID~HiI'A¥NDt~~R

;LOCK ON HARD ERROR

FAILED ON A (0)

MACY 11 30A( 1052) 15-NOV-78 15:26 PAGE 87
U74
BASIC tEST or DLII - XCSR - MAINT BIT (0)
;SCOPE SYNC
CCC
;TEST MlINT(O)
CMP
R4,(R2)
2$:
;,BR IF MAINT BIT CLEAR
BEQ
TST175
MOY
(R2),R3
;GI T JH~ WAS DAtA
HALT
;C N·
LEAR MAINT BIT
3$:
,LOCK ON H1RD E ROR
BR
1$

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09
:~J7
013174 000257

'~5l8
44542
41

013176
013200

020412
001403

~~;l 81~~gj g~~~~~

lU~
4548

SEQ 0086

t~~Z

81Hi8 012lOO 000175
81B~3 °B7~2 ~88~81
~~U 81H33
h635~
455~
455
4551

:~~R

:~~8

456~

l~~3

~~~~

013232
013234

013~36

81~2lg

2$:

020412
001403
011203

3$:

ggg~~g

~~~El&~'~~~Tt~~NN~~~D/B~E~EINTgHtREo~~I~tlF~~fi ~~~ ~~I=T~tt~·I~~~T A~HARS

;OUTPUT COR~ BUFF~RS ARE CHECKED rOR EQUIVALENCE. If AN ERROR IS DE¥)~CTED DURING THE COMPARISON THE ROUTINE HALTS WITH THE WAS AND SIB
;OlTA IN R3 AND R4 RESPRCTFULLY. A TIMER IS EMPLOY~D TO PREY~NT THR

~~H

4573

~!~~!*~~2~*~~~~I~~*I~*~~;~1!~~*22~~*~~~~*~~!*~~~e~~2;************

013244

~H~

nH~~

000176
177560
00

~~~~

013270
013274
013300

063 56
000 10
000004

4580
4581
4584

8806Q~66
83

81Bg~

~~B~ 81H~6 005001
~~U OP~I~
180404
~~S8 8d3~8
4591 0133n g8B~l

PHB

000006

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKOAC.Pll
0'7-NOV-'78 14:09
000000
4593
4594 gHH~ 0007~0
1~~~ 013330 116223 000002

r)~i

gHH~

88B~~

4600

34O

005062

°U
o

344

000004

Ug~ 8 ~~~ glng~ 8n~U
2~8g 8BU9 bHg6~
4607 013364 005305

4604

8 8gU13

4608
460
461

36
Op
o 337

un

8h~6~
8:Hgl HH88
°P406 0000 0

3

1~B 81~H~

114303
114404

o 3410

000717

4616

000004

fh176:
MOV
MOV
6$:
T5TB
1STB
MOY
MOV
MOY
!olDV
CLR
MOVB
TST8
BtH
OgC
BNF.

4592

4~9

;TEST MAIHT.(1)
; iBR If' IT lIIAS
;GET THE WAS DATA
;CAN·T SET MAINT BIT IN XCSR
;LOCK 0 HARD ERROR

~'TEST 176
BASIC DL11 OUT, IN ECHO TEST (MAINT MODEJ
iTHIS ROUTINE USES THE MAINTENA CE MODE FEATURE Of TH .DL 1 TO
;TURN ARUUND A STRING (It' 8 CHARACTERS TO THE DLll. THtS S RING CgNSISTS

4~66

45'76
4577

R4,(R2)
TSTl76
(R2),R3

IS
•• **********-****************************************************

4567
4568
4569
4570

~§~~

CMP
SEQ
MOV
HALT
BR

MACYU 30A(1052) 15- IWV-78 15:26 PAGE B8
BASIC Dtll OUT I IN ECHO TEST (MAINT MOD~;)
1176
;DL11 FAILED TO RESPOND IN TlMf.
HALT
;LOCK ON HARD ERRUR
BR
6$
;READ THE OLII INPUT RUFFFR INTO CORE
MOVB
3$ :
~~R2),(R3)+
DEC
~5~U¥~ 2~' fiM~~ 8 CHARS
RNE
1$
;TURN OFF MAINT. MODE
CLR
4i~2~5
MaY
;R~SET CHAR COUNTER
MOV
In6r ,R3
SEt OUTBUF
IHBUf PO~NTE~
ESE
PINT R
'-10 V
OBUF,R4
~RJ)+,(R4)+
4$:
IQP¥J ~o~UTPUT ??
~~rB
COUNT ONE CHECKED
DEC
R~
RNE
~~ ¥~T~~X¥ ¥~~¥
BR
~hST
WAS DATA IN R3 [BITS 7:9]
MaYS
5$:
-r31,R3
S , B DATA IN R4 [BITS : 0]
MOVB
- R4 R4
STII IP OFF BITS ..<15:08>
H~~8~U
RECEIVED DATl NOT EQUAL TO OUTPUT DUA
HALT
LOCK ON HARD ERROR
BR
b$

f

Ug

,

sD

SF.Q 0087

M1CYll 30A(1052) 15-MOV-78 15:26 PAGE 89
T176
BASIC DL11 OUT I IN ECHO TEST (MAINT MODE)

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-78 14:09

l~U

S~

4619

U~l
462

8HH~ 8P~H 88~~~g
013424 01~737 061620

U~~

81U~6

4624

01343

OOU 4O
6 8u~n 88
~8
012737 060664

013454

:~~s 8H:~~

4630
4631
463j
463
4634
4635

:U~

4638
4639
4640
4641

~~~1

4644
4645
4646
4647
4648
4649

U~~
:~~~

4654
4655
4656

~k~~

013474
01~47~
01 50

8B~I~

0135~O

0135~2

0135 6

8B~3~

013536
013544
013552

1Opp7
5 37
100003

8~lZH

8nb3~

00503~

b7~r6

81H~
0100 7

:g~~

4667
4668
4669
4670
4671
4672

08 ola
001124

46l~

4~HO

~68~

4683
4684
4~~~

gH~~8

013564
013570
013572
013574
013576

°IH8i
800261
103001
000401
104005

013600
013600
013602

000004

glHg~

81U~~

OA0241

813614
13614
013616

103001
104005

8iU~~
013626

013701

013642

000277

013614

103004

8~~~8a

2$:
3$:

81~U8

470
470

0t36it
013702
013704
013706

000277
000401
104005

SCOPE
MOV
MOV
SEC
BCC
BR

I'PSW

48TOtiffb~~DR
o,d
ESfM

1177
,RO
#2$,Rl
HT200

IRB
~~TN~~Z! 3~1 ~illwARE
·USE APT SWITCH REG.

SWITCH REG
;INHIBIT PRINTING INTRO. 1.0. MESSAGE?
;BR F YES
;paRST TIME INTO "CIT" TESTS ?
;B IF NOT - PRINT 10 ONLY ONCE
;SET FLAG TO INHIBIT PRINTING AGAIN
;IDENTIFY THIS PROGRAM
sa~¥Rc~~ ~UfO~¥T~E¥gAE~VEL 000

sJ'l~I~~I5~ ~~¥P~E~~¥&NR~~U¥'MES

;PREVENT MISSED TEST ERROR ON
;FIRST SCOPE CALL

;CALL THE SCUPE LOOP UTILITY

sl&~aDRrOW~~AHT~~¥TI~g~RijtTION WORD

;MAKE C=1

S!~8TT6H~cE~~'EiITSHOULDN"T BR
;BCC FULED

~RROR

sCOPr:
MOY
MllV
CLC

2$:
3$:

BCC
ERROR

1200,RO
#2$,R1

;CALL THE SCOPE LOOP UTILITY

~l~~aDRroW'~~HTI~¥TI=M~Rij~TION WORD

;MAKE C=O

T5T201

;;TEST THE BCC-IT SHOULD BR

5

iBCC FAILED

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 90
T201
VERIFY NO BRANCH MICROROUTINE DOES NOT CLR FLAGS

!L;~;;*;~*******;~;~;;*:~**;:;~;*:i~;~;~~;i;~*;~~;*;***~~~*;~:~;*

,)*****;il****************'*************************~l***********

TST201:

~8~pg

000201
013644

MOY

177776

SCC
BCC
MOV

=g~

2$:

~~~

3$:

813716
013720

001401
104001

0~~~8a

~i~g 0l~~i~ R~~~8~

41U

'i

ONCE
@ ONCE

lOT VECTOR
EMT VECTOR
TRAP VECTOR
POVER FAIL VECTOR

i

201 ,RO
!1$fi~1

PS~,R2
3$

R~P~~,R3

Tsf202

ERROR

l~th~DT~~ ~l¥~ET~~¥PMg~I~~TY

;COAD Rl WITH TEST INSTRUCTION WORD
$g'~TP~WPSW FOR ERROR CALL
;MAKE N:C = 1111
;TEST THE BCC-IT SHOULDN'T BR
;GET WAS FLAGS

S~A~ iFl~~A?

;NO BRANCH MICROROUTINE ALTERED CODES

f§;;:;;* *******************************************************

h~i8t
012702

44411;

:~"a

fleJ~~~§HSWR

UP
UP
UP
UP

I';;;;*;~i******;;;i;;*;;:;~;*=i~;~;~;;i;~*:~:;*;~;*~~=*;~:~;****

~~3o 81~g~6

:~8~

34

~~S681~l'24

;SET
;SET
;SET
;SET

~§*~****22****************1**************************************
noo:
000200
013614

8HU~ 8Bi8~ f~~~H

t69~

1

'H20

~,;*:;*;********:~~*;::;*:*;:*~::********************************

013662

~~8g

1$:

8~grH

4~94

:~8

3$:

HT177:

~6~~
4n~

=8~

MOV
MOV
!SfB
BPL
MOV
An
BNE
TST
BNE
COM
TYPE
IDENT!
CLR
MOV
MOV
MOV

PE
rO
.iROR~r"
~~~dIJ

{.*****l******************ll**************************~**********

000004

~687 013646 013703
~!R3 81~~~~ 8~i~8i
~6§Y 013656 104001
4695

88H~8

H ~~~tnVUnl,lxnin¥~n~lxUUHHHHHHHHHHHhxx

MOV
CLR
MOV
MOV

!';;;;**;;******;~~*;;;;*;**;*~:r********************************

013556

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
4673
4674
4675

U78
4679

~~II~I

001()c40
165326

063254
063254

H~H

CITS!:

88°030

0000 6

005737
001004

·nUH
065141

000020

000340
001141

46~9

4660
166~
466
4663
4664

~g~PE

MOV

=8~

177776

5$:

SCC
BR
ERROR
MOV
CMP
BEQ
ERROR

2$:

BCS

2$:
3$:
4$:

i

202 ,RO
fi$A~l

PS~,R2

4$
5
npR~,R3

Tsb03

S~t&~DTU6 ~i~~ET~g~PNH~~~~TY

;£OAD Rl WITH TEST INSTRUCTION WORD
S~'~TP~WPSW FOR ERROR CALL
;MAKE N:C = 1111
;TEST THE BR
;JUST IN CASE THE BR DION"T WORK
;GET THE FLAGS
;N:C = 11111
;;BR IF YES
;BRANCH MICROROUTINE lLTE:RED CODES

2lu

~7tS

In~

000~04

°Hi8°
80500!
012702

:~~}

~~~~
ti~~

SEQ 0088

;~X~XXXXX~XX~XIXXXXXXXXXXXXIIXXXXXXXXIXIXXXXIXXXXXXXXXXXXXXIXXXXXIXX

013742
013744

000257
103404

000203
013744
177776

3$

;TEST THE BCS-IT SHOULDN'T BR

SEQ 0089

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
013754
0.13756

8AH8~
001401
104001

1l"
4739
4740

013760
3760
01
o 3162

000004
012700

4743
4144

013774

1H3
473~

1~h

BIH~~

MACYll 30A(1052) IS-NOV-7B 15:26 PAGE 91
f203
VERIFY NO BRANCH MICROROUTINE DOES NOT SET FLAGS

~~¥

177776
3$:

8EQ
ERROR

npSlilR3
TST204
1

SEQ 0090

s~~~ ~L~g~o

nBR IF YES
,NO BRANCH MICROROUTINE-ALTERED CODES

1735

H~~ 8B7~~ 8A~Z8l

~7:~
4147

:7~3

~77~~

~~~i

l~5~

tl~~

012702
014000 000257
014002 000401
014004, 104005

8U8~~ °8aHO~

014014
014016

000204
014002
177776

177776

01481
104001

2$:
3$:
4$:

5S:

BR
ERROR
MOV
TST
BEQ
ERROR

4$
5

U

PSW ,R3
TST205

;TEST THE BR
;JUST IN CASE THE BR OIDN-T WORK

S~~t ~L~ggo

;; BR I f YES

;SRANCH MICROROUTINE ALTERED CODES.

4158
4759

in}

000004
8IH~~ ~1278°
065351
lU~ 8U8j~
4766
1UA
~i~g

014034
014036
014040

000205
014034

003401
000401
104005

2$:

3$:

RLE

~h206

;TEST THE BLE-IT SHOULDN-T
;;GO TO SCOP~ EXIT
;ALE rAILED

BU

TST207

f~RROR

5

;;TEST THE BLE-IT SHOULD BR
;BLE FAILED

BR
I::RROR

~R

47it

:lH
4774

014042

4775

14044
814042

4778
4179
4 80
4 Al
4 82

014054
014056
014060
014060
014062

000206
014060

~l~~ 014050

1n~

2$:

003401
104005

3$:

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKOAC.P11
07-NOV-78 14:09

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 92
T206
BLE TEST WITH Z = 1 AND N,V = 00

5

tU
478~
4788

H~3
~H~

tln
4795

4064
81
4064
014066

014072
014076
014100

479~

~n8

:A6g

000004

unu

014104

003401
104005

014126

003401
104005

000207
014102
2$:
3$:

TST210

BLE
ERPOR

5

fiLE

TST211

;;TEST THE BLE-IT SHOULD BR
;BLF. FAILED

U8~

U84
48~i

U07

UBS

UH

un
un
uu

4823
48~45
48
48 6

n'A

Ui3
u~~
U34

3$:

01 4130

8ttBg
8t~H~
Ot4144

014152

003401
000401
104005

4154

:8~~

8°i tt~~
8U ~~

40

014170

1~IH

2$:

000212
014170
101401

~RROR

;;TEST THE BLE-IT SHOULD BR
;BLE ~. AILED

SEQ 0091

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOY-78 14:09
2S~~

4843
48 14

014172
014174

MACYll 30A(1052) 15-109-78
BLOS TEST VITH Z,C
T212
BR
TST213
3$:
ERROR
5

000401
104005

4849

n~O

gll~lU ~n~u
000261

o 4 04
485~ o 4 10
o 4 12
48~3
U~~ 01 4214
4856 o 4214

101401

:R~8

104005

4fl57

014216

TST213:

2$ :
3$:

4220
o 4j20
01
~t
o 4 32
014234

~U~ g :
481)7
4!l6!l

4869
4870
4871
4872
4873
4874
4875
4876
4877
4818

81HU
014240

014242

4~n gl4~H
014250
48Bl

lU1
4884

SEQ 0092

"GO TO SCOPE EXIT
;BLOS FAILED

BLOS
ERROR

l213$,'RRO
@,2
1

T
sCtbkD
ai¥GETig~PN8~li~TY
(/OID R1 ~ITH TEST IISTRUCTION VORD
}CLEAR FLAGS
;MAKE Z,C
01

U5

=

TST214
5

"TEST THE BLOS-IT SHOULD BR
;BLOS FAILED

l';i:;*;;:******;~~;*;~;;*;;:;*;*~*=*~o*************** ***********

486~

~~~~

~8iPE

MOY
CCC
SEC

4860

4864

PAGE 93

!';i*;*2~3******;~~;*;=;;~:;;:*~*~*:*~~**************************
£;**1***************************,********************************

:hi
:U~

= 15:26
00

014254
014256

11******************************'********************************
TsT214:

800004

oUU~
000264
2$:

101401
104005

3$:

SCOPE
MOV
MOY
CCC
SEZ
BLOS
ERROR

#214 RO
@'2S:Rl

TST215
5

;CALL THE SCOPE LOOP UTILITY
;;LOAD RO WITH TEST NUMBER
;~OAD Rl WITH TEST INSTRUCTION WORD
;CLEAR FLAGS
;MAKE Z,C : 10
,;TEST THE BLOS-IT SHOULD HR
iBLOS FULED

;.***************************************************************
i'TES~ 215
BLOS TEST WITB Z C : 11
ll******************************'********************* ***********
000004

81H8°
00025;

TsT215:

000215
014260

SCOPE

~~~

000265

!i~I:~r

265

;CALL THE SCOPE LOOP UTILITY

1~~~I:Ri:I!I~HTI~'TI=M~RR~TION

WORD

;MAKE Z,C : 11

4~~~ 8i4~~g

101401

:9i~

104005

3S:

000004

;.***************************************************************
·'TEST 216
SXT MODE 0 TEST WITH N : 0 AND C : 1
~************
f!l*************************************************
sT216:
SCOPE
;CILL THE SCOPE LOOP UTILITY

4887

014262

2$:

439~

489 2
4 8 93

014264

4896

014272

4~~~

g14~~~

81!ig~ 8~~~18

=g~

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

:~~~ gi:~6~ g~~~81

4899
4900

:~g~

4903

014304
014306
014310

g002S7
00263
006703

2&88

1

49 4
4915
4&H

014322
014324
014326
014330

104002
005703
001401
104002

4924

014344

032737

000020

:~~~ 8U~i8 gB~8~
tg~g 014364 000257

177777

~~~g glt~~~ 88A~8A
:U~

4933

4934
J~j'

&UH8
014372

5

'H~:~~

;iTEST THE BLOS-IT SHOULD BR
;BLOS FULED

u~~aDRrOvn3HTH'T 1=~~~fi~TION

°

177777

ln~ 014332
n~~ gHU~ 8nn~ 8~~nl
4 923

TST21/i

063234

006703
103001

2$:

104002

3$:

CLR
MOY
cec

R4
#-1,R3

SXT

R3
TST220

SJ~~TIJHf.c~X1TILL CLEAR

2

;SXT AFFECTED "C" BIT

BCC
ERROR

s~~¥~ILSD's¥

;CLEAR N:C

4U8

~Ug

494~

:U1
U~~
:u~

4948
4949
4950

014p4

81~374

g

uU

8 4414
014416
Q144~0

4~~~ gU42~

006703
100003
001402
102401

WORD

MACYll 301(1052) lS-NOV-78 15:26 PAGE 94
SXT MODE
TEST WITH N : 0 AND C = 1
T216
CLR
R4
S~~¥¥~t gE~T~ GpO: 117177
MOV
#-1,113
cec
;CLEAR CODES
;tHC : 0011
263
2$:
P3
SXT
;TEST THE SXT
8MI
BN!
;010 SXT MAKE N:C : 0101?
BVS
BCS
3$:
E:RROR
;SXT FAILED TO ALTER CODES PROPERLY
2
4$:
TST
R3
;DID RESULT = 01
BEQ
TST217
;;BR IF IT DID
5$:
ERROR
;SXT DELIVERED WRONG RESULT TO P3
2

J!~I ~IJjJI b~~~~~
4907 014320 103401
0
4499 1
:~ii

BLOS
ERROR

BPt
BEQ
RVS

iN:C

= 1001?

GpO: 177777

SEQ 0093

CQ~DA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
014426 103401
014430 104002
014432 010305
14434 005105
14436 001401
014440 104002

8

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 95
T220
SXT MODE 0 TEST WITH N 1 AND C = 1
BCS
4$
;SXT YAILED TO ALTER CODES PROPERLY
ERROR
3$:
2
,CET RESULT
4$:
MOV
~~,R5
COM
$5g~P~~M~~Iult-8~og~¥ ~OITO 0
BEQ
TST221
ERROR
,SXT DELIVERED WRONG RESULT.
5$:
2

=

SEQ 0094

Ol4442

3tUH
gIU~~

014460
014462
014464

8UH8

~8~Zgr

2$:

014472

104002

3$:

014474
014474
01447i
°14S0
o 450
014512
o°145~4
45 0
o 45 2
014524
014526
014530

006712
100403
001002

2$:

014536

104001

8U~2g

88IlH

3$:
4$:

014544

104001

g14~~~

81~~8~

000004

oqloO 80~2~~
81278~ Ol3j12
005004

8HlB
000~63

177777

T222: SCOPE
MOV
MOV
~~~
MOV

~~~

5$:

g~l~A~

CQKDA-C KD11-K BAS[C LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09
5009 014556 012712 177777

§81~ 81:~~~ 888~~~

81 32
5014

014566

gI4~10

A8~38~
102401
03401

014610

104001

50~~

81:~1~

8~Yi61

030

014620

104001

~8t~

5018

~58~23~
58~2
24
58
5 25
558~6

55~29

~8U

i5~~g74
8.l ~4~6~~
O~ 0t H
58~8

81:g~0

88Il~1

11$:

104001

063312

063314

014654

~8~I
585

014656

~8~4 81~~~8

SXT
BMI
BNE
BVS
BCS
ERROR
TST
BEQ
ERROR
MOV
MOV

,CALL THE SCOPE LOOP utILITY
'lLOAD RO WITH TEST NUMBER
'~9A~ Rl WITH TEST INSTRUCTIUN WORD
?REsuftN§S TR ~EijT OP
;INITIAL [~ESTJ = 177777

(R2)

,TEST THE SXT - DMl

~~i~tRN~2D~S0011

,N:C

#MBUFO,(R2
@#!2$,Kl

= 0101

,SXT FAILED TO ALTER CODES PROPERLY
;010 RESULT = 01
;BR IF YES
,SXT SHOULD HAVE ZEROED CDESTJ
;DEST ADDR = MBUFO
,LOAD RI WITH TEST tNSTR WORD

7$:
6$:
9$:
8$:

SXT
8MI
BNE
BVS
BCS
ERROR
TST
BEQ
ERROR
CMP
BEQ
ERROR

~~k~~RN~gD~SOOll

(R2)+

; TEST SXT - DM2
;N:C = 0101 ?

1

;SXT FAILED TO ALTER CODES PROPERLY
,DID RESULT GET ZEROED ?
;BR IF YES
,SXT FAILED TO ZERO CDEST]

¥~f~~~UFO+2

s~~i I~ ~~~LLY MODE 2 ?

11MB UFO

,SXT FAILED TO AUTO INCREMENT

;"***************************************************************
"TE~T 223
SXT M~DE 1 tnT WITH II = ~tND C = 2
11;;2;;************** *** *
*** ******* * ******* *************
000004
012100

8A3~81

~18:5 814gg~ ~g~ZA?
l~

"c" Bn

i22l,RO
f2 R1
~B 0t O,R2
#-l,(R2)

~~§

~g~PE

000223
014650

104001

2$:
3$:

1223,RO

MOV

~t2$,Rl

MOY

#MBUFO,R2
#-l,(Rl)

~5e

~Ili g11:1 gli~!j ~~l~~~

!

S!~iTI~H~C~X6NIFFECTED
;SXT SET

MACYll 30A(1052} 15-NOV-78 15:26 PAGE 96
T222
SXT MODE 1 AND 2 TEST WITH N = 0 AND C = 1
MOV
~-l,(R2)
,INITIAL CDEST] = 177777
12$:

006722

81457t
14576
1 46 0
°0 14 6°0 2
014606

50}5

R3
TST222
2

;.***************************************************************
,'TEST 222
SXT MODE 1 ABO 2 TEST WITH N = 0 AND C = 1
f§***************************************************************

8UU~ 18~:81

5
s

SXT
Bce
ERROR

CCC
SXT
BCC
ERROR

;~th~DT~ij ~J¥&ET~~¥PNg~I~~TY

$(OAD RI WITH TEST INSTRUCTION WORD
!~~S~bIN¥s/T~ DE~T OP
;tNITIAk ,DEST] = 177777
;CLEAR C BIT

$!~~TI~Hf.e~X6NDISTURBEO
;SXT SET THE "c" BIT

gOi 9gf

~8~~ 8112!~ ~1~~84
58

5

8 8:~8~ ~ ~~~~

~8i~
~8~~

5064

014704
014706
014710

006712
100003
001402

2$:

SXT
BPL
BEQ

(R2)

,TEST THE

H

,N:C

sn

= 10011

SEQ 0095

CQItDl-C 1<011··1< BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7S 14:09

~821 gI2~1~ 18i~gl
5067

~828

5070
SOli

Ig~~

507~
5075

~gH

014716
014720
014722
014724

5078
5079
5080

go ln~
4730

5083
5084
50B5
5086
SOll7
5088
5089
5090
5091
50n
5093
50'14
509'5
50 Q 6
5097

go n~4
475~

o
~8~~ o

~8§~

5100

4734
4740

o 475~

000004
012700

gg~~H

014756
014760
014762

000276
006712
103001
104001

1)14764
014764

000004

8UH~
014770

015002
015006
015010
015012
015014

go~~~~

1 ~7i7i

063312

SXT
i!~iTIJHf.c~X6NAFFECTED
BCC
ERROR
;SXT SET THE "C" BIT
3$:
•• ***************************************************************
;'TEST 226
SWAB MODP. 0 TEST WITH POS. RESULT

2$:

f~;;;~;****************************·***********·****** ***********

SCOPE

~8~

8iH8°
01270l

~8~

~Ig§

gl~8~~

015022
015024

012703
000257
000273
000303
100403
001002
102401
103001
104002

~II~

glgg~8

g3~:g~

4$:

015032

104002

5$:

~lg~

5103
5104
5105

~18~

5110
5111
5112
5113

5116
5117
5118
5119
5120

2$:

3$:

~B~

51 5

~IB

5134
5135

~IH

5138

~lU
~U~

5143
5144
5145
5146
47
51
5 48
5149

;'TEST 227

015034
015034
015036
015042
015046
015052
015056
015Cl60
015062
015Cl64
015066
015070
01"iC172
015Cl74
015076
015100
015102

0151.04
015 4

18

1 ~Uil~
0151~6

n~o

515
515
515
5155
5156
7
5158
5160
S16}
516
516
5164
5165

gn

Hi~

5173

~H~

5176

#!77~Rg,R4

R3
3

!i
~

3

2
R4 R.1

Tsf227
2

;CALL THE SCOPE LOOP UTILITY

~lh~aDRfOw~~AHTt~fTI~~~aij~TION

!~~~¥rILSD's¥ op1~71~~

WORD

;CLEAR FLAGS
;MAI
l

CMP
t~BUFO.l'R3
jRADI~E~~SREG GET INCREMENTED?
BEQ
ERROR
5
,CLRB FAILED TO UPDlTEDEST REG
3$:
CMP
;CORRECT RESULT 1
4$:
R4dR2)
BEQ
TS 55
nBR IF YES
R2 ),R3
iGET THE WAS DATA
MOV
;CLRB DELIVE~ED WRONG RESULT
5$:
ERROR
.• ***************************************************************
!'TEST 355
CLRB TEST - DMI - EVEN ADDRESS
l;**************************************************** ***********
TST355:
SCOPE
iCALL THE SCOPE LOOP UTILITY
li~~'~~
$l&~tDR~OWr~~HTI~~TI=g~a~~TI0N WORD

i

=8:
=8~

2$:

MOV
MOV
CCC
CLRB
CMP
BEQ

. 2,1~R,l86~a4
3
t-l,(R2)

IB~~~LfD~R/=BM~Uf~7400

iR3 CONTAINS DEST ADDR
;COEST] = 177777
;SCOPE SYNC
i TEST THE CLRB
;CORRECT RESULT 1
nBR IF YES

HACY11 301(1052) 15-NOV-78 15:26 P1GE 140
T355
CLRB TEST - 0141 - EVEN ADDRESS

CQKDA-C

~Dl1-~ BASIC LOGIC TESTS
CQ~DAC.Pll
07-NOV-78 14:09

3$:

MOV
ERROR

fR2 ),R3

;GET THE WAS DATA
;CLRB DELIVERED WRONG RESULT

000356
02430
g6~H
Og331
177777

1
2$:

063314
3$:
4$:
5$:

HEGR
CMP
BEQ
ERROR
CMP
BEQ

~alOR

(R3).
t~BUFO+2' R3

5

~~fg~)
IRS ),R3

;TEST THE HEGB
;010 DEST REG GET INCREMENTED ?
IF YES
;NEGS F1ILED TO UPDATE DEST REG
;CORRECT RESULT 1
"BR IF YES

)BR

sg~!BTM~LYO~R~aTcRONG RESULT

Si;~;;*3;;******;~~;*;~;;*~*~~i*~*~~;*:~;~~;;********************
f~;3;;;**********************************************************

8~H~~
000200

063234

~gVPE
357 RO
!~tbkDT~~ aI¥~ET~~¥PN8~a~~TY
MOV
f#2~4'RI
;(OAD Rl WITH TEST INSTRUCTION WORD
.SBTTL USER CONT~OL 0 BREAKPOINT -- BIT7
BIT
.81 ,@,BPTLOC ;BREAKPOINT HALT SET 11
BEQ
.+4
iBR IF NOT
HALT
;BREAK - DEPRESS CONTINUE TO RESTART
MOV
IMBUFO+l,R2
)DEST ADOR = MBUFO+l
MOV
777 R4
RESULT S
B = 777
MOV
MBUfo,R5
SPOtNT R5
CH,CK RESULT
MOV
2 R3
)R3 CONTAINS DE T AD DR
MOV
,-t,(R5)
)CDEST] = 17777
CCC
,SCOPE SYNC
(R3)
;TEST THE NEGB
NEGB
2S:
CMP
s~g~Ri~Ty~~SULT 1
Uf~~~)
BEQ
(R5),R3
)GET THE WAS DATA
MOV

fo

SEQ 0139

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDA~.Pll
07-NOV-78 14:09
~~~i

024404

104001

i~i
~~J
1~~~

75~6
753 2

ll24406

g~~t~6

R~441~

g~~1~~

HijO

024462

7548
7549

~~~
755

8~~l~~

7563
7564
7565
7568

H~45i~

7559
7560

i~~2

~~~~

nn

7572

105423

8~1181

063313

,104005

¥hUP

nH8l

•• ****************************

f§T361:
8fg983
013701
012702
012704
8H1f3
000257
105413
020412
001402
011203
104001

000361
024514
063312
177401
177777

024526

7576

024534

l53 4

7~8~ 8~l~gg

7h8
7600

013701

024564
024566
024570

un

761~
761
761

~614

7n~

7617

~~13

HT362:
000362
024556

A8f683

8~:~H 8~~~8l
024576

104002

~~~OR

~~7~g1~~4
#~tR'~R2)

(Rl)
R4£(R2)
TST362
R21
,R3

l

~l~~~DR~Ow~t~HT~~~TI~M~aij~TION

s~E~3L~D~R/=BM~Ul~7401
iR~ CONTAINS DEST ADOR

WORD

~~~5~~]SYN~77777

iTEST THE NEGB
;CORRECT RESULT?
;;SR IF YES

~i~IBTM~Lr'iR~~T~RONG RESULT

SCOPE
MOV
MOV

#362,RO
@!t2$,Rl

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 142
ADO TEST - SMO,OMO - N:C = 1010
T362
CLR
R4
MOV
iI-l,R5
MOV
#+1,R3
CCC
272
2$:
iTEST THE ADD
~DD
BMI
;N:C = 0101
BNE
BVS
BCS
ERROR
1$:
;AOO FAILED TO ALTER CODES PROPERLY
4$:
CMP
iCORRECT RESULT?
BEQ
;;BR IF YES
S$:
ERROR
;ADD DELIVERED THE WRONG RESULT
,'TEST 363

024606

g~~~l~

024622
024626
024630
024632
024634
024636
024640
024642
024644
024652

ADD TEST - SMOLDMO - N:C = 0101

f~****************************·**********************************

0~4600

SHiH!
012705
012703

8gg~~~
060503
100003
001402
102001
103001
104002
020403
001401
104002

1d~
n~1

g~U~l

000004

~g~~

024666
0:24672

012704
012705

u1&

NEGB
CMP
BEQ

Il~~'~~

.
;CALL THE SCOPE LOOP UTILITY

;-***************************************************************

16~0 8~4~~8

n~}

MOV

~g~

3$:

102401
103401
104002

U8~ 8~U89 8f998~
7603
7604
7605
7606
7607
7608

:g~

2$:

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
(124540 005004
~~n
177777
7579 g~~~~~ gtHg~ 000001
7580 0'24552
7581 024554 888~H
7582
7583 024556 060503

r~~

~g~

***~*****~************************

~~Hn*l~~******~22*I~n;;*i~2'~~2*;*'i~*;*!~12*******u*********

i~~~ 8~~~~8 8~g983

7~94
7595

SCOPE

.• ****************************************************It**********

~573

7587
7588
7589
7590
7591
i5~j

U

Ji;~;;*;:~******;~~;*;~;;*~*;:*l*~**~~;*:*~:;;;*******************

024470
024474
024500
024504
024506
024512
024514
024516
024520

1~~~
7558

177777

:B4~~a 8g~~H

1~~

!'TEST 160
NEGB TEST- DM' - EVEN lnnRESS
~J******ii********************~**********************************
TST360:
SCOPE
;CALL THE SCOPE LOOP UTILITY
=g~
Il~~f~f
sl&~tDRrowrJAHr~~iTII~~Rfi~TION WORD
199 4 8t,Ri4
~Bf~3LtD~R':8M~Ur97401
MOV
2R3.
SRl CORTAI S DEST AOOR
MOV
.-1,(R2}
;[OEST] : 177777
CCC
;SCOPE SYNC
2$:
NEGS
(R3)+
;TEST THE NEGS
;010 DEST REG GET INCREMENTED ?
CMP
BUFO+l,R3
SEQ
;SR IF YES
ERROR
;MEGB FULED TO UPDATE DEST REG
3$:
5
CMP
;CORRECT RESULT ?
4$:
SEQ
;;BR IF YES
iGET THE WAS DATA
MOV
!R2),R3
ERROR
;NEGS DELIVERED WRONG RESULT
5$:

:8:

O~~:~~

ll24do
ll24432
ll24436
ll24440

i 51; 8j222i
lilt 024450
754
754

SEQ 0140

•. ***************************************************************

1~~4

~h15

MACYll 30A(1052) 15-101-78 15:26 PAGE 141
USER CONTROLLED BREAKPOINT -- BIT7
3$:
ERROR
1
;MEGB DELIVERED WRONG RESULT

8~U~~ 8il18~

000363
024632
100006
077777
000007

T363: SCOPE

:8l
~g~
MOV

2$:

CCC
265
ADD

9PL

n~

3$:
4$:
5$:

BCC
ERROR
CMP
BEQ
ERROR

;CALL THE SCOPE LOOP UTILITY

#j~i,RO

!i5~~OR~OW~~~HT~~~TI=M~aij~TION WORD

#7,R3
R5,R3

;[DEST] = 7
;CLEAR FLAGS
iN:C
0101
iTEST THE ADD

3~31

;N:C

2

;AOD FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
;;SR IF YES
iADD DELIVERED THE WRONG RESULT

J'~9~~!fi~4

s~fi~U~~RS=/7~777100006
=

= 1010

SF.Q 0141

CQKOl-C KDl1-K BASIC LOGIC TESTS
CQItDlC.Pll
07-NO'-78 14:09

lilt

8Una

88B~n

024702

061503

nH8:

s~~:n

024710

104002

Iii
'tuIt IT"1,11

8~2Hl 8~il8~

024120

til

mi
Uil

104005

T365:

062503

2$:

8U~~a %6~t8i
024156

104002

8~21~~ 8Hl8~
024166

PlGE 143

SEQ 0142

$~8~~t]SYNg
lTEST THE ADD - SM1,DMO
;RESULT = IDWTA?
IDR IF YES
;ADD DELIVERED WRONG RESULT
;010 t~O N8¥ANGE REG.
)}BR
;REG GOT MODI' lEO

t§1~~1*1~i******t~~*~~~'2~2*II~I*********************************

000004

ooor50s
024
8U ~l
1i ~ o8~~184
5g0~
~1~4
146 005

024150

15:26

i,****·**************·****************·***·******·**** .**********

063300

104005

3$:
4$:
5$:

lUi

SCOPE
MOV
MOV
MOV
MOV
CLR
CCC
ADD
CMP
BEQ
ERROR
CMP
BEQ
ERROR

P"!

,CALL THE SCOPE LOOP UTILITY

fl~~aDRfOw~~AHTi§~TII~~R~~TION WORD
WTA
~O~R B:: =Ati
f~g6~PSYNg

~~ 1:~4

~TA,

:~~8~~1

5

(R5)+,R3
~:,R3

2
fHUl,R5
5

;TEST THE ADD - SM2,DMO
;RESULT = UDWTA
;BR IF YES
;ADD DELIVERED WRONG RESULT
;DID ADD AUTO INCREMENT SOURCE REG?
)JBR IF YES
;ADD FAILED TO UPDATE SOURCE REG.

;-*******-*******************************************************

lU~ 1m
881 ~88~

un
nil
UU

t

'8In8~

8

Ui8

063276

MlCY 11 30A(1052) 15-NOV-78
T364
ADO SM1,DMO TEST
CLR
R3
CCC
ADD
(R5),R3
2$ :
CMP
R4,R3
BEQ
4$
3$:
ERROR
2
4$:
CMP
lTA
BEQ
Sf3 &R5
S
5$:
ERROR
5

J'T~SI 166
ADD SM3 DM2 lEST
f§* * * ***************,** * ************************************

000004

81~~8!
g
8000251
g~
8o ~8h
50

Hh

025022

063503

0~5024

0~04~7

o 5030

0141

T366:

8~g6~6

gnu~
2$:
063312

SCOPE
HOV
HOV
MOV
MOV
HOV
CLR
CCC
lOD
CMP
BEQ

r"'"

;CALL THE SCOPE LOOP UTILITY

R
ga¥1
A4
ATA+{06 R5

R~,@#MB

FO

@(R5)+,R3
~~,@#MBUFO

MACY11 301(1052) 15-NOV-78
T366
ADD SM3,DMO TEST
3$ :
4$:
5$:

2$:
3$:
4$:
5$:

2$:

3$:
4$:
5$:

RO WITH ~EST NUMR ER
s'lLOAD
OAO Rl WI H T ST INST UCTION

~~~S~tiN¥S/T8 s03B~lAAODR

WORD

0

fE~~~~~E~
#DWTA
}SCOPE SYNC
;TESf THE ADD - SM3,DMO
;RESULT
#OWTA?
;BR IF YES

=

15:26

PACE 144

SEQ 0143

5

;ADD
iDID
;; BR
;ADD

ADD
CMP
BEQ
ERROP
CMP
BEQ
ERROR

-(R5),R3
R4,R3
4$

S~~SV~TYES#DWTA?

5

;ADO DELIVERED WRONG RESULT
JDID SOURCE REG GET DECREMENTED?
nBR IF YES
;ADD FAILED TO UPDATE SOURCE REG

ADD
CMP
BEQ
ERROR
CMP
BEQ
ERROR

@-(R5),R3
U,@ftMDUFO

JG~S~~TYES#DWTA?

ERROR
CMP
BEQ
ERROR

2

UU6F,R5

2

fNh~5

DELIVERED WRONG RESULT
ADD AUTO INCREMENT SOURCE REG?
IF YES
FAILED TO UPDATE SOURCE REG.

;TEST THE ADD - SM4,DMO

;TEST THE ADD -

SM~,OMO

:2

;ADD DELIVERED WRONG RESULT

UUHO,R5

f~~B t~DYi~CREMENT SOURCE REG?

;ADD FAILED TO UPDATE SOURCE REG.

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

MACYll 301(1052) 15-NOV-78
T370
ADD SM5,DMO TEST

15:26

PAGE 145

SEQ 0144

H~g

7747

~U3 O~~lU

775i
715

8y~~g~
g~5bo
0~5~'4

7755
7756
7757
7758

025210
025212
025214
025220
025222
025224

000257
066503
020403
001401
104002

025226
025226

000004

025244
025250
025254
025256
025260
025264
025266
025270

012705
010437
005003
000257
067503
020403
001401
104002

h~

~~~6

~i~~

7763
7764
7765
7766
7767
7768
7769

8~~~8~

000371

8n~U
8ih8~
005003
000010

2$:

ADD
CMP
SEQ
ERROR

10(R5},R3

~~f~'2
2

;TEST THE ADD - SM6,DMO
;RESULT =MBUF01
HBR IF YES
;ADD DELIVERED WRONG RESULT

g~~B~ glH8~ 8~gF6
~~~~
7772 025240 012704 0633~2

7773
7774
7775
7776

7777

Hi~

7780
7781

H8~

7784
p85

7n~

7788
7789

H~~

7792
7793
7797

11~~

000010

025272
025272
025274
025300
025304
025310

7803
7804

n8~

~H8~

025324
025326

HT373:
0003P
0253~,4

8~15H

063276
2$:

061512
020412

025330
025332
025334

025336
025336
025340

1815

025360

8Ind

7819
7820

025370

062512

~3~~

025400

UH
7818

0~5~44

82~3~~

000004

81H8°

000374
025370

012705

063276

8~~ua 8gij~~,

iADD DELIVERED WRONG RESULT

,37',"

~~af~~R2
4

~n!~5

R2)

(R5),(R2)
R4,(R2)

;CALL THE SCOPE LOOP UTILITY

~l~~~DRrOWr~~HT~~iTI=~~~&~TION WORD
;DEST ADDR = MBUFO

J~~~HE~ ~D6RS==A'~WTA

'CDEST] = 0
SSCOPE SYNC
,
iTEST THE ADD - SMI,DMl
iRESULT = #DWTA1

15:26

PAGE 146

SEQ 0145

;;SR IF YES
;GET WAS DATA
,ADD DELIVERED WRONG RESULT

3$:

104001

ADD
CMP
BEQ
MOV
ERROR

(R5}+,(R2)

~~tHg)

l R2 ),R3

;TEST THE ADD - SM2,DMl
g~~uH YEl DWT 11

si~~ ~~~I~~i~D

WRONG RESULT

~~I~~1*lli******~22*~~I,i~~*1~~1*********************************

~83~

000004

~8~3
,934
35

8lH8f
8B7g~

105
o0120203

3

HT375:

025436

7~21

MOV
MOV

063316

CLR
CCC
ADD
CMP
BEQ
HOV
HOV
ERROR
HOV
CMP
BEQ
ERROR

025444

81~~~3

025454
025460
025464
025466

104001
013703
022703
001401
104005

HOV

=g~

2$:

~~:~ 8~~::~ 8~f:Ag

~~:~ 8~~:~~
7849

~~~PE

000375
025436
0633~2
0633 2
0632 6

005012
000257
061523

7821
7842

~~~4
U~~

~~f~~3
2

MACYlI 30A(1052) 15-NOV-78
T373
ADD SMl,DMl TEST
BEQ
TST374
MOV
!R.l),R3
3$:
ERROR

2$:

U~~

785~

;TEST THE ADD - SM7,DMO
g~~uH YE~DWT A1

.• ***************************************************************

7~~6

1850
7851

l?10(R5),R3

8M~H

i~~~ 8~gj1~ 8~~~6~
~3~~ 025376 011203

r
,IU
lB 6

SCOPf:
MOV
MOV
MOV
MOV
MOV
CLR
CCC
ADD
C~P

001402
011203
104001

73n
UB

un

ADD
CMP
BEQ
ERROR

~~1~~1*~Z~******~22*~~lt2~1*1~~I*********************************

000004
012700
013701
012702
012704

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.P11
01-NOV-7S 14:09
i~81

2$:

•• ***************************************************************

H~~ 0253~4 8A~~~5
7796 g~~~2g 00025i
7800

063276
063312

:3$:

063316
063314

4$:
5$:

Il~~'~~
Msofo L R2
DWT1~N4

~T~1

(R~)

5

(R5),(R3)+
~t,{R2}

R3~'#MBUFI

fR

,R3

j#MBUFt R3
MBUFO+~,R3
ST376
5

~~15~DT~~ ~~~&ET~g~PNH~~~ATY

S(~AD
;DEST

Rl WITH TEST INSTRUCTION WOPD
ADDR = MSUFO
;RESULT SIS = tDWTA
j~Rg~c~ ~~~~ AotR A
;CDEST] = 0
;SCOPE SYNC
;TEST THE ADD - SMl,DM2
;RESULT = #DWTA1
;BR IF YES
,SAVE UPDATED DEST ADD~
;GET WAS DATA
;ADD DELIVERED WRONG RESULT
iRESTORE UPDATED DEST ADDR
;010 ADD INCREMENT DEST REG
;;RR IF YES
;ADD FAILED TO UPDATE DEST REG

4.***************************************************************
,f,

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

SEQ 0146

OOO~04

81h~~

m~11
gO~g5~
062523

2$:

8~YUg
8l~~~j

063316

1~4001

3$ :

8Hi81
001401
104005

5$:

ADD
CMP
BEQ
MOV
HOV
ERROR
MOV
CMP
BEQ
ERROR

(R5H·,(R3)+

iTEST THE ADD - SM2,DM2

~~,(R2)

n~S¥,TYES#DWTA

R3t:@#MBUFl
!R.d,R3
~.ilaMBUf'1~ R3
fs~~;~+ ,R3

5

,SAVE UPDATED DEST ADOR
WRONG RESULT

Si~b ~tfI~ti~o

~~l5T~~fi ¥~gaI~~N¥Egis~DR~G?

i;SR IF YES
;ADD FAILED TO UPDATE DEST REG

l&;::;*:l*;******:;;*;:i*~:;*;~;;********************* ************

o81~~~~
5560
o 55~4
8 ~~?~
5600

000004

~Ulr
Op7J

oo8~ 561
6
561g 80~gH
5604

0 2703

000377

86060~j114
H
76
063306

061533
020412
001406

1£****** **************,*****************************************
TsT377:
SCOPE
;CALL THE SCOPE LOOP UTILITY
=g~
li1~'~~
Sl~~aDR~OW'~~HT~~fTI:~~~~~TION WORD
HOV
MBOtOt:R2
;DEST ADOR = MBUFg
MOV
ADTWTA,At:5K4
;RESULT SIB = # WTA
HOV
K
;SOURCE ADOR = AtA
MOV
ATA+IO,P3
;[R3l = ADDP OF DEST AODR
g&~
R2)
S~~5~~JSYNg
(R5),@(R3)+
;TEST THE ADD - SMl,DH)
ADO
2$:
CHP
;RESULT = #DWTA?
~§,(R2)
BEQ
;BR IF n:s
MOV
R3t:@#MBUFl
j~HEwn DATA
MOV
RL ),R3
3$:
ERROR
;ADO DELIVERED WRONG RESULT
"RESTORE R3
.
MOV
~fMBUF~,R3
CMP
4$ :
;DIO ADD INCREMENT DEST REG
'sUO~ ,R3
SEQ
;; BR IF YRS
iADD FAILED TO UPDATE DEST REG
ERROR
5
5$:

l

104005

MlCYll 30A(1052) 15-NOV-78
T377
ADD SM1,DMJ TEST

000400
8~~70~

063H2

PAGE 148

SEQ 0147

•• ***************************************************************
!'TEST 400
ADD 5M2 DM3 TEST
1;*********************'*****************************************
TST400:
SCOPF.
iCALL THE SCOPE LOOP UTILITY
~R~
1400,RO
~i~~tDR~OW~J~HTi~¥TI=~~Rij~TION WORD
MOV
i~~Ot§~R2
;DEST AODR = MBUFO

~g~
~e~

8U~6~

063316
3$ :

8UBS

15:26

CCC
lDD
CMP
SEQ
'.fOV
MOV

ERROR

=~~lA~54
t~;~~10'R3

!~~~H~~ fD~RB==A'~WTA
SE~~~Tj ~DgR OF DEST AODR

(R"i)+,@(R3)+
R4,(R2}

;SCOPE SYNC
;TEST THE ADD - SM2,OM3
;RESULT = #DWTA?
;BR IF YES

R3t:@#MBUFl
iRL J, R3

Z~nEWn DATA
SADD DELIVERED WRONG RESULT

~n~~B~~~

4$

4$:

MOV
CMP
BEQ

'ST401

5$:

ERROR

5

s~j~T~~5 ~~CREMENT OEST REG
;;BR IF YES
;ADD FAILED TO UPDATE DEST REG

2$ :

ADD
CMF
BEQ
MOV

(R5),-(R3)

;TEST THE ADD - SMl,DM4

~~,(R2)

SU~S¥~TYES#DWrA?

R3t:@#MBUFl
RLl ,R3

;SAVE R3

3$:

~R~OR

4$:

MOV
CMP
SEQ

f

UMR¥Fl,R3
Tsf402

SlBa

~if[e~UD

WRONG RESULT

$~j~T~G5 ¥~CREMENT DEST REG?

HeR IF YES

CQKOA-C K011-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

Hn

n~!
797~
H~~

n~7j
798
798

l8g

'J26022

H8~

7988
79R9

Hil
H~
799

7<)9
7997

1§§S
8000

~g8~

800
800

g

~811

801
801
801
801
801i
801
801
801
8020

~g~i

802
802

IB6046

OB704
012705

1)26060
1)26062
026064
026066
026070
1)26074
1)26076
1)26100
026104
026106
026110

00025~
061543
020412
001406
010337
011203
104001
013703
020302
001401
104005

'026042

~gH

38n
B8~~

8039
8040

1)26112
1)26112
026114
1)26120
026124
026130

8~~Ha

026144
026146
1)26150
'J26152
')26154
1)26156
026162
026164
026166

8b~Z~~

026242
026244

38;~

026254

~8~3 81~~~~

8B18~

012702
012704

81H8j
00~012

000257
061553
020412
001406
010337

nH8i

013703

063116
3$:
063316

HT403:
000403
026150
063312

063310
2$:

063316
3$:
063316

062553
020412
001406

B8~d

026270

104005

J~~¥EI1IU DATA
;ADD DELIVERED WRONG RESULT

nMR~F1,R3

S~~~T~~~ ~~CREMENT DEST REG?
;;BR IF YES
;ADD FAILED TO UPDATE DEST REG.

fsf403
5

MOV
MOV
ERROR
MOV

I:~~'n~
MBOfo~R2
~~I!~~4

ATA+12,R3

R2)

(R5),@-(R3)
R4,(R2)
4$
R31.@#MBUFl
!R.l),R3
@#MBUFl,R3

iCALL THE SCOPE LOOP UTILITY

Sl&~~OR~OW~~~HTI~~TI=g~Rfi~TION
;OEST ADDR = MBUFO

WORD

!~E~M~~ iD6RB==A'~WTA

;R~ CONTAINS AODR OF DEST ADDR PLUS 2
iCDEST] = 0
;SCOPE SYNC
;TEST THE ADD - SMl,D~5
iRESULT
#DWTA?
iBR IF YES

=

S~HE\lI~~ DATA
iADO DELIVERED WRONG RESULT
iRESTORE R3

15:26

PAGE 150

iDID ADO DECREMENT OEST REG?
II BR IF YES
iADO FAILED TO UPDATE DEST REG.

•• ***************************************************************

~g~

3$:
4$:
5$:

MOV
CLR
CCC
ADD
CMP
BEQ
MOV
MOV
ERROl(
MOV
CMP
SEQ
ERROR

i¥I!~54

ATA+12,R3
R2)

(R5)+,@-(R3)
~~,(R2)
R3~@#MBUFl
fR
},R3

~fMBUF1,RJ

fsUMo,R
5

S~5~~~~ iD~RB==A'~WTA

iR3 CONTAINS AOOR OF OEST ADOR PLUS 2
;COEST] = 0
iSCOPE SYNC
iTEST THE ADO - SM2,DM5
iRESULT = #OWTA?
;BR IF YES

~~~~EW~~ DATA

;ADD DELIVERED WRONG RESULT
;RESTORE R3
;010 ADD DECREMENT DEST REG?
;;BR IF YES
;AOD FAILED TO UPDATE DEST REG

•• ***************************************************************

()~6272

g2~~7~

000~g4

()26360
026304

8H70 0
01270~

111U~~
88~0 026326

8000257
A5012

026330
026334
026336
026340
026342

061563
020412
001402
011203
104001

8079
B080

R31.~#MBUF1

!Rl),R3

~'TEST 404
ADO SM2 OMS TEST
i,~**~*****************'*****************************************
TST404:
SCOPE
iCALL THE SCOPE LOOP UTILITY
=g~
,:~t'~~
fl&~anRrOWr~~HTt~¥TI~~~~ij~TION WORD
MOV
MBOfo~R2
iDEST AODR = MBUFO

063316

8059

~87~
888~l~
078

;TEST THE ADO - SM2,DM4
,RESULT = #OWT A?
;BR IF YES

~~,(R2)

MACY11 30A(1052) 15-NOV-78
ADD SM1,DM5 TEST
T403
4$:
CMP
ItATA+10,R3
BEQ
TST404
5$:
ERROR
5

2$:

104001
001401

MOV
CLR
CCC
ADD
CMP
Bt:Q

8g~3~~

()26266

8 71
800~2
8 73

=g~

06h'6
063310

8lBH

SCOPE

=g~
MOV

8~H~~

~8~~ 8~~~1~ 8~~~8~ 8g~JA~

~868

4$:
5$:

000404
026240

8053

nijO

(R5),-(R3)

0g~06~

~~1~~1*12~******!~~*~~1,~~~*1~~!*********************************

000004

()26202
026202
026204
026210
oo1)~~6~14
6 20
6 24
026230

4
8884 ,
804
8048

806
806
B06
806
806'1

ADO
CMP
BEQ
MOV
MOV
ERHOR
MOV
CMP
BEQ
ERROR

;AOO FAILED TO UPDATE DEST REG.

•• ***************************************************************

~8~~ 81gH~
~8~~ ()26240

80~~

2$:

5

SEQ 0148

863Hi
063276
063314

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7P 14:09
8025 026172 022703 063306
8026 026176 001401
8027
8028 026200 104005
8029
8030

88U

ERROR

PAGE 149

000402

BOOi
BOO

800
BOO
8005

5$:

15:26

1)26024

8~g8~~ 8~~~83
81~g1~ 813l8~
:)2g8~l

798
798

104005

MACY11 30A(1052) 15-NOV-78
T401
ADO SM1,DM4 TEST

g~UH 012704
011t8~

000405
026330
063316
063322

8UH~

;'T£ST 405
ADD SM1,DM6 TEST
!;**********-**********.*****************************************
TST405 :
SCOPE
MOV
MOV
WORD
"I0V
MOV
MOV
MOV
CLR

ecc

000004

3$:

ADO
CMP
SEQ
MOV
ERROR

(R5),4(R3)

~h~~~}

I R2 ),R3

;TEST THE ADD - SM1,OM6
;RESULT = #DWTA?
iiBR IF YES
iGET WAS DATA
;AOD DELIVERED WRONG RESULT

SEQ 0149

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

MACYII 30A(1052) 15-NOV-78
T406
ADD SK2,DM6 TEST

15:26

PAGE 151

SEQ 0150

;L;~~;*:~~******:;;*;:2*;;6**;;;********************** ***********

i,**·******************,**~*l************************************

TSf406:

~8~PE

MOY
MOY

=8:

2$:

3$:

MOY
CLR
CCC
ADD
CMP
BEQ
MOV
ERROR

'

f406
,RO
'2BStRO~4'R2
MOT

ilt
fi~4
KaOto,R3

~ctblDTU~ ~i¥~ET~~¥PNgT~l~TY

,loAD R1 WITH TEST INS~RUCTION WORD
;D~ST lDDR = M80rO+4

s~ S~&i iD~RB==l'~WTA

'c i]

(R5)+,4(R3)

= BASE DEST !DDR
'CDEST] = 0
,SCOPE SYNC
iTEST THE ADD - SM2,DM6

Ud~i)

JUHUH

lR2),R3

~i~~ ~~~IV~i~D

(R5),@10(R3)

;TEST THE ADD - SMI,DM7

~~tH6)

gH~uH YE~DilTA?

IR2),R3

$l~~ ~~~I~~~~D

R2)

YEft

DilTA

?

WRONG RESULT

000004
°lj700
o 701
o 702
012704

o8~5~8~
5012
o 0257

2$:

ADD
CMP
BEQ

~a~OR

WROHG RESULT

ROO~S~

oll~ol
81H8~
81~~8~
0~5012

KACV1I 30A(1052) 15-NOV-78 15:26 PAG~ 152
T410
ADD SK2,DM7 TEST
CCC
;SCOPF. SYNC
(R5)+,@10(R3)
;TEST THE ADD - SM2,DM7
2$:
ADD
CMP
$~ij~U~t YE~DWTA?
BEQ
~~~HP
3$:

026536
026536
0~6540
6544
6550
6552
026554
026556

8

000004

~lH89

055004
005003
000257
000272

~~fIe~i~D

~B~OR

IR2),R3

SlB5

XOR
BMl
BNt:
BVS

R4,R3

;TEST THE XOR
;N:C=0100 11

WRONG RESULT

000411
026560

Bee

3$:
4$:

5$:

2$:

ERROR
CMP

n
2

BEQ

~~t~h

ERROR

2

XOR
BMI
BVS
BCS

R5,R3

BNE

;XOR FAILED TO SET FLAGS PROPERLY
)RESULT CORRECT?
i ;BR IF YES
;XOR DELIVERED THE WRONG RESULT

;TEST THE XOR
;N:C=0101 11

SEQ 0151

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
8193 026641 104002
BI~~ 026644 020403
Sl§~
026646 001401
8198 026650 104002
8199
8200

MACYll 30A(1052) 15-NOV-18 15:26 PAGE 153
T412
"XOR RA,RB" TEST - A=B=177777 N:C=0101
3$:
ERROR
;XOR FAILED to SET FLAGS PROPERLY
CMP
4$:
;RESULT CORRECT?
BEQ
HBR IF YES
ERROR
;XOR DELIVERED THE WRONG RESULT
5$:

SEQ 0152

9~8;

8203

8oO~6652
~~H
h8g
6660
8207 o 6664
8~04

OOO~p

~i~H~

125252
052525

8208

026670

8211
8212
8213
8214
8215
8216

026702
026704
026706
026710

074503
100003
001402

8224
3225

026716
026720
026722
026724

104002
020403
001401
104002

3~n

~~U
~H6
~B~
q223
~B~

8~g~6g

BPL
BVS
BCC

SEQ

8~~1H 18~g81

:1$:
4$:
5$:

.• ***************************************************************

~~!~~I*2l!******:~~~*~~~~~:*!~~1*;*~~2~~~3~~~~1~~~~i*~i~;1221****

8228

~Hg

823i
823

~B

8235
8236

g~fH~

000004

8~fH3

8B,8l
012705

026730
026744
026750

OUlOO

8H7~~

~B~ 8~~1~~ 000~71

8239
8240

~~l;

8243

026760
026762
026764

15T414:
009~14

SCOPE
MOY
MOY

~!f$~~l

052525
125252

MOV

#12525~,R3

iCALL THE SCOPE LOOP UTILITY
ijLOAD RO WITH TEST NUMBER
iLOAD Rl WITH TEST ~NSTRUCTION wORD
!~i~~~65~~~5= 17777
;rDEST] = 125252

XOR

R5,R3

,TEST THE XOR

It~

~43~

;N:C=1001 ??

~i~7~~

074503
100003
001402

~g~

S?I
2$:

~~:~ 8~~1~8 18~:81

8246
8247
8248

026772

104002

3~~6 81~11~ 8~~:gi
8~52

h~~

027000

H~5A

000004
012700
013701
05804
05 05
012702

8259
82bO

~~g~

8

U~~

888°H
000~72

8263

8266

000415
027032
063312

;XOR FAILED TO SET FLAGS PROPERLY

~~~

~~f~f5

~~S

2$:

027044
027046
027050

104001
020412
001402

3$:
4$:

82 0

gH8s~

nH8~

5$:

H2U

~

~~~~Uri ~~~RECT?

~'TEST 415
"XOR RI (RBl" TEST - I=B=OOOOOO N:C=1010
Ll*********************'***~************************** ***********
DT415:
~~ePE
#415,RO
s~tbkDT~5 ~¥¥~ET~~~PNH~~kaTY
MOV
~t2$,Pl
;LOAD Rl WITH TEST INSTRUCTION WORD
gt~
P5
j~i~~L! ~06080= 000000
MOY
#MBUFO,R2
;DEST ~DDR = M8UFO
CLR
(R2)
irDEST] = 000000

H~l5

827~
8278
8Pe9

S~i~~EN~~~IoOI

S$:
ERROR
;XOR DELIVERED THE WRONG RESULT
.• ***************************************************************

9~~~ 027032 074512
K2~6 027034 100403
B2 l1 8218~8 001002
a~7~ 0~7042 181~81
8274

'52~'5 R5

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 154
T414
"XOR RA,RB" TEST - A=052525,8=125252 N:C=lOOl
4$:

104002

8255

8~~~

#414,RO

BCS
ERROR

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-HOV-78 14:09
8251

;XOR FAILED TO SET FLAGS PROPERLY
;RESULT CORRECT?
i;I:lR IF YP.S
;XOR DELIVERED THE WRONG RESULT

E~ROR

CMP
IlEQ
ERROR

X[JR
BMI
BNE
BVS
BCC
ERROR
C"IP
BEQ
MOY
F.:RROR

~~~~~EN~~~Iolo

R5,(R2)

II

;TEST THE XOR
iN:C = 0100 17

~~t~n)

iXOR FAILED TO ALTER C(JDES PROPERLY
;RESULT CORRECT?
;;BR IF YES

i R2 ),R3

Si6~ b~fl~~~EgAtAE

1

WRONG RESULT

88~83
84

3 Hg

000004
012700

8~~~

I~n
32§~

8A~Z8l

012705
01270~

8A~3~,

B~§~

8296

B~§~

111177

~~HH

000265

8299
8300

027112
027114
027116

074512
100403
001002

118l

027124

104001

H~8~ 8~il~g 18~:81

1$:

X.OR
BMI
BNE
BVS
9CS
ERROR

R5,(R2)

Ii

iTEST THE XOR
;N:C = 0101 17

;XOR FAILED TO ALTER CODES PROPERLY

SEQ 0153

CQKDA-C K011-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

HACY11 30A(1052) 15-NOY-78 15:26 PIGE 155
T416
uXOR RA,(RB)" TEST - A=B=177711 N:C=0101

8HB8 8~~1H
8HBi nU8i

5$:

CHP
BEQ
HOV
ERROR

~~fni)

l R2 ),R3

SEQ 0154

;RESULT CORRECT?
nBR IF YES

S~~~ ~~tI'~~EgA'AE

WRONG RESULT

(';~;;*:~;******!;~;*;:*~;;~:*;:.;;*:*::~;:;:;*::~:;~;;*;~~:~*11*O**

$_*********************'***'***i*******I*I*I*'***llil******* ***

000004

81H8~
832737

of~~g~
012705

, 8H~02
0002H
000266
074512

8~~~lg
g~7~U

5g~~g}
19~~gl

027220
027222
027224

104001
020412
001402

g~4Bg

nH81
000004
012700

8B18l
012705
012702
0ij2712

808~H

TSt417:
000417
027206
000400
177777
125252
063312
052525

000004
012700
013~01
005
04
012 03
010305

027342

160503

o 7316
o 73~2

8o 7334
H~~
8 Hl8

II

S$:

2$:

XOR

R5,(R2)

RS,(R2)

1

~~fH5}

i R2 ),R3

!~~~~ lD~~5~5~BUFO

}CoEST] = 052525
;SCOPE SYNC
;MAKE N:C=0110
iTEST THE XOR
;N:C :: 1000 11

;XOR FAILED TO ALTER CODES PROPERLY
)RESULT CORRECT?
nBR IF YES

$~5~ b~tI~~~EgAIAE

WRONG RESULT

)TEST THE XOR

MACYll 30A(1052) IS-NOV-78 15:26 PAGE 156
T420
"XOR RA,(RB)" TEST - A=052525,B=125252 N:C=1001
;N:C = 1001 ??
8PL
SEQ
BVS
BCS
;XOR FAILED TO ALTER CODES PROPERLY
ERROR
1
;RESULT CORRECT?
eMP
~~f~~i}
BEQ
nBR IF YES
R2 ),R3
MOV
$~ai b~EI:~~EgAt~E WRONG RESULT
5$:
ERROR

f

000421
027342
052525

888~H

2$ :

b8fa8~
g3H~g 102401

0~7352

OS252~,tR2)

U

102401
103401
104001
020412
001402
011203
104001

SIBil

~~~f~2~RS

MOV
cec
266
XOR
BPL
BEQ
BYS
BCC
ERROR
CMP
SEQ
HOV
F.RROR

063312
125252

8~HH 58~~8~

8~HH

~g~

000420

CQKDA-C KOII-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

8~H8~

RifT

°HH~
652525

074512

027276
027300
027302

063234

~~~PE
417 RO
S~t~~DT~~ ~~¥~ET~~¥PNg~~~~TY
HOV
It2S~Rl
l£OAO R1 WITH TEST INSTRUCTION WORD
.SBTTL USER CONT~OLL~D BREAKPOINT -- BITB
BIT
'BITB,@'BPTLOC ;BREAKPOINT HALT SET ??
.+4
~G~EI~ ~06EPRESS CONTINUE TO RESTART
MOY
1-1 R4
,RESULT SIB = 177777

SUB
BMI
BNE
BiS

027354

g~H~8

g~~~81

4$:

ERROR
CMP

027362

104002

5$:

r:RROR

8A~681

2703
01
o 0305

in:ST

THE SUB

;DID N:C = 0100

Bce

103001
104002

000004
012700

R5,R3

3$:

;SUB
;WAS
;;BR
;SUB

BEQ

FAILED TO ALTER CODES PROPERLY
RESULT = O?
IF YES
DELIVERED WRONG RESULT

000422
027412
125252

888~H

160503
100403

2$:

SUB

R5,R3

BIB

3$

;TEST THE SUB

SEQ 0155

CQKDI-C l27562

',~~i~U

84 8

g~i~i~ 8pn~

8 49

an
U~

849
849

H:~

849

850

H~8

850

g~ng~
,027612
027614
1>27616

000004
012700

01~70~

000257
000274
160503

3$:
4$:

BSB::.
BCS
ERROR
CMP
BE:Q
ERROR

104002

li800~ 8~~~1~ g~~~gt
85' 1>27636 104002

ini
an

t2S Rl
2,R.4

!{~~5

;(olB R1 WITH TEST INSTRUCTION WORD
;RES LT 5 I B = 2

sf~~~ ~ ~~~To~P==_1
~~~~~RN~~l~Sll10

R5,R3

;TEST THE SUB

3
3

;N:C

!I

= 0001

;SUB FAILED TO ALTER CODES PROPERLY
;RESULT = +27
;;BR IF YES
;SUB DELIVERED WRONG RESULT

000425

nuu

2$ :

3$:
4S:
5$:

TST426:

SUS
BMI
SEQ
BVC
BCC
ERROR
CMP
BEQ
ERROR

~5~PE

MOV
MOV
MOV

~E~
~~~

as5
8III
B5

027674

8~~

g~~~8~

R~

+

R5,R3

;TEST THE SUB

It

;N:C = 0011 ("V" BIT SHOULD SET)

2

~~f~~6
2

;SUS FAILED TO ALTER CODES PROPERLY
;RESULT = 777771
;;BR IF YES
;SUB DELIVERED WRONG RESULT

;.***************************************************************
·'TEST 476
SUB TEST - SMO DM1 - N:C = 0110
1;****************************'**********************************

8~1

8~

=-

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 158
SUS TEST SMO,DMO (SRC) = -(DEST) = +,T424
SCC
4$
3$:
ERROR
;SUB DID NOT ALTER CODES PROPERLY
4$ :
CMP
;RESULT = -27
BEQ
;;SR IF YES
5$:
ERROR
;SUB DELIVERED WRONG RESULT

g~~~1~ A8°:8~
1>27624 10~001
0'7626 10300
027630

SEQ 0156

~HHg

020403
001401
104002

848

Ui~ O~7566

SUB

5$:

CQKDI-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
8471 027552 103001
82~~ 027554 104002
848
848
848

2$:

V~~I

177777
000001

027544
027546
027550

1

s,~

2705

1>27542

SUB TEST SMO DMO - (SRC) = (DEST)

=8:

000424

°b
808~~~

8465

MOV
MOV

000004
012700

8lH8l
012703

a:~4

= -,-

.*** **********************'******~***.********.****'*****.*****
f h423:
~5~PE
{Ct&kDT»~ ai~~ET~~~Pltg~~~aTY
423 ,RO

000004

U~~
un

=

•• ***************************************************************

B42

1111

MICY11 301(1052) 15-NOV-7B 15:26 PIGE 157
T422
SUB TEST SMO,DMO - (SRC)
(DEST)
BNE
ilt:C = 01001
BVS
BCC
ERROR
3$:
;SUB FIILED TO lLTER CODES PROPERLY
4$:
CMP
;RESULT = 01
BEQ
;JBR IF YES
5$:
ERROR
isua DELIVERED WRONG RESULT

160512

8~~~Z8 A8~~8~
18i281

2$:

,426 RO
1

M#a2SLRo,lR2
Oy
-1,R4

~~1R5

~~t5~DT~~ ~i~~ET~g¥PNH~~~~TY

;(010 R1 WITH TEST INSTRUCTION WORD
;DEST IDDR = MBUFO
iRESULT 5 I V 177777

=

S~~~S¥~R==OOOOOO
$~~~A~ ~~tgs

SUB

R5,(R2)

iTEST THE SUB

I~~

j4~

iN:C = 1001

BCS

~

SEQ 0157

CQKD1-C K011-( BISIC LOGIC TESTS
CQKD1C.Pll
07-NOV-7B 14:09

1

~119

027706

~J

8~111~ 8~~:A~

3$:
4$:

104001

III: 8J~~I: !AI~81
1i!
1t54~li~
3

l

101~~ji1~8
7 48

l~l~t
1~~05

0 7764

03001

027766
827770
27772
027774
027776

104001
020412
001402
011203
104001

1

MACYll 301(1052) lS-NOV-78 15:26 P1GE 159
T426
SUB TEST - SHO,DHI - N:C = 0110

5$:

ii~ 8 ~i~~ '888~~~
~~i 027754 160512
3 8~i15g A8°38~
8~~i 0 77~2 10~4ot

B~ig

8561

3~~~

856~
8565

t5~~

1

;SUB FAILED TO ALTER CODES PROPERLY

~~fn~)

~~~:Rf~Ty~~SOLT 7

l R2 ),R3

;GET THE W1S OATl
;SUB DELIVERED THE WRONG RESULT

100004

55j
554

8557
8558

ERROR
CMP
BEQ
HOV
ERROR

SEQ 0158

;N:C

~~!
BVS
Bec
3$:
4$:
5$:

ERROR
CMP
BEQ
HOV
ERROR

1

~~f~~~)

i R2 ),R3

= 0100

,SUB FAILED TO ALTER CODES PROPERLY
,CORRECT RESULT 7
;;BR IF YES
,GET THE WAS DATl
;SUB DELIVERED THE WRONG RESULT

a~6B

BU~

lUI
35~6
1~7i
8580
8581
8532

81 88Sg06 00~983
8 88 81~l8~
o OO~~ 81H04
~~00i2

012705

030034
030036

160512
100403

o3881~

8bHH

00l4
O} 0 O
4

f

g~ ~ ~

000001
100000
2$:

K~8~ 8~gg~~ ~g~~gf

Bve

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7B 14:09
8585 030044 103001
8586
030046 104001

HU~

n83

8~88~~

K~~~ 83gg~~

I~n

000004

8599

sHnl

un8

8A~Zgs

8~04

0025~
8 00266

8

R~8180

86

8~1~

Kgl!

Kil~

B8 167
8

~

3

II ~

86UH
nU8i

fn~n

064034

,'TEST 4~1
SUB TEST - SMI DMO - N:C = 0110
1;******* ********************,************* ********************
TST431:
SCOPE
;CALL THE SCOPE LOOP UTILITY
~8~
~_a~11~R4R~
~l~~aDRrowrJAHTI~¥TI=g~aij~TION WORD
MOV
i fH
;RESULT SIB = 177777
~e~
R+2,R5
$i§~s~gD~ oog~6S+2

030110
030112
030114

161503
100003
001402

2$:

030122
030124
030126
030130

104002
020403
001401
104002

3$:
4$:
5$:

aqw

SUB

(R5),RJ

Bpt

II

BEQ
BVS
BCS

8JgI~g 19~:81

~:RROR

2

CMP

BF.Q

~~f~~2

ERROR

:2

j~~~A~ b~tgs
iTEST THE SUB
,N:C = 1001
;SUB FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
;;BR IF YES
;SUB DELIVERED THE WRONG RESULT

00***************************************************************

432
SUB TEST - SM1 nMO - N:C = 1010
f('TEST
****************************'************ *********************
TST432:
~g~PE f 432 ,RO
S~t~~DT~8 ~~~~ET~~~PNH~~~~TY
MOV
~t2$,Rl
;i01D Rl WITH TES~ INSTRUCTION WORD
~&~
#DWTA+2,R5
~~~~Uk~Da ~ 8WT1~20000
MOV
(R5),R3
;EfESTJ = 177777
o

m~ ml~l
U~g BlhU
Uii n8U~

000432
030160
063324

S~S

ag~~

030160

t88gi480

~lglga b8~38}

~

II

;TEST THE SUB
;N:C = 0010

M1CYll 301(1052) 15-NOV-7B 15:26 PAGE 160
SUB TEST - SHO,DM1 - N:e = 0000
T430
Bee
4$
;SUB FAILED TO ALTER CODES PROPERLY
ERROR
1
3$:
;CORRECT RESULT 7
4$:
CMP
¥~fHf)
BEQ
;;BR IF YES
MOV
iR2), R3
sgij~ 6~fI~~~EgA+AE WRONG RESULT
5$:
ERROR

S~~

Ut

8634

RS,(R2)

;0***************************************************************

lin

65
H60~

SUB
BMI
BEQ

161503

0~81~~ Ig~381

2$:

SUB
BMI
BNE
BVS
BCC

SN:~l~

i&tg s

(R5),R3 ;TEST THE SUB
iN:C = 0100

SEQ 0159

CQKDA-C KDII-K BISIC LOGIC TESTS
CQKDAC.Pll
07-MOY-78 14:09

H~1~

3~U
H64~
864
8~48

030172

3$:
4$:

104002

8UH~ 8~f~8f
030200

5$:

104002

865
865
865
8657

H6~S

8~60

866~
866
8663
8664
8665
866~
866
3668
8669
9670

030202

8jO~8l

1)~8210

000004

OlnO O

8h78l
012705
0
aj8~j3
3
030234 ' 0002H
030236 161503
030240 100403
030242 001402
030244 102001
030246 103001
030250 104002

:bgH~

8IB

8673
8674

H~1~

818~~~ 8g?~8f

un
8677

030256

3~n

030260

8680

868
868i
868
868
8688
8689
8690
8691

U~~

869~
869
8696

2
¥3fn3
2

; SUB FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
H8R IF YES
;SUB DELIVERED THE WRONG RESULT

000433

8~~~~~

063316
OO
AOOO
00001

~_****************************l**********************************
Sr433:
,CALL THE SCOPE LOOP UTILITY
SCOPE
;-LOAD RO WITH TEST NUMBER
MOV
MOV
;£OAD Rl WItH TEST INSTRUCTIqM WORD
;RESULT 5 I B = 7777
HOV
4~~'~!R4
MBUn R5
;SRC ADDR =MflUFl
MDY
MOV
100006 R3
HDESTJ = 100000
+1,(R5 1
MaY
s~~~AgPhAG;l
CCC
(R5),R3
;TEST THE SUB
2$:
SUB
;N:C = 0010
BHI
BEQ
BVC
BCC
ERROR
,SUB FAILED TO ALTER CODES PROPERLY
3$:
2
,CORRECT RESULT?
4$:
CHP
BEQ
~~f~~4
"BR IF YES
ERROR
;SUB DELIVERED THE WRONG RESULT
5$:

1'33,.0

II

104002

--***************************************************************

(~30260

h~8~gg
H~S! ()30272
868~

ERROR
CMP
BEQ
ERROR

SEQ 0160

(';;;;*4jj******;~;*;~;;*~*;;i*D=~*~*;;~*:*OOOO******************

R6~g

865
86S)
865,

MACYU 30A( 1052) 15-110"-78 15:26 PAGE 161
1432
SUB TEST - SMl,DMO - M;C = 1010

()30276
oO~030~
030
030312
1)30314
030316
()30320
030322
030324
030326
()30330

000004

81H8°

01270~

012704
01~705

8A56B
000257
000266
161512
100003
001402
102401
103401

8g81~8

063312
177777

8355At

104001

HACYll 30A(1052) lS-NOV-78 15:26 PAGE 162
T434
SUB SHl,DMI TEST - N:C = 0110
3$:
4$:

H~gUa g6Y~~~
030340
030342

r'"
it

CQlDA-C K011-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
030332

!'TEST 434
SUB SM1,OH1 TEST - N:C = 0110
i~***************************************************************
T434:
;CALL THE SCOPE LOOP UTILITY
SCOPE
MOV
Il&~toRfOw~I~HTI~'TI=M~a~~TION WORD
MOY
aBaf~;R2
MOV
;OEST ADDR = MBUFO
MOV
-1 R4
$~~fiB~I ~O~RB==H~J~177
MOV
MB 6n~R5
;[SOURCE] = 000001
MOV
R~S(R )
;tOEST] = 000000
CLR
;CLEAR FLAGS
CCC
266
;N:e = 0110
(R5),(R2)
2$:
;TEST THE SUB
SUB
BPL
,N:C = 1001 7
REQ
BVS
Bes

011203
104001

5$:

ERROR
CMP
BEQ
MOV
ERROR

1

~~f~~~)

l R2 ),R3

;SUB FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT 7
;;BR IF YES
;GET THE WAS DATA
,SUB DELIVERED THE WRONG RESULT

,.***************************************************************
;'TEST 435
SUB SM1 OM? TEST - N:C = 0110

g~8~~: 000004
()30346

012700

8~g~g2

01~70a
012705

()3035~

gl~~8l

030366
030372
030376
030400

81ijgh

030406

161523

Op71~

Ll**********************'***************************** ,t**********

T:sT435:
000435

SCOPE
MOV
MOV

063316
000001

MOV
MOV

nun

=g~

030414
030416
030420

2$:

b8f~8~

Ig~~gl

104005

3$:
4$:

8J8~1~ g~~~H
030476
030430

011203
104001

(130432
(130432
(130434
(130440
(130444

gl~7()0

gi8:~~

(130456
(130462
(130464
(130466

000004

8h~U
010205

ga6~H

005425

020412

~¥OR~,R2

MBfiF1 L R5

+l~(R~)

~5e

8J8~8t 888~~l
8~g~1~

#435,RO
fi2SfR1

5$:

CCC
266
SUB
BPL
SEQ
avs
Bes
ERROR
CMP
BEQ
MOV
ERROR

~:~3

(R5),(R3)+

Ii

;CALL THE SCOPE LOOP UTILITY
;'LOAD RO WITH TEST NUMBER
;(OAO Rl WITH TEST INSTRUCTION WORD

fg~~6L~DgR/=BM~Ur~7777

;SOURCE AD DR = MBUF1
;[SOURCEJ = 000001

S~RE~lts=D~~¥02g0R

,CLEAR FLAGS
;N:C = 0110
iTEST THE SUB
iN:C = 1001 ?

i R2 ),R3

;SUB FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
i;BR IF YES
iGET THE WAS DATA
;SUB DELIVERED THE WRONG RESULT

(R5)+
R4,(R2)

,TEST THE NEG - MODE 2
;RESULT = 1252527

5

~~d~g)

000436
030464

Y~~~B

052526
2$ :

NEG
CMP

S~:Q

0161

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
030470 001402
030472
030474
030476 022705 063314
030502 001401
030504 104005

nUSl

MlCY11 301(1052) IS-NOV-78
1436
NEG DM2 TEST
BEQ
4$
MOY
A2 ),R3
ERROR
3$:
4$:
CMP
'~¥U~·2,R5
BEQ
5$:
ERROR
5

l

15:26

PAGE 163

SEQ 0162

,BR IF YES

s;~~ ~~fI'tiEgA~AONG

RESULT
;DID REG. GET AUTO INCREMENTED?
HBR IF YES
;NEG FAILED TO UPDATE REG.

030506

~30506

~~85jO
o~o~ 3

8g8i~~
i~~2H

305 4
305 0
305 4
030540
030542

005435

8~8~~~

gij~~H

g~g~g~

fH6g~

8

030554
030560
030562

063306
052526

g~ngI

2$:

063310

3$:
4$ :
5$:

104005

NEG
CMP
BEQ
MOV
ERROR
CHP
BEQ
ERROR

@(R5)+

U,(R2)

f R2 ),R3

;TEST THE NEG - MODE 3
;RESULT = 125252?
;BR IF YES

sg~~ ~~~I~~~:O

WRONG RESULT

U~UA2,R5

~~~B r'Gy~gT AUTO INCREMENTED?

5

;NEG FAILED TO UPDATE REG.

-(RS)

;TEST THE NEG - MODE 4
;RESULT = 125252?
,SR IF YES

000440

°f~620

o ~~B
~ 3314
052526

030620
030622
030624

005445
020412
001402

8~8~~8 ~bl68i

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
09
8 10 030632 020502
8811 030634 001401
030636 104005

83
UH

2$:

3$:

NEG
CMP
BEQ
MoV
ERROR

~~,(R2)

l R2 ),R3

MACYll 30A(1052) lS-NOV-78
T440
NEG OM4 TEST
4$:
5$:

CMP
BEQ
ERROR

~hU1
5

~2i~ ~~~I~tXto

15:26

WRONG RESULT

PAGE 164

;010 REG GET AUTO U1CREMENTED?
;;BR IF YES
;NEG FAILED TO UPDATE REG

SEQ 0163

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

MACYll 30A(1052) 15-NOY-78
T440
NEG DM4 TEST

15:26

PAGE 165

SEQ 0164

U\~

8816
8817
8818

030640

88~3 8~8~2~

°ro~g3

3R~! g~g~~~ glj~8!

R8~.~2~
81~i8~
,,5 8~g~~6
C13066t 012712

a8~~

8826

030672
030674

000257
005455

HU~

030676
(130700

020044122
0 1 0

RR~3

RR31
R~li

8837
8838
8839
8840
flfl41
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
BH~P

000441
030674

~~~~~~

063310
052526

2$:

8~8~81 ~A\~gJ
030706
030712
030714

022705
001401
104005

063306

R3~~
B3~~

C'30116
030716
030720

g38Hg
C,30734

030740
C'30744
030750
D30752
030756
030760
030762
030764

000004

81H8~

012702
012704
012705
8AnH
005465
020412
001402
011203
104001

000442
(130752
063312
125252
063310
052526
000002

0~8i~8 gr~~g3 000443
gl~~g~ 8g~gi~

gjr663

HU~

88§

031036
°n8U
831044
031054
ogo

°n

33U g
33g~

Rn~

900
i890
90}
890

8904
8905
8906
8907

3§8~

UH
UH

3§U

5

NEG 01017 tEST
il*******~******~******* ****************************************
.
~g~PE
~~t&kDT~5 ~~~kET~g~PNH~~~~TY
443 0
MOV
#2S'~1
SloAO R1 WITH TEST INSTRUCTION ~ORD
~OV
MBOfo,R2
;DES! AOOR = MflUFO

1

T~T443:

MlCYll 30A(1052) 15-NOY-78
T443
NEG OM7 TEST
R4
MOV
f252521
ATA R5
MOV
525~6,(R2)
MOV
CCC
@10(R5)
2$:
NEG
CMP
~~~~U)
SEQ
MOV
IR2),R3
3$:
ERROR

15:26

PAGE 166

;RESULT SIB

SEQ 0165

= 125252

;~~~~T] ~A~~5~~DR

;SCOPE SYNC
iTEST THE NEG - MODE 7
iRESULT
1252521
;JBR IF YES
;GET WAS DATA
;NEG DELIVERED WRONG RE:SULT

=

86~

SU8H
031074

guns

031102
031104
031106
031110
031112
11
8n
o31Bo

000004
812700

883~01
~ 8t
2

01r0
81 ~g~
005012
000257
000264
011513

000444
031074
063312
063324

AOOOO~
0140
102401
103001
104001

ggf~Aj

2 005003
~~1~8t

MOV SMI 0141 TEST - N:C

= 0100

T445:

000445
031160

892~ 8HU~

8kHH

805;g~

OB705

f44 1 RO
PS,Rl
R4
rBUFO R2
OWTA+~,R5

(~~~3

;CALL THE SCOPE LOOP UTILITY

Sl~~aDR~Ow~I~HT~~¥TI=g~afi~TION WORD
;RESULT SIB = 177177

=

(R5),(R3)

n
1

~~f~~~)
R3
R2 ),R3

l

==
= =

JDEST ADDR
MBUFO
;SOURCE ADOR
OWTA+2
;8ASE DEST AODR
MBUFO
;MAKE [OEST]
000000
;CLEAR FLAGS
;N:C
0100
;TEST THE MOV - SMl , DHI
iN:C
1000 1

=

;MOV FAILED TO ALTER CODES PROPERLY
;RESULT CORRECT 11
;;BR IF YES
;GET THE WAS DATA
iMOV DELIVERED THE WROIIG RESULT

.***************************************************************
'TEST 445
MOV SM2 DMl TEST - N:~ : 0100
~*****************.***'** ********** **** **********************

Rn~

suih

;'TEST 444
1444:
SCOPE
MOV
MOV
CLR
COM
MOV
MOY
HOV
CLR
CCC
264
2$:
MOY
BPL
BEQ
BVS
BCC
3$:
ERROR
4$:
CMP
8EQ
CLR
BIS
S$:
ERROR

f~*********************'** **************************************

0311~2
8~!~0 8~P
~ 8rO~83
19
92~
o°A~701
5004
892

U~3

ERROR

!'TEST 442
NEG DM6 TRST
~;************.*********************~***************** ***********
T5T442:
SCOPE
MOV
l442 , RO
1040V
WORD
MOV
i4fiof§~R2
MOV
f2525 R4
MOV
MBUFO-~~R5
52526,( 2)
MOV
CCC
2(R5)
2$:
NEG
;TEST THE NEG - MODE 6
CIJ.P
;RESULT = 1252521
~~~H~)
SEQ
;;BR IF YES
MOV
;GET WAS DATA
R2 ),R3
3$ :
ERROR
;NEG DELIVERED WRONG RESULT

;-*****************************-*********************************

B9~ 8~ 8~9

8895

5S:

•• ***************************************************************

UH

IUB

nUH O,R5

=

~'TEST 44J

330766

UH 83l8H

3

flEQ

l

R2 ),R3

;TEST THE NEG - MODE 5
iRESULT
1252521
;BR IF YES
;GET MIAS DATA
iNEG DELIVERED WRONG RgSULT
JOID NEG UPDATE REG
;JBR IF YES
iNEG FAILED TO UPDATE REG

f

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
8870 031004 012704 125252
8871 031010 01~705 0632~6
01 712 0525 6
000257
U~~ 031022 005475 000010
8876
8877 031026 020412
031030 001402
88BO 031032 011203
8881 031034 104001
8884
88R5
886
887

3$:
4S:

~:,(R2)

•• ***************************************************************

8Uj

8864
8865

@-(R5)

NEG
CMP
BEQ
MOV
ERROR
CMP

SCOPE
MOV
MOV
CLR
COM
MOV
MOV

!44S,RO
2 $IR1
R4
iMBUFO
R~
OWTA+~, 5

t

iCALL THE SCOPE LOOP UTILITY
;"LOAD RO WITH TEST NUMBER
;lOAD R1 WITH TEfT INSTRUCTION WORD
iRESULT 5 I B
71777
MBUFO
S~~~~C~D~~DR = DWT1+2

=

CQ~DA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-"OV-78 14:09

HACYll 30A(1052) 15-NOY-78 15:26 PAGE 167
T445
MOV SM2,OMl TEST - N:C = 0100

2$:

f~~~3

s~t~~ ~~~~T§D~Rooo~BgFO
Si~~A~ ~~ags

MOV
BPL

(R5)+,{R3)

,TEST THE HOY - SM2,DMl
,N:C = 1000 1

U~

031172

gHH~
gU~8g

031204

104001

8a~~A~
8~ig8~

104001

5$:

SEQ 0166

~£~
Sg~

BCC
ERROR
CMP
BEQ
CLR
BIS
ERROR

1

,HOY FAILED TO ALTER CODES PROPERLY

~~d~t)

s~~~U~J ~~~RECT 11

R3
R2 ),R3

;GET THE WAS DATA
,MOV DELIVERED THE WRONG RESULT

i

,.***************************************************************
·'TEST 446
MOY SMl,OHl TEST - N:C = 1011
!,********************* ** **************************************

000004
012700

gO~68l

fsT446:
000446
031244

CLR

~8~
~e~

81H8~

8kg~B
o05~H

COM

S~~

888273

031244
031246

011513
100403

011254
031256
031260
031262

10340t
104001
020412
001403
005003
051203
104001

8~q~g

g~B~~

031270

SCOPE

Mg~

°8~~8f

3$:

4$:

5$:

MOV
BMI
BNF.
BVS
BCS
ERROR
C"'P
BEQ
CLR
BIS
ERROR

;CALL

TH~

SCOPE LOOP UTILITY

~:~~~~~

$lb~tDR~Ow1~AHTt~¥TI~~~Rij~TION WORD

l~a¥I~~~2
(2~~3
(~2)

s~5H~c~D~GDR ~8gt~A
$~t~~ ~5~IT~D~R177~~~FO

(R'5),(R3)

;TEST THE MOV - SM1,D"'1
iN:C = 0101 7

1

;MOV FAILED TO ALTER CODES PROPERLY
;RESULT CORRECT 71
nBR IF YES
;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

R4

~~f~~1)
R3

fR 2 ),R3

;RESULT SIB

= 000000

f~~~A~ thtrS

,.***************************************************************
"TEST 447
MOV SM2 DMl TEST - N:C = 1011
I,i**i*****************'** **************************************

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

a~3~ 811~1~

000004

a~K~ °lil~6a ~1~~8~
K3a~

000447
031330

~lt8~ 01~~8l 8UH~

iii~ }t~~~ ~0~0~0~~37~
3~~~ 8~1~~2 000~~3
Hn~

8996
8997

nn

~88~

~9~80!4

o

9005
99°08 6
7

031330

012513

0313P

000403

8~B3~ 18U8~
03401

0~1340

031342
031344
031346

104001
020412
001403

00~1350

005~03

~81~

9018
~8~g

~O~~

d~l
90~5

i8~~

~~~r

i

~88S 031~5~ ~5lo8i

in~
~01~

MACYll 30A(1052) IS-NOV-78 IS:26 PAGE 168
MOV 5"'2,0"'1 TEST - N:C = 1011
T447
TS1447:
;CALL THE SCOPE LOOP UTILITY
SCOPE
MOV
~447,RO
$l~~~DRrOw~J~HTt~¥TI~g~~ij~TION WORD
MOV
R~2$,Rl
CLR
;RESULT SIB = 080000
,OEST AODR = MBUF
MOV
IMBUfO L R2
HOV
,SOURCE ADDR = OWTA
~~WT A,KS
Mav
S~~~~ ~5~§T~O~R177~~~fO
CLR
COM
,CLEAR FLAGS
CCC
273
,N:C = 1011
(~5)+,(R3)
MOV
,TEST THE MOV - SM2,DMl
2$:
BMI
iN:C = 0101 1
SNE
BVS
BCS
iMOV FAILED TO ALTER CODES PROPERLY
ERROR
1
3$:
CMP
,RESULT CORRECT 11
4$:
~~f~~5)
SEQ
;; BR If" YF: S
,GET THE WAS DATA
CLR
R3
R2 ),R3
U~OR
iMOV DELIVERED THE WRONG RESULT
5$:

•• ***************************************************************

!'TEST 4~0
MOV SMl DM' TEST - N:C = 0100
!,*******i***_******** '**~**************************************
fsT450:
~g~PE
~Cfb~DT~~ ~~~~ET~~~p"8~1~ATY
450 ,RO
MDV
#~$,Rl
,lOAD Rt WITH TEST INSTRUCTION WORD
CLR
4
;RESULT SIB = 177777
COM
R4

1

8Jj JU
8id64

liBl~
13H

roo

063312
063324

~g~

~p~

8lUg
1412
031414

CCC

2$ :

011523

i~jl 031424
~Iit~~ 103001
r~~~~~

903

!8i

~g~~

031426

3$:

104001

8jl~1~ g~~lgi

063314

4$:

iQ~¥~~~~~5

~~1~3

264
MOV

(R5),{R3)+

n~
Bce

~4~~

ERROR
CMP
BEQ

#MBUFO+2,R3
6$

,TEST THE MOV - SM1,DM2
iN:C = 1000 1

;MOV FAILED TO ALTER CODES PROPERLY
JDID MOV INCREMENT DEST REG?
JBR IF YES

SEQ 0167

CQ~DA-C

~DI1-K

CQKDAC.P11

~. g~1

031436

RASIC LOGIC TESTS
01-NOV-18 14:09

5$:
6$:

104005

l~i 8~ltl~ g~~l5~
904

031444

904

031446

~8:

031450

005003

051203

7$:

104001

3g~

905
905
905J
905

~g~

S'TEST 451

031452

glU~~

031460
031464
031466
031470

gjH&6

9060031502

Ini ~!~!~!

906
906
906
9068
9069

031512
031514
031516
031520

03153?

000004
012700
013701
005004
005104

908
908
908
908

031540

g~I~4~

~g~PE
~OV

000451
031510

;MOV FAILED TO UPDATE DEST REG

~~f~§~)

s~~~U~~ ~~~RECT 11

lR1R2 ),R3

;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

MOV SM2,DM2 TEST - N:C = 0100

f151
,PO
#2$,Rl

CLR
COM

4
R4

~EX

(a~~3

:8:

81H8~

010203
005012
000257
000264
012523
100003
001402
102401
103001

Sg~

1~~¥~~~~~5

;loAD R1 WITH TEST INSTRUCTION WORD
;RESULT SIB = 177717

~gfifl~c~D2CDR ~Bg~¥A

SBASE DEST ADDR = HBUFO
;MAKE [DEST] = 000000
;CLEAR FLAGS
;N:C = 0100
;TEST THE MOV - SM2,DM2
iN:C =·1000 1

6$:

BF:Q

~~t~~~)

10!601

7$:

CLI<
BIS
ERROR

1R3R2 ),R3

000004
012700
013701
005004
005104

~'TEST 4~7
MOV SM1 DM~ TEST - N:C = 0100
!,*********************'****************** **********************
fsT452:
~g~PF.
;CtblDT~5 ~i~~ET~~¥PNH~~~lTV
452 ,RO
MOV
#2S,R1
~lOAD Rl WITH TEST INSTRUCTION WORD
CLR
4
iRESULT SIB = 177777
CO""
R4

'6331'

104005

3$:
4$:
5$:

gg50g~

(R5)+,(R3)+

~Ctb~DT~~ a~¥~ET~g¥PNM~l~~TY

MDV
BPL
REQ
BVS
BCC
ERROR
CMP
I3EQ
KRROR
CMP

2$:

i8~ gjl~j~ g6~~b~

~8iiO

5

f~;:;;;**********************************************************

li~I' ;ii;i; ~~ii;~
901
907

ERROR
CMP
BEQ
CLR
BIS
ERROR

SEQ 016B

•• ***************************************************************

904f1

Uij9

MACY11 30A(1052) lS-NOY-78 15:26 PAGE 169
T450
MOV SM1,DM2 TEST - N:C :: 0100

U
iMOV FAILED TO ALTER CODES PROPERLY
g~BUFO+2,R3

5

;010 MOV INCREMENT DEST REG 1

;BR IF YES
;MOV FAILED TO UPDATE DEST REG
;RESULT CORRECT 11
nBR IF YES
;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

•• ************-**************************************************

nil
909
909
909
909

031546

8H~~~

031554
031560
031562

000452
031606

CQKDA-C KOI1-K BASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-78 14: 09
909
0315~4 01270~ 063312
03 5 0 01270
063324
012703 063306
38§~ 031574
031600 °8501~
8n~8~ 808~~4
9 9
9100 031606 011533
031610 100003
001402
9 0
o0~1612
614
0240
03 616
0300 1
~ 8~
9108 031620 104001
9109
031627 022703 063310
031626 001401
~H 031630 104005
911
911
031632 020412
031634 001403
031636 005003
031640 051203
031642 104001
°

3
~8§8

nl:1
8

fih
§i 1

h~~I

n~

nil

9p
9 3
3
91
~ ~
913

nn
9140

j

9U
§r

9 4
9 4
914~
914
9149
9149

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 170
T452
~OV SMl,DM3 TEST - N:C = 0100
MOV
BUfO
;~~~iC~D~~DR ~Bgt¥A+2
MOV
DWT A+~,Ra 5
AThl0,R3
MOY
SBASE DEST ADDR = ATA+I0
R2)
CLR
;MAKE [DfST] = 000000
,~~
S~~~A~ ~ ~8S

r

2$:

MUV
RPL
BEQ
BVS
BCC

3$:
4$:

~RROR

1

nil

9

1

g~IUi

Uhi~

o~

Hi

031716
031720
031724

6$:

7$:

H
4"
1

lt TA+12,R3

5

~~f~~~)
113
R2 ),R3

i

;TEST THE MOV - SM1,DM3
;N:C = 1000 1

iMOY FAILED TO ALTER CODES PROPERLY
iDID MOV INCREMENT DEST REG 1
;BR IF YES
;MOV fAILED TO UPDATE DEST REG
iRESULT CORRECT 11
;; RR IF YES
;GET THE WAS DATA
iMOY DELIVERED THE WRONG RESULT

s';~;;*;;i******:~;*;:;*~:;*;~;;*~*;;~*:*~*~~********************

+,*********************,******************1**********************
000004

~UzU
8~~~8~
8n O~

8ngg~
8H~~2
8~16~g 888~B
03 ~02 000264
031704
031706
83} 710

5$:

CMP
BEQ
ERROR
CMP
SEQ
CLR
BIS
ERROR

(R5),@(R3)+

S1453:

8~~~~~
8U1H
063306

012533

2$:

10000~

OOfs
10 4 1
10 0 1
104001
022703
001401

063310

3$:
4$:

SCOPE
MOY
MOY
CLR
COM
MOV
MOY
MOV
CLR
~CC
64
MOV
BPL
BEQ
BVS
BCC
I::RROR
CMP
BEQ

ft

53 ,RO
2 $,Rl

R4

rBUFO
R2
DWTA+~,R5
g~+10,R3

(R5)+ ,IH R3)+

II
1

UTA +12 ,R3

;CALL.THE SCOPF. LOOP UTILITY
ilLOAD RO WITH TEST NUMBER
, OAD Rl WITH TEST lHSTRUCTION WORD
iRESULT 5 I B = 177 77
;DEST ADDR
MBUFO

=

s~~~~C5E~¥D~DDRD~T~Ti+l0

;MAKE [DEST] = 000000
;CLEAR FLAGS
IN:C = 0100
;TEST THE MOY - SM2,DM3
;N:C = 1000 1

;MOV FAILED TO ALTER CODES PROPERLY
;010 MOY INCREMENT DEST REG 1
;SR IF YES

SEQ 0169

MACY11 30A(1052) 15-NOY-18 15:26 PAGE 171
T453
MOV SM2,DM3 TEST - NIC = 0100
5$:
ERROR
5
;MOV FAILED TO UPDATE DEST REG

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
3i~~

031726

91~~

8~1~~~ g6~~~~

3 54
39 1~~
55
9H~

!u

8JI~~~

031740

104005

6$:

8~iR81

104001

~~&

~~f1~~)

s~liU11 ~~~RECT 11

CLR
BIS
ERROR

R3
R2 ),R3

f

;GET THE VAS DATA
;MOV DELIVERED THE WRONG RESULT

MOV
BPL

(R5),-(R3)

;TEST THE MOV - SMl,DM4
;N:C = 1000 7

SEQ 0170

O

916!

9iU

~165

000454
032002

n~3

8~BH

ni~

063314

n7~

un
9174
g17~

032002

2$:

011543

illl ~1~lfi ti}l~l
9

99U~
1H~

032014

U~

104001

§l§~ gi~g~g g~~~gl
~lB~ 032022 104005
9188

~lSg 8~~8~~

~l~; 0~2030

5$:
6$:

85~~O~
005003

§l~' 83~8~~ ~~l~81

~U6

BCC
ERROR
CMP
BEQ
ERROR
CMP
BEQ
CLR
BIS
ERROR

iMOV FAILED TO ALTER CODES PROPERLY
;010 MOV DECREMENT DEST REG 7
;SR IF YES
;MoV FAILED TO UPDATE DEST REG
;RESULT CORRECT 71
HBR IF YES
;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

~~,R3

5

~~f~~~)
R3

IR2 ),R3

§U~

9199

§~8~
~~8~

9204
9205

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

032076

SEQ 0171

2$:

012543

8i~18~
o 2104 b8~~8~
102401
o

2106

103001

3$:
4$:
104005

5$:

8BBg 8gUH

6$:

032116

8Hl1~~

032 30

005~03
051
03
104 01

7$:

HOV
BPL
BEQ
BVS
BCC
P.RROR
CMP
BEQ
ERROR
CMP
BEQ
CLR
BIS
ERROR

(R5)+,-(R3)

H

;TEST THE MOV - SM2,DM4
;N:C = 1000 ?

5

;MOV FAILED TO ALTER CODES PROPERLY
;010 MOV INCREMENT DEST REG 1
;BR IF YES
iMOV FAILED TO UPDATE DEST REG

~~f~~t)

s~~~Ur~ ~~~RECT ?7

113
R2 ),rn

;GET THE WAS DATA
;HoV DELIVERED THE WRONG RESULT

~~,R3

I

063234

ATA+12

2$:

MOV
aPL

n~

3$ :

BCC
ERROR

( R5 ) ,

@- (

R3 )
;N:C

= 0100

1

;MOV FAILED TO ALTER CODES PROPERLY

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKD~C.P11
07-NOV-78 14:09

§~~~

81~~~~

S~~lg~

~~~',g

032226
032230
032232

104005
020412
001403

9~7U

8i~~12

801~8i

9264

9~67
9268
9269

i~t}

032240

063306

1~4~01

MACYl1 301(1052) 15-IOV-78
USER CONTROLLED BREAKPOINt
4$:
CMP
U + 10 ,R3
BEQ
ERROR
5$:
5
6$:
CMP
~~f~~~)
BEQ
CLR
BIS
7$:
ERROR

U

15:26
BIt9

PlGE 173

JgADI~o~EgECREMEIT

SEQ 0172
DEST REG?

,MOV FAILED TO UPDATE DEST REG
;RESULt CORRECT ??
HBR IF YES
;GET THE WAS DAtA
;MOV DELIVERED THE WRONG RESULT

9~74

~21~

9277

9278

~Hg

032242

~~~~n

gi2~54

000004

81Hg~

i~R~
9~!l4 8f~~n 81~U~
9285 032270 01~703
~~~~;

928fl
9289

§~~~

9292
9293

~~~~

~}~~
9299
9300
930;
930
930
9304
9305

~~g~

9308
9309

un

g05004

8~Hil g85~H

032300

000264

032302
032304
032306

100003
001402

032314
032316
032322
032324
032326
032330
032332
032334
032336

104001
022703
001401
104005
020412
001403
005003
051203
104001

g~,~lg

gUH~

~~5~ic~D~HDR ~8gt~A+2

063310

012553

2$ :

Ig~3g1

3$:

063306

4$ :
5$:
6$:

7$:

MOV
8PL
BEQ
BVS
BCC
ERROR
CMP
REQ
ERROR
CMP
BEQ
CLR
BIS
ERROR

('l5)+,@-(RJ)

II
1

UTA

+ 10 ,R3

5

~~fa6)
R3
{R2),RJ

;BASE DESt ADDR = ATA+12
;MAKE (DEST] = 00000
;CLEAR FLAGS
;M:C = 1000
;TEST THE MOV - SM2,DM5
iN:C = 1000 ?
;MOV FAILED TO ALTER CODES PROPERLY
iDID MOV DECREMENT DEST RF.G ?
iBR IF YES
;MOV FAILED TO UPDATE DEST REG
;RESULT CORRECT ??
;;BR IF YES
;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

~~lt gl~ils 000004
~J17 032346 gl~1g~ gg~:8g

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
931
gH~~~ gg~~8l
931
932
032356 012702 063320

8~j~~~ g!~z~~ 8~~~t~
n~
9p1

9 2

8HH~ 888~g~

§~~

011563
100003
001402

3
~3~

H3

~3l~

9~d

R~~

18~~gl

933

~B
933
~n
~BS

000006

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 174
T460
MOV SM1,DM6 TEST - N:C = 0100
CLR
R4
;RESULT SIB = 177777
COM
R4
;DEST ADDR = MBUFO+6
MOV
fMBUFO+6fiR2
;SOURCE ADDR = DWTA+2
=8~
2~3:~:~35
J~~~~ ~~~!T~D~RO~0~8HFO
CLR
R2)
CCC
;CLEAR FLAGS
264
;1f:C = 0100
(RS),6(RJ)
2$:
MOV
;TEST THE MOV - SMl,DM6
BPL
;N:C = 1000 ?

032414

104001

3$:

8i,:;8 86UB

4$:

032422
032424
032426

005003

~~Hgi

5$:

BCC
ERROR
CMP
BEQ
CLR
BIS
ERROR

II
1

~~fai)
R3
{R2),R3

;MOV FAILED TO ALTER CODES PROPERLY
;RESULT CORRECT ??
;;BR IF YES
;GET THE WAS DATA
,MOV DELIVERED THE WRONG RESULT

9~43

~3:~

46
91
99 41
4
934

9350

n~~

~13~3
~. ~6
q

8h~~~ 8~~~83

032436
032442
03~444

8AsZ81

000461
032470

005~04

8~~l~~ gH7g~

gi~l~~ 8A 2703
003 R
57 8H~g~ 000264

~ ~~

9 60

9 61

~

03~430

gj

9 64
65

9i3 ~~
9 68

un

9373

H

032470
032474

8n~8~

012563

000006

2$:

hOOOOi

18Uh

032504

104001

3$:

gB~?g

g~UH

4$:

gj~~llt ggigg~
0325 6

104001

5$:

MOV
BPL
BEQ
BVS
BCC
ERROR
CMP
BEQ
CLR
BIS
ERROR

(R 5 ) +, 6 ( R3 )

;TEST THE MOV - SM2,DM6
;N:C = 1000 ?

1

;MOV FAILED TO ALTER CODES PROPERLY
,RESULT CORRECT ??
;;SR IF YES
;GET THE WAS DATA
;MOV DF.LIVERED THE WRONG RESULT

~~fU~)
R3
R2 ),RJ

l

SEQ 0173

CQID1-e KOI1-K BISIC LOGIC TEStS

CQlDlC.Pll

07-IOV-18 14:09

MAClll 301(1052) 15-10.-18 15126 PAG! 175
'461
MOV SM2,DM6 fEst - ItC • 0100

UQ0174

000010

,N:e ::

BPL
BEQ

1000 1

B~~

032574
032576
032600
032602
032684
0326 6

104001
020412
001403
005003
051203
104001

5$:

ERROR
CMP
BEQ
CLR
UioR

1

~~f~~~)
R3
R2 ),RJ

i

;MOV FAILED TO ALTER CODES PROPERLY
,RESULT CORRECT 11
iiBR IF YES
;GET THE WAS DATA
;MOV DELIVERED THE WRONG RESULT

!l;;;;*;********:~;*;:;*~;**;i;;*~*;;;*:*~*~*********************

s;******~I*************'**1***************1*2********************

032610

'ST463:

nun
8]~~24

8Bd~
P642
8033~U

032650

011573

b8~~0~
102481
103001

032662

1163 RO
2$:Rl
R4
IMBUFO R2
DWTA+~,R5
~H,R

~~~

°B654

g32~~8

SCOPE
MOV
MOV
CLR
COM
MOV
MOV
~E~

000010

2$:

MOV
BPL
BEQ
BiS
BCC

(R5),@10(R3)

,CALL THE SCOPE LOOP UTILITY
't·LOAD RO WITH TEST NUMBER
; OAD R1 WITH TEST INSTRUCTION WORD
,RESULT SIB = 177177
iDEST ADDR = MBUFO
;SOURCE ADDR = DWTA+2

fS:~~ ~~~IT~D2RO~0~1~

;CLEAR FLAGS
,N:C :: 0100
;TEST THE MOV - SM2,DM7
IN:C "" 1000 ?

MACYl1 30A(1052) 15-NOV-78 15:26 PAGE 176
T463
MOV SM2,DM7 TEST - N:C = 0100
3$:
ERROR
1
;MOV FAILED TO ALTER CODES PROPERLY
4$·
CMP
R4 (R2)
iRESULT CORRECT 11
•
BEQ
Tsf464
;;BR IF YES
;GET THE WAS DATl
CLR
R3
BIS
R2 ),RJ
iMOV DELIVERED THE WRONG RESULT
ERROR
5$:
,.***************************************************************
;'TEST 464
MOY SMO DM1 TEST
··**********************'****************************************
f §T464: SCOPE
~Ct5kDTU8 ~i¥~ET€g~PN3~1~~TY
#464,RO
MOV
,(OAD Rb VITH TEST INSTRUCTION WORD
MOV
MOV
i~aijf~!R2
sB~~3L~ ~R/::BH~Ut~ST NUMBER
MOV
o R4
,R5 GETS DEST ADDR
MOV
R2;R5
(R )
CLR
~§g5~PSYNgOOOOO
CCC
RO,(R5)
;TEST THE MOV
MOV
2$:
;RESULT CORRECT 1
CHP
~~f~~~)
HBR IF YES
REQ
MOV
R2 ),R3
$~~~ ~~fI~~~EgAtAE WRONG RESULT
ERROR
3$:
•• ***************************************************************
~'~ESI 465
Hnv SMO OM? TEST
~.**i ******************'_*1*************************************
Th465:
~5ePE
;Ct5~DT~~ ~C~~ET~O¥P 3~I~~TY
46 g,RO
MOV
'B2 fRo,lR2
sloAD Rl WI~H TESi IlsTRuCTION WORD
MOV
M
;DEST AOOR = MBUFO
MOV
Rg~~~
,RESULT 5 , B :: fEST NUMBER

l

000004
012700
01370~

81~~04
010 85

032726

005 12
000251
010015

8~~ng

86Y1M

gHH~ ~U~8i

000464

8BH~

i

i

~EX

ecc

2$:

3$:

(RL)

S~5Eg¥ls=DO~60t80R

MOV

RO,(R5)+

iSCOPE SYNC
;TEST THE MOV

ij~~

~~f1~t)

~~~iU~~ ~~~RECT 1

~~&OR

i

s~Si ~~tIl~iEgA~AE WRONG RESULT

R2

),R3

;';i;;*:********;*;**;;**;;**;;;;********************************

i;******~~*******~*****i'**i*************************************

TST466:

SCOPE

;CALL THE SCOPE LOOP UTILITY

SEQ 0175

gg~g:~~p~~ll-KO~~~~~_~gG~~:~~STS
948
948
48

3

~u

49
949

U~

949
949
949

g~g

:i r 0

nun

g~~a~8
01~701
0t
70
063312

nnu

8 27O
~Z8

033030

010035

gn8U
8B8l8

gg~~6~

8A
5°H
0002

063306

}50
9!i0
950

~~R

150

1~:O

9~li
°Sl
)'i 1
951
951~
951
951
9518

ml

952
Q52

~s,
9S21
953

953
953
953
9534
953
953
953
953
954y
954

953j

033042
Op042
o 3844
03~ 50
03 054
033060
033062

8B8n
033072
033074
033076
033100
033102

000467
g1H8~ 8g~gB

012702
010004

8A~6°~
0002~

063314

010045

2$:

g~~4~~
011203
104001

8H18~

033112
033116
033122
033124
033130
033132
033134

000004
012700
013701

81668~

012705
005012
000257
010055

3$:

000470
033134
063312
063310
2$:

011203

955
955

033160
033164

9556

033174

i9i:651
5
956

033176
033202
033204

9~g

g~~~~g ~Al5gi

956
956

~~~

957
~5~

9~1

957

iH

958
5

o

R4
rM~UFO+2,R5
R2)

1(0,-(R5)

A";Q

~~t~~~}

MUV
F.RROR

fR2 ),R3

;CALL THE SCOPE LOOP UTILITY

~l~~tDR~Ow~i~HT~~¥TI=~~~fi~TION

;DEST ADDR

= MBUFO

WORD

$~~sgbiTiI'SSBAStE5Is~U~E5~

i(DEST] = 000000
;SCOPF. SYNC
iTEST THE MOV
;CORRF.CT RF.SULT ?
;; BH IF YF.S
iG~T THE WAS DATA
i~OV DELIVERF.D THE WRONG RF,SULT

SCOPF.
MOV
MOY
MOV
MOV
MDV
CLR
CCC
MOV
CMP

~470,RO

i~~af~!R2
o R4

Ah +12 ,R5
fR2}

RO,@-(R5)

BEQ

~~fH~)

MOV

(1~2),

R3

iCALL THE SCOPE LOOP UTILITY

~l~~aDRrOWr~AHT~~~TI~~~~ij~TION WORD

iDEST AODR = MBUFO
iRESULT SIR = TEST NUMBER
iR5 CONTAINS BASE DEST lDDR
i(DEST] = 000000
iseOPE SYNC
;TEST THE MOV
iCORRRCT RESULT 7
;; RR IF YES
iGET THE WAS DATA

15:26

PAGE 178

SEQ 0177

iMOV DELIVERED THE WRONG RESULT

033212

8B1H
033220

0332~4

063312
010065
020412
001402

000004

2$ :

3$:

MOV
eMP

RO,4(R5)

al-.:Q

~~f~~~)

MOV
ERROfi

f(2 ),R3

;TEST THE MOY
;RESULT CORRECT ?
iiBR IF YES

S~~~ ~~tI~~~EgAtAE

WRONG RESULT

8~g~ga

013701

°l~704

8H1~~ 80568~

033236
033240
033242

000257
000266
110503

033252

95B~

033254

104002

3$:
4$:

959
959
959
959

033262

104002

5$:

9596
9597

033264
033264

000004

!~gl g~~~~g g~~l8{
~~§

r~7'~~
~Rafo,R2

MACY11 30A(1052} 15-NOV-78
T470
MUV SMO,DM5 TEST
3$:
ERROR
1

°H~44
3 B gH2~8

9~8

9584
958i

SCOPF.
MOV
MDV
MOV
MOV
MOV
CLR
CCC
"!OV
Ct.(P

83U~~

3~~~ 8nH~

56
39~g

'BIST ADDR : MBUFO
; S~LT § I B = TEST NUMBER
;BAS DE T ADDR : 1TA+I0
HDEST] = 000000
;SCOPE SYlC
;TEST THE MOV
;CORRECT RESULT
nBR IF YES
;GET THE VAS DATA
;MOV DELIVERED THE WRONG RESULT

WORD

~~1~~t*!Z2******~2~**~~2'~~~*I~~1********************************
HT470:

8~H~8 88~:H
033142

033146
033146

~56

SEQ 0116

sl~~aDRrOw'IAHT~I¥TII~~Rij~TION

•. ***************************************************************

033104

954
954

3~~

PAGE 177

!~I~~I*2~1******~~~**~~2'2~2*I~~I********************************

HT4fi7:

000004

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NDV-7A 14:09
954
033144 104001
954
954
954

3~~

15: 26

,.***************************************************************

~~1

952
952

r
f

nH8~

'!:i()

9'50

MACYll 30A( 1052) 15-IOV-78
T466
MOV SMO,DM3 TEST
MOV
la6g' R~
140'
MOV
Mi ftR2
MOV
R4
'
MOV
Ah+l0,R5
CLR
R21
CCC
2$:
MOV
RO,@(R5)+
CMP
~~fU~)
BEQ
MOV
R21 ,R3
3$:
ERROR

SPL
BEQ
BVS
BCC
ERROR
CMP
BEQ
ERROR

;N:C

= 1000

?

,MOVB FAIL~D TO ALTER CUDES PROPERLY
;RESULT CORRECT ?
;;SR IF YES
;MOVB DELIVERED THE WRONG RESULT

CQJDA-C KDI1-K BASIC LOGIC TESTS
CQIOAC.Pl1
07-NOV-78 14:09

MACY11 301(1052) 15-NOY-78 15:26 PAGE 179
T473
MOYB TEST - SMO,DMO - EXTUO 0"5

~8'

CLR
MOY

gb~

CCC

12n~~~
t

11'7400, R,5

~3

271

2$:

3$:
4$:

SEQ 0178

Jlh~aORfOw'IIHTi~~TI=~~R~~TION WORD

;RESULT SIB

= 080000

~~8~~i~ ~P177~ii4 0
~~~~A~ iM~s

MOYB
8MI
BNE
BYS
8CS
ERROR

R5,R3

;TEST THE MOVB
;N:C :: 0101 7

2

~~&

~~d~4

;MOVB FAILED TO ALTER CODES PROPERLY
;RESULT CORRECT 7
;;BR IF YES
;MOVB DELIVERED THE WRONG RESULT

5$:

ERROR

2$:

MOVS

(R5),R3

~~~

¥~f~~5

ERROR

2

8~0~8~

8A~Z81

012705
005003

064630

gg5~~~

3$:

;TEST THE MOVB
;RESULT CORRECT 7
;; BR IF YES
;MOVB DELIVERED THE WRONG RESULT

--****** •• *****.** ••• *****.****.*********************.*****.*****

gUH~

g3H6~

0~3406

033412
033416
033422
033424

~~I~~1*~1~******~~!~*!~~!*;*~~1'~~2*;*~2~~~~*~~~~*2~~************

000004

81H8~

012704
012705

8A~~~~

fST475:
000475
033424

82~An

177400
2$:

111503

CQKDA-C KOII-K BASIC LOGIC TESTS
CQlDAC.Pll
07-NOV-78 14:09
9654
9655 033426 020403
9g~~
033430 001401
365§ 033432 104002

3Uo
3~~~
~~U

~~g5

966~

9668
9669

O
Ul
967~
9673

0 3434
o 3434

1

3456
3460

033462

000004

005003
000257
112503

9677

033470

104002

96 0

8~jlig

86i181

Ilai

033500

~6H5
ua~

033502

968~ gll~8~

3$:

Th476:

0~047~

8~~~8~

3~~6

8~j~~~

gA~~g~

033530

112503

qg99
9700

3~~~~~

g3~~gt

033536
033540
033544
033546

104002
822705
01401
104005

~63~
970~

91~~
~704

99l8~7
7
§788
9709

CMP
BEQ
F.RROR

DBTi.3, R5
177400, R3

(R5),R3

~~d~6
2

j476,RO

#f$~Rl

=8~

064631

;RESULT S I E = 125
;SOURCE AD DR :: OBTl.~
HOEST] :: 177400
;SCOPE SYNC
;TEST THE MOVB

;RESUl.T CORRECT ?
;;BR IF 'lES
;MOVa DELIVERED THE WRONG RESULT

D3Bhh, R5

!Cl~kDT~5 ~i~~ET~~~PNH~I~~TY
;(010 Rl WITH TEST INST~UCTION WORD
$~5fi~H iO~RB:: =D~tl1l'

CLR
CCC
MOVB

(R5)+,R3

;CDEST] :: 000000
;SCOPE SYNC
;TEST THE MOVB

~~~

~§,R3

~~~SV~Ty~~RRECT ?

3$:

ERROR

2

;MOVB DELIVERED THE WRONG RESULT

4$:

~~~

'~¥~472,R5

s~~B ~~veE~NCREMENT SRC REG 7

5$:

ERROR

2$:

MOVB
CMP
BEQ
ERROR

~t,R3

C~P

fgnto 1,R5

2$:

064632

~8ePE

MOV

h~4~1

104005

89 8~~~1~ 8A~Zgl
fi
96~~ 033516 012705
~~~I

1B~'~l

;CALL THE SCOPF. LOOP UTILITY

~l5~~OR~OW~~~HTt~~TI=M~Rij~TION WORD

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 180
T475
MOVB TEST - SM1,DMO - SOURCE IDOR ODD

fi~~ 8~~~~~ 8~~28~

un9

475 ,RO

,.*********-*****-***--*******-**********************************
,'TF.ST 476
MOVR TEST - SM2 DMO - snURCF. AnnR Don
1·*****************************'********************** ***********

01pOO
8o 3~~~
~446 8hi8l
o 3452 012705

o
o

SCOPE
MOV
MOV
MOV
MOV
MOV
CCC
MOVB

iMOVB FAILED TO UPDATE SRC REG

000477
033530
064630
177400

064631

3$:
4$:
5$:

BEQ
ERROR

(R5)+,R3

2

5

iTEST THE MOVB
;RESULT CORRECT 7
;BR IF YES
,MOVB DELIVERED THE WRONG RESULT
;010 MOVB INCREMENT SRC REG ?
;;BR IF YES
;MOVB FAILED TO UPDATE SOURCE REG

•• *******************************************.**** •••• *** •• *.***.

5'TE5T 500

MOVB TEST - 5141,0141 - SRC ADR ODD lOST ADR EYEN

SEQ 0179

CQIDA-C KDI1-1 BASIC LOGIC TESTS
CQItDAC.Pll
07-NOV-78 14:09

3~r~
97

oOp~50
3 50 000004
552
1
011 556 8 H8° gn~8~
Ui~ o
o
562 Oi 270 i
97i6
o 27005 oooH
7 8n~n
8AgZ 064631
9r
9 18
9 19 8Bgoo 0002H

~HY
~H~

9724

n~~

97 8

~H6
~H~

3ijl
97 5
9736
9737

gB~

9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751

Hg~

9754

H~5

033602
033604
033606

111512
020412
001402

8BU~ nH8~

iHy
H~~

9764
9765

:3$:

033614

8Bgl~

0~36h

000004

glHg~

~~ii

3ii~

9776
9777

~9li8~0
oJ

9781

UBi
97B5

un

033642
033644
033646
033650
033652
033654

005012
010203
000257
111523
020412
001402

gH~g~

nH8~

8n~gg

8Ul8l

033670

104005

~lU

~'1~3

i888~

9H!

8g~~gA

2$:

063313

un

83~gp 000004
ot
67~ gB~g~
o 3700

033704
033710
033714

012702
012704
012705

000502

03~pO

gg03H
064631

o '

Uaf§~R2

377 R
o8Tl+1,R5
R2)
(R5),(R2)

~~t~~~)

l R2 ),R3

iCALL THE SCOPE LOOP UTILITY

ilLOAD RO ~ITH T~ST NUMBER
S
OAD Rl WITH TE T INSTRUCTIO~
DEST ADDR = MBUFO

WORD

-RESULT SIB = 377
$SRC lDoR = S8Tl +1
S~e~i~]FLlgg _OgCOPE SYNC
;TEST THE MOVB
;CORRECT RESULT?
;;BR IF YES

J25lBT~~L'¢~R~ATCRONG RESULT

SCOPE
MOV
MOV
HOV
MOV
MOV
CLR
HOV
CCC
MOVB
CMP
BEQ
MOV
ERROR
CMP
BEQ
r:RROR

rr

i

h f8~R2

OBT1+1,R5

~:~3

(R5},(R3)+
~~,(R2)

l R2 ),R3
f~¥Mg~+I,R3
5

;CALL THE SCOPE LOOP UTILITY

$lb~aORrOW~~~HTi~iTII~~Rij~TION WORD
~R~~3L~0~R/=BM~U~~7

;SRC ADOR = 0STA +1
;CDEST] = 000 00
iCR3]
DEST ADDR
iCLEAR FLAGS - SCOPE SYNC
iTEST THE MOVB
,CORRECT RESULT?
iBR IF YES

=

s~a~eTM~LI¢~R~~TORONG RESULT
iDID MOVB INCREMENT THE DEST REG ?
;;BR IF YES
iMOVB FAILED TO UPDATE OEST REG

~~~

063306

000257

111533

g~~ij~

8~tl8~

033740

104005

3$:

833774424
33
033746
033750

020412
001402
011203
104001

4$:

2$:
063310

5$:

377 R4
OeT1+1,R5

iCALL THE SCOPE LOOP UTILITY

~th~~OR~OW~t~HTI~tTI=M~Rij~TION WORD

iOEST ADDR = ~eUFO
iRESULT SIB: 377
iSRC AODR = 08TA +1

CCC
MOVB
CMP
BEQ
ERROR
CMP
BEQ
MOV
~~RROR

i~~1+10,R3
(R5),@(R3)+

UTA + 12 ,R3
5

~~f~§j)

i R2 ),R3

~~~~~T~ESTO~888°=

ATA +10
;CLEAR FLAGS - SCOPF. SYNC
,TEST THE Move
;DID DEST REG GET INCRE~ENTED ?
;BR IF YES
iMevs FAILED TO UPDATE DEST REG
iCORRECT RESULT ?
;;BR If YES
;GET THE WAS DATA
iMOYB DELIVERED WRONG RESULT

2.

Th503:
000503

nnn

033774

111543
020302
001401
104005

=g~

3$:
4$:

01101420031
0

000004

ml

5$:

81~i8° 800504

8l~~g~

00')012
012703

dUH

063310

~g~PE

MOV

064631
063313

8U88g

034024
034026

p2'~1
aS3#0i'R2

._***************************************************************
~'TEST 503
MOYE TEST - SM1 DM4 - SRC ADR ODD lOST ADR EVF.N
-*****************************'********i************************

~ijn1

034006
034010
034012
034014
034016

SCUPt::
MOY
MOV
MOV
MOV
MOV

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 182
1502
MOV8 TEST - SHl,DH3 - SRC ADR ODD I DST ADR EVEN

033730

01270!

9821

••

~~1~~I*~2l******~2~~*!i~1*;*~~1,~~~*;*~~~*t~~*~~2*'*2~l*t~~*~l~~*

HT502:

033726

9814

UP

3$:
4$:
5$:

3R8~ 81:8~~ 8~f:A~

3B8~
n8~

SOO

.• ***************************************************************

U!8
Ulna
9'19~

9'95
91 96
9,9'1

,

~§****************************l'******************'**************
T501:

o03 ~616
6 & 8B~8~ 88gH1
03363
012705 064631

~~~~ 83~~~~ g~~~6~
9768

SCOPE
MOV
MOV
MOV
MOV
MOV
CLR
CCC
MOV8
CMP
8EQ
MOV
ERROR

~';~;;*;;i******~~;;*;~;;*~*;;**;;;*~*;;~*:;;*~;;***;;;*:;~*~~~:*

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

9169
3iif

SEQ 0180

f~;5~~~**********************************************************

2$:

975~

9758

MACYll 30A(1052) 15-NOV-78 15:26 PACE 181
T500
MOV8 TEST - SMl,DMl - SRC ADR ODD lOST ADR EVEN

MOV
CLR
MOV
CCC
MOVB
CMP
BEQ
ERROR
CMP
SEQ
MOV
ERROR

i503
,RO
a2~ Rl

R2
397'8t
DBT1+1,R5
R2)
MBUFO+l,R3

(R5),-{R3)
R3,R2
4$
5

¥~f~~~}
IR2),R3

S~t~~DTU~ a¥~~ET~~¥PNg~~~~TY

;(D1D Rl WITH TEST INSTRUCTION WORD

S~~~fiL~DgR/=BH~U~~7

,SRC lDOR = DBTl +1
;CDEST] = 000000
;INITIAL DEST lDDP = MBUFO+l
;CLEAR FLAGS - SCOPE SYNC
;TEST THE MOVB
iDID MOVB DECREMENT DEST REG ?
iBR IF YES
;MOVB FAILED TO UPDATE OEST REG
;CORRECT RESULT ?
;,BR IF Yl':S

!~~iBT~~L~~~R~~TCRONG RESULT

SEQ 0181

CQKDA-C K011-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09
034064 000257
034066 111553
063306

8Ugn 8B181
034076

104005

8~:l8g

83f:H

gUIg~

n~agl

0~4110
8rt
10 000004
Ob70~
8~HH ·8lj13°

034126

83~B~

0~4140

034144
034146
034152
034154
034156
034160

012704

8A~~f~

012703
000257
111563

MACYll 30A(1052) 15-NOV-1B 15:26 PAGE 183
T504
MOVB TEST - SMl,DM5 - SRC ADR ODD I OSf ADR EVEN
CCC
;CLEAR FLAGS - SCOPE SYNC
;TEST THE MOVB
MOVB
(R5),@-(R~)
iDID MOVB DECREMENT DEST REG?
CMP
U + 10 ,R3
BEQ
;8R IF YES
,MOVR FAILED TO UPDATE D!ST REG
ERROR
5
3$:
iCORRECT RESULT 1
CMP
4$:
~~f~~~)
;; BR IF YES
BEQ
iGET
THE WAS DATA
MOV
!R2),R3
;MOVB DELIVERED WRONG RESULT
ERROR
5$:

SEQ 0182

U

000505

g~H1~

000377
064631
063320
177772

2$:

g6fU~

n~5g1

3$:

MOVA
CMP
BEQ
MOV
ERROR

(R5),-6(R3)

~~f~~g)

i R2 ),R3

;TEST THE MOVB
iCORRECT RESULT 1
;j8R IF YES
;GET THE WAS DATA
iMOVB DELIVERED WRONG RESULT

g~~5~8

063~12

000377
064631
063276

000010

MACYll 30A(1052) l5-NOV-1S 15:26 PAGE 184
T506
Move TEST - SM1,DM7 - SRC AOR ODD lOST AOR EVEN
3$:

~~~OR

!R2),R3

~~5~BT~~L~~~R~tT~RONG RESULT

•• ***************************************************************

,'TF-ST 507
MOVS SMO DMI TEST
L'***********************'**************************** ***********
TSr507:
~5ePE
<~tbiDTU5 ~i¥~ET~~~PN3A~~~TY
507 ,RO
MOV
·#S2S£OR,lR2
;(OAD Rl WITH TEST INSTRUCTION WORD
MOV
M Or
iDEST AODR = MSUfO
377~R4
l~ESghIT~I'SBS~U~~7 OP
MOV
21~53
;R~ CONTAINS DEST XDOR
CLR
(R~)
;[OEST] = 000000
CCC
iSCOPE SYNC
R3,(R5)
iTEST THE MOVB
2$:
140ve
;RESULT CORRECT ?
eMP
~~fH~)
nSR IF YES
BEQ
R2 ),R3
MOV
~~5~sTg~L~~~R~tT~HE WRONG RESULT
3$:
ERROR

1

=8=

1

8~l~n
8!4!10

8~~H3

0343,4

034~ 0

g~~3

1

034336

110325

8i~U~ g5~n~
8~~U~

~H681

3$:

MOVFl

R3,(R5)+

CMP
BEQ

~~f~~P

~~~OR

l R2 ),R3

iTES1 THE MOVB
;RESULT CORRECT?
i;BR IF YES

j~a~B1S~L~fiR~~TfHE WRONG RESULT

SEQ 0183

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
9934 034372 012703 177777

~§i~ g~~!8~ ~~~~~~
9~38

8~~3

034406

MACYll 30A(1052) IS-NOV-78
T511
~OVB
SMO,DM3 TEST
MOV

~e~
eec

063306
2$:

110335

iil~ g3~~I~ g~~~A~
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
995B
9959
Q960
9Q61
9962
9963
9964
9965

§§g~

9968

034414
034416

011203
104001

3$:

9973

nH

9976
9977
9978
9979
9980
9981
99R2
9983
9984
9985
9986
9987

§§3~

gg3~
996

i~~~

9999
10000

034456
034460
034462

110345
020412
001402

g~11g6

~b!68r

2$:

san

t,

0033

0 34

}88i~

88 33

88h
0043
0044
0045

1

;TEST THE MOVB
;RESULT CORRECT?
;;BR IF YES

fR2 ),R3

s~aiBTM~L~~~R~~T~HE WRONG RESULT

MOVB SMn DM6 TEST
~,**********************i'***************************************
seOPE
;CALL THE SCOPE LOOP UTILITY

8UHg
034476

=g~
=g~

o0~4502
4506
o 4512

034516
034522
034524
034526
034532
034534

110365
020412
001402

g~~~i8

~Aa~gI

8U~4~

034r'4

177776

2$:

000~04
Op
00

000257
g~l~H 000267

g~l~B
034614

034616
034616

8~U~~

SnUf

8346~0

g~lU7

0~U48

034642
034644

0~U~8

834652
034654
034656
034660
03466~
03466
034666
034670
034672

oooogA
0050 4
805005
0500~
0025
000270
050503
600403
01002
102401
03001
104002
020403
001401

!1 ~~
MB6FO+2,R5
R2)

st&~~DRrOW~~AHT~~fTI~~~Hij~TION
~~~~&L~D~R/=BM~U~~7
}R3 CONTAINS SOURCE OP
iBASE DEST ADDR = MBUFO+2

WORD

R3,-2(R5)

iCDEST] = 000000
;SCOPE SYNC
iTEST THE MOVB

~~~

~~f~r~)

~~~~U~1 ~~~RECT ?

~~~OR

f

s~atBT~~Ll~~R~aT~HE WRONG RESULT

R2

),R3

15:26

PAGE 186

SEQ 0185

~1;~;;*;~:******;;;*;*;;*~*;:~*;:~*:*:~**:*~~*1*******************
;.*******************~********'********~***** 1******************

T§rS14:
0005~4

SCOPE

~g~

052525

2$:

3$:
4$ :
5$:

000515
034654
002000

MOV
MOV
CLR
CCC
MOVB

li~l'~~
~¥fO~R2

MACYl1 30A(1052) 15-NOV-7S
T513
MOVB SMO,DM6 TEST

70
gil
~~ o01 pOl
n~;"i
o 4560
812705 12525

034600
034602
034604
034606

8o8 0~

R3,-(RS)

¥~f~B)

~'TF.ST 513

10007
10008
10009
010

0i
o 5~

MOVB
CMP
BEQ
MOV
ERROR

~ST513:

034470

050503
bOOO03
01402
102401
103401
104002
020403
001401
104002

lUI!

WRONG RESULT

•• ***************************************************************

034574

UsU

S~~iBTM~L~O~R~~T~HE

g~:4~l

18gg~ 034576

01~

fR2 ),R3

;TEST THE MOVB
;RESULT CORRECT ?
;iBR IF YES

gj1H3.

18 83
10 04

rU8i~88U

Uf~B)

AT1+10

00

034446

12703

g

Rl,@(RS)+

li~~~C~EH~ 188~3=

S~~~~1]SYNgo

gUl~~

034564

1000~

,

SEQ 0184

034426
034432

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
9990
9991

n~~

tR2)

PAGE 185

034420

g~n

~~H

MOVB
CMP
8EQ
MOV
F.RROR

!iJl~Io,R5

15:26

MOV
MOV
MOV
CCC
267
BIS
BPL
BEQ
BVS
BCS
ERROR
CMP
BEQ
ERROR

15~4'RO
!1$A~1

12~252 R5
. 52525,~3

R5,a3

U
2

¥~f~~5
2

;CALL THE SCOPE LOOP UTILITY

ll~~~DRrOw~JAHTI~~TI=g~~~~TION

;RESULT SIB = 177777
;SRC OPR = 125252
;[DEST] = 52525
;CLEAR FLAGS
iN:C = 0111
;TEST THE BIS
; N:C= 1001 ?

WORD

iBIS FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
;; BR IF YES
;BIS DELIVERED THE WRONG RESULT

063234

2$:

3$:
4$:

SIS
B"II
SNE
BVS
BCC
ERROR
CMP

SEQ

R5,R)

II
2

¥~f~~6

iTEST THE BIS
iN:C = 0100
iBIS FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
iiBR IF YES

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

88~~

r88U
48

8~i

0055
56
o08 57
0058
0059

88~0

006~

88U
0065

0 66
or
80

034674

tnnil

rrr

s

8o 91~z

092
0093
0094

0~H08 g~g~8~
34704

013701

8~~ ~~

01
01270

034730

040S03

°f732
o 4734

AOOOO~

8

34rO

8~47
47264

034750

01,~04

OJ

8g8~gi

000516
034730
100000
077777
177777
2$:

0140
102401
103401
104002

3$:
4$:

8o~:8~
104002

5$:

8~Hg~

034754
834760

034770
34772
34774
034776

835000
35002
035004
035006

HTS17:

000004

81H8~ 8g~HZ

00S004
005005
005003
000257
000270
040503
100403
00 002
10.401
103001

2$:

1

18
18?ZZ
l8t8~

8~~82~ 8~~~g3

gj§8H

013701
012704

8tH

035046
035050
035052
03S0S4

030S03
000003

01r

slJ
18HZ
11m
l8i~~

101'9
10130

un~
0134
01~5

1gb~
181!8
8l4~

1hU

Ot43
0144
0}45

ot49
0150

r

I6

...
h~6~A~R4
777, 5

-1,R3

R5,R3

U
2

¥~t~r,

sct~lDT~~ ~i~tETlg~PNH~Il~TY

;loAD Rt WITH TEST INSTRuCTION WORD

;~I~U~JRS=/79777100000
$CDESTJ = 177777
;CLEAR FLAGS
;N:C = 0111
iTEST THE BIC
,N:C = 1001 ?

;BIC FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
nBR IF YES
;BIC DELIVERED THE WRONG RESULT

SCOPE
MOV
MOV
CLR
CLR
CLR
CCC
SEN
BIC
BMI
BNE
AVS
ACC

ISP,RO
~ S, R1
R5
R3
RS,R3

;CALL THE SCOPE LOOP UTILITY
··LOAD RO WITH TEST N~MBER
S£OAD R1 WITH TEST AN TRUCTION WORD
!~~~Ub~RS=IOSoo0800 0
;COESTJ = 000000
;CLEAR FLAGS
;N:C = 1000
;TEST THE BIC
;N:C = 0100

U

MACYll 30A(1052) 1S-NOV-7B 15:26 PAGE lSB
TS17
BIC TEST - SMO,OMO - N:C = 1000
3S:
4$ :
5S:

;BIC FAILED TO ALTER CODES PPOPERLY
;CORRECT RESULT?
;; BR IF YES
;BIC DELIV~RED THE ~RONG RESULT

ERf!OR
CNP
BEQ
ERROR

03S0~0

10109
18lH

1

SCOPE
MOV
MOV
MOV
MOV
MOV
CCC
267
BIC
BPL
BEQ
BVS
BCS
ERROR
CMP
BEQ
ERROR

•• -*******************************************************.*******

1

tglg~

,BIS DELIVERED THE WRONG RESULT

2

~~I~~I*~11******~!~*li~I*;*~~2'~~~*;*~l~*;*1222******************

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
095
096 03S010 104002
0097
0098 03S012 020403
035014 001401
1°l01 03S016 104002
tOl04
10 05
lO106

ERROR

SEQ 0186

!~t~~1*~1~******~I~*t~~I*;*~~2'~~2*;*ll~*;*2111******************
f T516:

8346~6

o~H~a
W
8
1
083
084
00B5
0086
0087

5$ :

15:26 PAGE 187
BITIO

;i***********************-***************************************

g3H~8
8 S 034742
88~~ 8141:6

~UI

104002

MACY11 30A(1052) 15-NOV-78
USER CONTROLLED BREAKPOINT

gi§gl~

gl~1g3
8gg~~1

000520
035052
100000
100000
100000

8~~8~8 18~~8~

03S062
03S064
035066
035070

gj~gH

101401
104002

3$:
4S:

g~~~8~
nHg~

g~~~83

013701

~q704

ol~~8~

SS:

ERROR
CMP
BEQ
MOV
ERROR

2

~~~~~1
~R2),R3

JBIT FAIL~D TO ALTER CODES PROPERLY
;CORRECT RESULT ?
"BR IF YES
;GET THE ~AS DATA
;BIT DELIVERED A RESULT

gogHA

dS252
052525

gg8~16
030503
A00403

9~~g1
1 0300t

2$:

BIT
AMI
BNE
BVS
BCC

RS,P3

;TEST THE BIT
;N:C = 0100

SEQ 0187

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
1015,~

035140
035142
035144
035146

104002
020403
001401
104002

10166

035150
035150
5152
o 5156
o 5162
035166

8!H8£
Ot2704

to169

g3H7~

10174

035200
035202
035204

1015
1015
0154
0155
0156
0157
10158

1

18UZ
181~~

iun
iun
181g~

°i

0~51~0

005005

g6~~~~

8~~~~8

18j:81

10178
10179
0180
OlR~
1018
101~
10184
10185

03~212

1

035214
035216
035220

104002
020403
001401
104002

019
019
019
1019

18n,

000001

000266
020503
100003
001402

7~;

UUI
1

2$:

3$:

4$:
5S:

035222
035222
03527,4
035230
035234
035240
035244

10 08
10209
10rO
18
10213

H

U~U

nm
8m

iT~

lUI

0231
0232
0233
p4

1

r8

000004
012700

giBSl

012705
010403

8~~1~8 888~~~

t81H
1

18~~~
o 46

Iglll
o

50

rur

8~955~.

o 58
to8 59
60

61
10262

II
2

iTEST THE CMP
iN:C = 1001
FAILED TO ALTER CODES PROPERLY
RESULT ?
"BR IF YES
iCMP DELIVERED A RESULT
iC~P

~~f~~3
2

~~~

iCORR~CT

104002

g~~~~8
035272

820403
01401
104002

~~~~A~

2$:

CMP

R5,R3

3$:

B'-'I
BNF:
BVS
BCC
ERROR

II

8~~~~3 19~~gl

035264

i&tgs

iTEST THE CMP
iN:C = 0100

;CMP FAILED TO ALTER CODES PROPERLY

MACYll 301(1052) 15-NOV-78 15:26 PAGE 190
T523
CMP TEST - SMO,DMO - N:C = 1010
iCORRECT RESULT ?
4$ :
CMP
BEQ
~~f~~4
;iBR IF YES
ERROR
;CMP DELIYERED A RESULT
5S:
2

SEQ 0189

$';~;;*;;:******~;~*;~;;*~*;;~*~=~*~*;;;*:*;;~~******************

8~~~i~

035276
035382

8~~~1~

03531
035322
035324

f§****************************'**********************************
000004
012700
013701

T524:

000524
035324
0 001
000
001

b88
8t~~h
000257
020503

0353~6

b00403

Oj533
035336
035340
035342
035344

103001
104002
020403
001401
104002

SCOPE
MOV
MOV
MaY
"10 V
MOV

1!1 d
52

83~h~ 18~~g1

3$:
4$:
5$:

eMP
BMI
BEQ
BVC
BCC
ERROR
CMP
BEQ
ERROR

.,,,
S l

106000,R5
+1,R3

ecc

2$:

o

39
39
40
82U
0243

R5,R]

,'TEST 523
CMP TEST - SMO DMO - N:C = 1010
li**~*************************'**i********* *~*******************
TST523:
SCUPE
,CALL THE SCOPE LOOP UTILITY
MOY
#523,RO
i·LOAD RO WITH TEST NUMBER
MaY
1#2$~Rl
i(OAD Rl WITH TEST ~NSTRUCTION WORD
~g~
-1'R~
~~~~U~~RS=/1~777~77 77
MaY
4,A3
iCDEST] = 177777

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC .PH
07-NOY-78 14:09
10~07

C!4P
ePL
BEQ
8VS
BCS
ERROR
CMP
BEQ
ERROR

•• ***************************************************************

II~!!I ~;;~;~ i~;~;~
18 g

18102068

SEQ 0188

000004

01
I19H~

lSUi

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 189
T521
BIT TEST - SMO,DMO - N:C = 1000
ERROR
iBIt' FULED TO ALTER CODES PROPERLY
3$:
2
,CORRECT RESULT ?
4$:
CMP
;~f§~2
BEQ
HBR IF YES
ERROR
;BIT DELIVERED A RESULT
5$:
2

R5,R3

n
2

~~f~~5
2

iCALL THE SCOPE LOOP UTILITY

Slb~~DRrOW~~AHTt~~TI~~~R5~TION

WORD
;RESULT SIB = !ARC OPR = 100000

sHH~]FLAg
;TEST THE CMP
iN:C = 0010

iCMP FAILED TO ALTER CODES PROPERLY
iCORRECT RESULT ?
HBR IF YES
iCMP DELIVERED A RESULT

!i;~;;*;;;******=;;*;~;;*~*;:**;:**~*;;~*!*~*i~******************

g~~Hg

035~50

035 54

gj~U~

8~~~7~

035460
035402
035404

000004
012700
013~01
012 02
o 2 04
o0!2705
271

o0000~51
67

050512

8jgUa

A8°~8~

03S416
035420
035422

104001
020412
001402

~§***************************~t**l**********l********************
T525:
000525
035404

~~,~H

125252
052525

SCOPE
MOV
MaY
MOV
MOV
MaY
MOV

Im

BIS
BPL
BEQ
avs
BCS
ERROR
CMP
SEQ

R5, (R2)

.525,RO

fg!R2

i!~~~2

R5
52525,h2)

~~~

2$:

8j~~H 10~401
03401
3$:
4$:

II
1

~~f~~g)

,CALL THE SCOPE LOOP UTILITY

sl~~ADRiOwll~HTl~~TI=~~Rij~TION
sB~~nL~DgR/=BM~Ui~7777

"ORO

iSRC aPR = ~25252
i[DEST] = 5 525
iCLEAR FLAGS
;N:C = 0111
iTEST THE BIS
}N:C = 1001

;BIS FIlLED TO ILTER CODES PROPERLY
;CORRECT RESULT ?
;iBR IF YES

CQKDA-C KDII-K RASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
035426

011203
104001

5430
o
01 5430

000004

03~424

8 ~:H 81~i80~
8j~1~& 8 i88~
8}~4~~ 8 501~

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 191
T525
BIS TEST - SMO,DMI - N:C = 0111
5$:

SEQ 0190

;GET THE WAS DATA
;BIS DELIVERED THE WRONG RESULT

MOV
ERROR

83~Ug

063312

83~~~a 8gg~10
035460

050512

2$:

. 1004~3
o0~5462
5464 0010 2
0
8 ~:~g 18~~of

8j~H2

104001
020412
001402

3$:
4$:

035500
035502

~H68t

5$:

035472

RIS
BMI
BNE
BVS
BCC
ERROR
CMP
AEQ
MOV
ERROR

RS, (R2)

;TEST THE BIS
;N:C = 0100

1

;BIS FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
;;BR IF YES
;GET THE WAS DATA
;BIS O~LIVEREO THE WRONG RESULT

~~f~~'}

l R2 },R3

•• ***************************************************************
S'rF.ST 527
BIC TF.ST - SMO nMl - N'~
0111
;.****************************,** *********** *******************

=

0~5504

8o ~58~
5~12

8~0~8a

0355~t

8lH8~

03551~

g~~~~2

035536
035540
035542
035544
035546
035550
035552
035554

T~TS27:

01h01
012702

88g~~1

040512
100003
001402
102401
103401
104001

2$:

3$:

m~l
in
~
103~6

Iljjl

035566

8~4~

000004

8~5~~a

mIn
8~~0?~

035616

0356~0
0356
:1
8356 4
35626
035630
0356J2
035634

nu

8~gU8

oiU

8~~Ui
03564

r'sr sr
9

o

II

181~'
~ ~~
o ~~

8m
110374
8U~

?~~~~6~~4
-l,(R~)

RIC
BPl.
SEQ
BVS
BCS
ERROR

R5,(R2)

II
1

~~t~kDT~5 ~i~kET~~~PNH~npY

,{OAD Rt WITH TEST INSTRUCTION WORD
°DEST ADDR = MBUFO
;RESULT S , R = to09QQ
;CDEST] ~St~7q~~ =
77

S~~~A~

brirS

;TEST THE BIC
iN:C = 1001
;BIC FAILED TO ALTER CODES PROPERLY

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 192
T527
BIC TEST - S~'O,DMI - N:C = 0111
;CORRECT RESULT?
CMP
4$:
~h~~~)
;; BR IF YES
BEQ
MOV
!R2),R3
~~~t b~CI~~~EgAtAE WRONG RI':SULT
ERROR
5$:

i~li~I*~~2******~I~*I~~t*;*~~2'2~1*;*~l~*;*1222******************

0j55~6

o ~5 0

IUn T
~ un

18d~
l&l~1
035

Ot

•. ***************************************************************

fOI
050

3
8
0~40
0341
18U!
\0344

1527
,RO
M~R2SLR01R2

=8~
~g~

Ob712

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
10319 g~~5S6 020412
10320
5560 001402
035562 011203
035564 104001
03 7

~fi~PE

MOV
MOV
MOV

HT530:

8g~5n
063~

2$:

3$:
4$:
S$:

°r

S31

g~~~~~
o 56 4
8i~18~

103401

0356 6
035700
035702

o 5710

01

000~5

000 67
030512
100003

f8U8l

g~~

~~2)

~~~

040512
100403
001002
102401
103001
104001
020412
001402
011203
104001

000004

i5~2'RO

MOV
CLR

8 8~1

81r8~
~04 8 jjfg
8BH~ is8888

650
5654
o 5660

SCOPE

~8~

'4s5f§!R2

;CALL THE SCOPE l.OOP UTILITY

~la~~OR~OW~~AHT~~¥TI~~~~ij~TION WORD

iDEST ADDR = MBUFg
,RESULT SIB = 8 0000

fE~~s~)R==o88888

~~~~A~ l~~gs

AIC

R5,(R2)

;TEST THE BIC

lit

j43~

;N:C

BCC
ERROR

1

~~~

~~fgf)

;BIC FAILED TO ALTER CODES PROPERLY
iCORRECT RESULT ?
;;BR IF YES
iGET THE WAS DATA
iBIC DELIVERED THE WRONG RESULT

MOV
ERROR

~

= 0100

SEQ 0191

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-HOY-78 14:09

10375

I

035712

104001

glj~~79 gj~11~ 8~f~A~

o

8 HI

8 i4

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 193
T531
BIT TEST - SMO,OM1 - N:C = 0111
3$:
ERROR
1
,BIT FAILED TO ALTER CODES PROPERLY
4$:
~~~
~~f~~~)
Jj~~Rt~Ty~~SULT ?

g~~i~~ fAl~8f

5$:

8~~H~
035li6

fh532:

0~8B

83~6 8~~H~

10391

035742

8l i i8 O

01270
01270

t

t8~~~

10398
10399
10400

18~8~

10403
10404

18~g~

0407

18:8S
t8~H
IS:f5
0410
0411

036006
SUSiS
036014
036020

0414

8~~~83
glH8~
t8Hg 8U8~3 81H8~
18H~ 8U8~~ 8A~~H
6
t041 7

l0418

3

036042

1180 :4~2 45 036044
118n~ 8~g8~8
18~H g~g8~~

r43~
04~
04

0434

18~~~

un~
1822
1044
8U4
0445
r44~
044
0448

1 81 6070
o aSB
8UYU

BIT
BMI
SNE
BVS

Bce

3$:

4$:

000004
012700
8lliS}

°b
g
80 ~~l
020512

0361~6

045

0361 9.
°l613 .
° 6134
036136

AOOO03
0140~
10240
103401
104001

8~~Ug

0~041~

r
il

04 9
0470

8Hi
047

036144
036146

;BIT FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
;; BR IF YES

nnH
2$:

CMP
BMI
BNE
RVS

Bee

R5,(R2)

U

iTEST THE CMP
;N:C
0100

=

MACYU 30A(1052) 15-NOV-78 15:26 PAGE 194
T533
CMP TEST - SMO,DM! - N:C :: 1010
3$:
4$:

5$:

ERROR
CMP
BEQ
MOY
ERROR

TST534:

000534
83UH
08 01
000001

SCOPE
MOV

=g~

~e~

MOY

~~g

2$:

CMP
BPL

n~

3$:
4$:
5$:

BCS
ERROR
CMP
BEQ
MOV
ERROR

!'TEST 535

o~gr6
6 ~t

si!UO
01 70}

18:~3
18U~

Si6 726
o 66F02
036204

020512

10486

036r6
036 10
036 12

19U~
048

1

~~~!~~)

1

~~~!~~)

fR2 ),R3

iCMP FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
i;BR IF YES

!~~~ ~lfI~tIEgAIARESULT

15341RO

A~af~!R2

;CALL THE SCOPE LOOP UTILITY
'lLOAD RO WITH TEST NUMBER
!O~~¥ ~bD~I~HMiij~~ INSTRUCTION WORD

sl,R4
'+l,{R2)

J~~~U~~RS::/oSooool

R5,(R2)

;TEST THE CMP
;N:C :: 1001

II
1

~:dJ~)

l R2 ),R3

;[OEST] = +1

S~~EA~ b~t8S

;CMP FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
;;BR IF YES
iGET THE WAS DATA
;CMP DELIVERED A RESULT

•• *.**.* •••• **.* ••• **** ••*.****.*****************************.*.*

000004

047
0478

Ii

!~~~S~~R==5~~~~52

;CLEAR FLAGS
;N:C = 1000
;TEST THE BIT
;N:C = 0100

177717

o 140
011203
104001

suns

lm~

ERROR
eMP
BEQ

R5, (R2)

,!R~~3L~D~R/=BM~U~~525

•• *****.*****.***************************************************
!'TESI 534
CMP TEST - SMO DMI - N:C :: 0110
1,*** ***********.***.* •• *****,*** ••• *.**********.**.***.********

036124

t8U
10466

1 525~ R5
5~525,{R2)

;CALL THE SCOPE LOOP UTILITY
;lLOAD RO WITH TEST NUMBER
; 010 Rl WITH TEST INSTRUCTION WORD

000533
036044

104001
020412
001402
011203
104001

045
455

r'1

5~5~g,~~

CCC
SEN

000272
020512
100403
001002
102401
103001

005
8Ul1~ o°a~70
712

sHih
8:5~
r~l
04~

1532 RO
12a'RI

~g~

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
036056
036060
036062
036064
036066

SCOPE
MOV
MOY

=g~

035756 000257
035760 ·000270
035762 030512
035764 100403
001002
g~~H8 102401
035772 103001
035774 104001
035776 020412
036000 001402
036002 011203
036004 104001

0394
0395

811
046

;GET THE WAS DATA
;BIT DELIVERED A RESULT

~~1!~I*~~i******~II*I!~1.;*~~212~1*;*~1~*;*1222******************

000001

18n~ 8~~H~ 8BH~

g~~~

£R2) ,R3

;.***** ••*.******.*****.**.*.*.***************.** •• *****.**.*.*.*

It83n

t

MOV
ERROR

SEQ 0192

836152

8UiU

MOV
MOY

=g~

000001

~8888Y
o8!~H~
025
A0040~

0140
102001

CMP TEST - SMn DM1 - M:C :: 0000

f~,*·**·.·****·*****·***~······~'·*i***************.*.*******.*****
ST535:
SCOPE
,CALL THE SCOPE LOOP UTILITY

2$:

MOV
MOY
CCC
CMP
BMI
BEQ
BVC

i535,RO

aiaf~,lR2

+ R4
1A6000(R5
+l,(R2J
R5,(R2)

H

;'LOID RO WITH TEST NUMBER

;(010 Rb WITH TEST INSTRUCTION WORD

;R~g3L~ ~R/=BM~U~~

SSRC OPR :: 100000
;[OEST] = +1
;CLEAR FLAGS
;TEST THE CMP
;N:C :: 0010

SEQ 0193

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-7B 14:09
036214 103001
036216 104001

8U~~~ gg~n~

~1

6

36

U

SEQ 0194

f

8Un~ n~~8i

8U~i8
6 32

MACYll 30A(1052) 15-IOV-78 15:26 PAGE 195
T535
CMP TEST - SMO,OMI - MIC = 0000
BCC
4$
;CMP FAILED TO ALTER CODES PROPERLY
3$:
ERROR
1
;CORRECT RESOLT ?
CMP
4$ :
~~f~~~)
;;BR IF YES
BEQ
R2 ),R3
f8~~ ~~fI~~~EgAIARESOLT
~BXOR
5$:

000004
011700
01 401
01 7°4

~
036 52 ,

812781

036262

051503

8U,~8 888~H
2$:

8U3.~2 b8~~8~
g1~~H 102401
103401

11
1

iBIS FAILED TO ALTER CDOES PROPERLY
iCORRECT RESULT ?
nBR IF YES
;BIS DELIVERED THE WRONG RESULT

8U168

8o~:8l

4$:

036302

104002

~:~ROR
5$:
i·**************************************************** ***********

036304
036304
036306
036312

000004
012700
013701

036326
036330
036332

005003
000257
000270
051503

036344
036346
036350
036352

2

~~fH7

!~1~~1*~11******~I~*1~~t*;*i~1,~~~*;*~;~*;*1222******************

8~~~8~

HT537:
000537
036332
063322

SCUPE

~g~

A8U83

;RESULT SIB =000000
iSRC AOOR = OWTA

SEN
BIS

(PS),R3

iN:C = 1000
;TEST THE BIS

!JI

;N:C = 0100

WORD

StE~~~JFLAggOOOO

MACYll 30A(1052) 15-NOV-7~ 15:26 PAGE 196
BIS TEST - SMl,DMO - N:e = 1000
T537
3$:
4$ :

104002
020403
001401
104002

;CALL THE SCOPE LOOP UTILITY

,!l5~tDR~OW~~AHTt~~TI:~~aij~TION

a~WTA,R5

RMI
nNE
BVS
BCC

02401
} 03001

~537,RO
R~2$,~1

CLP
MOV

E~~

2$:

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-7R 14:09

8~~i

U

3$:

8~gU~

1
18~:~

;TEST THE BIS
iN:C = 1001

104002

036340
03b342

18~t~

(R5),R3

036274

SUBs
036324

} 0545
0546
0547

BIS
RPL
SEQ
BVS
BCS
ERROR
CMP
SEQ

5$:

iBIS FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
;;BR U' YES
iBIS DELIVERED THE WRONG R~SULT

ERROR
C"IP
BEQ
gRROR

0552
0553

8~~~ °l6~54
83g~~~

0556
0557
0558
0559
560
561

8

8~~~
O~~~

0566

8~6l

05h
0570

l1
I

~~~~

0574

8~~g
0577
0578

g~ig
8~8~

00008 4

036362

8B10~

036412

041503

nun

b8~~8j

gl~j~~ 012704
812705
81gn~ olHU
8j~~~~ 000257
000267

036424
036426
036430
036432

2$:

183~81

3$:

104002
020403
001401
104002

4$:

5$:

BIC
BPL
BEQ
BVS
BCS
ERROR
CMP
8EQ
ERROR

(~5),R3

9IC
8MI
BNE
BVS

(RS ),R3

iTEST TffE BTC
iN:C = 1001 ?
iBIC fAILED TO ALTER CODES PROPERLY
iCORRECT RESULT?
nBR IF YES
;BIC OF.LIVERED THE WRONG RESULT

~36434

8~U d~H~ 8~g~83

10585
0586

OJ6442

0589
0590

013701
4

8~Bl

°8~~t~8
6454

8~g}
8~34

oo 6456
6460

SUZg
0025~
8 00270

036462
836464

041503
b00403

g5~5
81~8r
10~d dU~g 1 03001

000541
03fi462
063322
2$:

Bec

;TEST THE BIC
;H:C = 0100

SEQ 0195

CQKDA-e KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
10599 036474 104002

l~I~lq g~~~6~ g~~~g~
18~8

036502

104002

MACYII 30A(1052) 15-IOV-78 15:26 PACE 197
T541
BIC TEST - SMl,DMO - I:C = 1000
3$:
ERROR
2
;BIC FAILED TO ALTER CODES PROPERLY
CMP
;CORRECT RESULT ?
4$:
SEQ
HeR IF YES
ERROR
;BIC DELIVERED THE WRONG RESULT
5$:

SEQ 0196

1060

19~98
18~~o

000542

nun

1061j
18~1
1061
061

18U~

0618
10619
0620
°6 21
10 6 22

1

036534
036536
036540

031503
100003
001402

2$:

181B
10634
18U~

10637
10638
10639
10640
0643
i 8~:'

18~~~

0646
0647
0648
0649
0650

1
8g~~
065~
110654

036550
036552
036554

036556
036556
036560
036564

gU~1~

036600
036602
036604
036606
036610
036612
036614
036616
036620

3$:
4$:

020403
001401
104002

5$:

lU

rIUr
rJun
8!U

000004
012700
013701
012704
12705
10403

8

nT543:

000543
036606

8~n
680
06R~

068

18~U
1
Uiii
86~t
8h
SUS

0685
0686

r

690

tOb9~

1069~

l~Uo

8jo Ull

66 0
036672
036674
036676
036700

10709
10710

;BIT FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
;; BR IF YES
;BIT DELIVERED A RESULT

MOV

g~~~~~

154~'RO

~~5~~lR4

~~~!+iO,R5

=8:

ccc

888H6
031503

2$:

ag~ag3

02401
1 03001
104002

3S:

021503
18 0003

SEN
BIT
BMI
BNE
avs
BCC
ERROR

(R5),R3

U

103401
104002
020403
001401
104002

;RESULT SIB

= 52525

s~~~s~gD~ 52~~~A+10

;CLF.AR FLAGS
;I:C ~ 1000
;TEST THE BIT
;N:C = 0100

;BIT FAILED TO ALTER CODES PROPERLY

2

MACYl1 301(1052) 15-NOV-78 15:26 PAGE 198
T543
BIT TEST - SMl,DMO - N:C
1000
4$:
CMP
;CORRECT RESULT ?
BEQ
~~f~l4
HBR IF YES

=

~~i*****~~~~~***i***************,~II*~~~l~~~~~*~*~~~~~t*******.**

=

,'TEST 544
CMP TEST - SMl DMO - N:C
0110
f~*****·*·***********·********'**********************************
T544:
SCOPE
;CALL THE SCOPE LOOP UTILITY
MOV
Sl~~ADR~Ow~~tHT~~¥TI~~~~ij~TION WORD
MOV
!iS~~1
MOV
;RESULT SIB
+1
MOV
~Wh,R5
!l~fsnD~ :1 mtlu
,R3
MOV
CCC
5CLEAR FLAGS
266
;N:C
0110
(R5),R3
CMP
;TEST THE CMP
2$:
BPL
;N:C
1001
BEQ
BVS
BCS
ERROR
;CMP FAILED TO ALTER CODES PROPERLY
3$:
2
CMP
;CORRECT RESULT ?
45:
SEQ
~~f~l5
HeR IF YES
5$:
ERROR
2
;CMP DELIVERED A RESULT

1'' ' '
n

fo~:8i

;CALL THE SCOPE LOOP UTILITY

~i~~~DR~OW~~~HT~~iTI=~~Rij~TION WORD

=

=

=

!';~;;*;:;*******:;*;~;;*:*;;~*~:~*:*;;~*:**~~~******************

036702
036702

000004

81~~8°
o8i~n~
6714 01 701

8367 0

U~~~0
0367
036732
036734
736

°r
tn'
un~
0105

SCOPE

=g~

l
gU!~~ gUj~~
036656 000 66
036660

Bes
ERROR
CMP
SEQ
ERROR

;TEST THE BIT
;N:C = 1001 ?

•••• *.* ••••• *.****************.**.*******************************
~'TEST 543
BIT TEST - SMt DMO - I:C = 1000
i,****************************'**********************************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
10655 036622 020403
10656 036624 001401
10657
036626 104002
U~~~
660
661
036630
gUM~ 8~on3 000544
0665 036636 013 70
036660
70
0666 036642 01
00000;
06332

18

(R5),R3

K~~

181~~ 8jl~2i 18~:81
19~~~ 036546 104002

10627
10628
10629
10630
10631

BIT
BPL

01 705

8aS~g~

000272
021503
A00 403
0100i

8 ~~:g

18~a8

036744
036746
036750

104002
020403
001401

l~n~~
63324

.

i~**************~*************'************l*********************
T545:
SCOPE
MOV
MOV
MOV
MOV
MOV

545

1

S l
!i
d' "
Dwh+2,R5
4,R3

~~~

2S:

3$:

4S:

CMP
BMI
BNE
BVS
BCC
ERROR
CMP
BEQ

;CALL THE SCOPE LOOP UTILITY

~l&~tDRrOW~~~HT~~~TI=M~~ij~TION WORD

= =

;RESULT SIB
177777
;SRC ADDR
DWTA+2

~~fn~PFLAAP777

=

(R5),R3

if
2

~~f~~6

;N:C
1010
;TEST THE CMP
;N:C
0100

=

;CMP FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
;;8R IF YES

SEQ 0197

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

H1CY11 30A(1052) 15-NOY-76 15:26 PAGE 199
CMP TEST - SM1,DMO - N:C = 1010
T545
5$:
ERROR
2
,CMP DELIYERED A RESULT

SEQ 0198

;,***************************************************************

1111

I

i8

i;I~~1*~~~******~~~*1~~t*~*1~1'~~~*;*fi;*;*~222********-********­

80013:::6:

TST546:

::::::

~Iil~l ~~~548

HI Iun 'gl ~ 517 f8ni!

ii4
07 ~

675

0 7006
037010

0 2
021503

8i~~

037022
037024
037026

104002
020403
001401

3$:

o7 35

t~ll~

037030

104002

5$:

1

2$:

~~ i 8Ji8li 08~48~
8h~ 8H8~S ,l8~881
8i~~

07 34

lllli
!l~!tl
81~~81
j
8i~~

03i8

44

8~70~~

8 1i8i
1

i

0749
0750

037060

0 2705
0 2712

0754
Ol55

037070

051512

0758
8ig8

037076
037100
037102

8~~~ 8~i8g~ 8881~i

4$:

037110

2$:

102401
103401
104001

3$:
4$:

011203

18iU

t

778
779
80780

10781

lon~

87K4
107 5
10786
1078~
18n9
10790
0791
079!
079
0794
795
796
0797

1
1
18

8HIU
°HB~
g~H~~

000004

81H8~ 8~~f~0
06331~
8b~Z8~ 063322
gb56~~
8~Hl~
037142
037144 888~n

8a8~

UliI

r*

08 6
0817

81~i

08 1
10822

= +1

;CMP FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
nBR IF YES
;CMP DELIVERED A RESULT

BIS
SPL
SEQ
BVS
BCS
F:RROR
CMI'
SEQ
MOV

(R5},(R2)

U
1

~~t~~6)
(R2),R3

iTEST Till-: SIS
;N:C = 100l?
;RIS FAIL~D TO ALTER CODES PROPERLY
;CORRECT RESULT ?
nBR IF n:s
iGET THE WAS DATA

MACYll 30A(1052) l5-NOV-76 15:26 PAGE 200
T547
BIS SM1,DMI TEST - N:C = 0111
5$:
ERROR
1
;BIS DELIVERED THE WRONG RESULT

037146
037150
037152
037154
037156
037160
037162
037164
037166
037170

unu
037230
037232
037234

gH~n

7242
01
o 7244
037246
037250

f!~t~~t*~~2******~1~**!~1'~~1*1~~1*;*~i~*:*1222****_**************
§T550:
SCOPE
;CALL THE SCOPE LOOP UTILITY
MOV
MOV

~~~
~e~

051512
100403
001002

2$:

104001
020412
001402

3$:

18j~gl

4$:

nU81

8in
898;
m2 000004
080
08 3 81
8
o
HZ3 H8
270}°
o8io~06 8 04 8io01270
0809

,lOAD Rl WITH TES¥ IlsTRUCTION WORD
;RESULT SIB = +1
,SRC ADDR = MBUFI
I(DEST)
;SRC OPR = 00000
;CLEAR FLAG
ITEST THE CMP
;N:C = 0010

;-*-****--_.***********************-*****************************

18Hg
0774
0775

(R5),R3

JCtb~DT~~ ~~¥~ET~O¥P g~I~~TY

~~HH

CQKDA-C KDll-\( BASIC LOGIC TESTS
CQ!(DAC.Pll
07-NDV-7R 14:09
037112 104001

hH~
18m

1 ~4
MB6Fl,R5
+1 RJ
106000,{R5)

063332
052525

1
18~!~ 8jil8l 86~~b~
10766

1546
,RO
+.2$LR 1

000547
037070

87~~ 8~1g1a o8~~83

0761
0762

~5~PE

MOV
MOV
MOY
MOY
MOV
CCC
CMP
BMI
REQ
BVC
BCC
ERROR
CMP
BEQ
ERROR

5$:

CCC
SEN
SIS
BMI
SNE
BVS
BCC
ERROR
CMP
BEQ
MOV
ERROR

15250'RR01
~ $f
4SU O,R2

fB~!A,R5
(R5},(R2)

Ii

,;LOAD RO WITH TEST NUMBER
uORD
;LOAD Rb WITH TEST INSTRUCTION R

~2[~6L~ ~R/=BM~U~80000
S~8~~~l ~D8goo08wTA
;CLEAR FLAGS
;N:C = 1000
;TEST THE BIS
;N:C = 0100 ?

i R2 },R3

;BIS FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?
;; BR IF YES
;GET THE WAS DATA
;BIS DELIVERED THE WRONG RESULT

R4,{R2)

;BIC FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT ?

1

R4 L (R2}

TST551

00r 11

g~ ~1~

100000

81~n~ 18~1~H
777

01 712

8g8~~1

041512
bOOO03
01402
102401
103401
104001
020412

3$:
4$:

ERROR
CMP

SEQ 0199

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-7B 14:09
18B*~

108~~
l~i21
10J

18a~

1083

Igii

001402
011203
104001

8~~~g8 000004

4

1083

18U

18~~

i

037252
037254
037256

O

OB44
8
084
1084
1084
1084

188~S

037262

MACYll 30A(1052) 15-NOV-78 15:26 PACE 201
T551
BIC SM1,DMl TEST - N:C = 0111
BEQ
TST552
;;BR IF YES
MOV
R2 ),R3
;GET THE WAS DATA
ERROR
;BIC DELIVERED THE WRONG RESULT
5$ :

l

012700

000552

8125700155
0
88ijgH
000270
037314' 041512
037316 100403
037320 001002
037322 102401
037324 10300

063316

gj~~~~ 8!~~8} 8~li11

037300

8Jl~8~

73
8J73lg

2$:

3$ :
4$:

l~lljO ~;~;~~ ~i;~i~

1085
1085
1085
10857

037334
037336

18R~iq

037340

011203
104001

5$:

183~

1086
l086
t8U8
10869
10870
10871
10872
10873

183~~

10876
10877
10878

8~iU9

037346
037352

8jHg~

fsT553:

000004

8H~8Y 8~~~5~
012702
012704

063312
125252

8HH~ 8gj~!~
8HH~ 8h~~H 125252
000710
031512
100403
001002
102401
103001

2$:

CQKDA-C K011-K BASIC LOGIC TESTS
CQKDAC.P 11
07-NOV-78 14:09
}0879
0880
8U
8n
10885

il
t8i8~
o 38

0889
tOl90

8 ~~
10893

18n~

037414

104001

~8~

0906
rg~
7
888
090S

un
tnn
1

18J09~~3
18J~l
0925

Uhf
18;U

Ii
1

~~f~~1)
IR2),R3

;TEST THE 8IC
;N:C = 0100 ?
;BIC FAILED TO ALTER CODES PROPEPLY
;CORRF.CT RESULT 1
;;BR IF YES
;GET THE WAS DATA
;BIC DELIVERED THE WRONG RESULT

MOV
MOV
CCC
SEN
BIT
BMI
SNE
BVS
BCC

I~~~'~~
MBUfo R2
12525~fi~4

~~M~S'(R5)

12525~,(R2)

(R5),(R2)

;CALL THE SCOPE LOOP UTILITY

5l5~tDRfOwr~aHT~~¥TI~~~RijtTION
;DEST ADDR :: MBUFO
{~BfiB~I ~D~RB::=MA3~~52

WORD

;CSOURCEl = 052525
;CDEST) = 125252
,CLEAR FLAGS
;N:C = 1000
iTEST THE BIT
;N:C :: 0100 1

5$:

ERROR
CMP
BF.Q
MOV
ERROR

1

~~f~~~)
IR2),R3

;BIT FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT 1
;;BR IF YES
;GET THE WAS DATA
;BIT DELIVERED A RESULT

I&;;;;*;;:******;i;**;:i*;:i*;:;;*~*::~*:*;iii*******************

1 **********************'***************************** ***********
rhS54:
SCOPE
;CALL THE SCOPE LOOP UTILITY
=g~
!i~~~~~
il~~~DR~Owll~HT~~~TI=~~~ij~TION WORD
.SB1TL OSER CONT~OLL~D BREAKPOINT -- 8IT11
BIT
#BIT11,@#BPTLOC ;BREAKPOINT HALT SET 11
Ri~T
.+4
s~ftEI~-~~~RESS CONTINUE TO CONTINUE
MOV
IMBUF0 R2
;DEST ADDR = MBuro
0

8H~,~

037430
037434

000004
012700
013701

37452
456
3i 46
OJ
o 746

8

spu

t o L~

0~7472

83~~6g

037502
037504
037506
8JigH
037514

000554
037502
004000
0~33a2

A6~~lg

~H~U

5$:

dng~
837560
37562

8lU84
8l ~~

gb8~H

000555
037566

b~~}l~
f

19'7

~B8Pf 6~~4
0 ()

!~5~H~l ~D6RB==Mi8$~00

MOV
MOV

. 10000008~,,(RR52)

SCSOURCEl = 100000
;COEST) = 100000

BIT
BPL
BEQ
BVS
BCS
ERROR
CMP
SEQ
MOV
ERROR

(R5),(R2)

;TEST THE 8IT
;N:C = 1001 1

~~~

3$:
4$:

037526

837540

~g~

2$:

8~~~~8 8~~~B
8Jig,l

063234

100000
100000

80SU7
031512
100003
001402
18i:81
104001

8~0~8~
18§~~ 8~~~j8
0375 4 od70!
09~8

3$:
4$:

011203
104001

1089~
8~~::g 8UUl
089
037450 000000

lim
18~8~

(R5),(R2)

!41CY11 30A(1052} 1S-NOV-7S 15:26 PAGE 202
T553
BIT SM1,DM1 TEST - N:C = 1000

8H~~8 8gfaA~
037422
037424

SCOPE

=8~
MOV
=8~

037366

037400
037402
037404
037406
037410
037412

BIC
BMI
BNE
BVS
BCC
ERROR
CMP
BEQ
MOV
ERROR

co***************************************************************
~'TEST 553
BIT SM1 OM! TEST - N:C = 1000
!}**********************'** *************************************

18S~S

l086

SEQ 0200

U
1

~~f~§~)
!R2),R3

~~~EA~ t~trS

,BIT FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT 1
;;BR IF YES
;GET THE WAS DATA
iBIT DELIVERED A RESULT

SEQ 0201

MACYll 301(1052) 15-NOV-78 15:26 PAGE 203
T555
CMP SMl,DMl TEST - N:C = 1010
272
;N:C = 1010
(R5),(R2)
;TEST THE CMP
2$:
CMP
;N:C = 0100 ?
BMI
BME
BVS
BCC
;CMP FAILED TO ALTER CODES PROPERLY
ERROR
3$ :
1
;CORRECT RESULT 1
CMP
4$:
~~f!~g)
HBR IF YES
BEQ
MOV
!R2),R3
!~~~ b~~l~~~EgAIARESULT
ERROR
5$:

SEQ 0202

;.*** ••••••******************************************************
;'TEST 556
CMP SMl DMl TEST - N:C = 0110
;;*******i**************'****************************************

TST556:

~8~PE
MOV
MOV

=g~

2$:

CLR
MOV
ecc
266
CMP

R~~
3$:
4$:
5$:

CQKOA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
0991 03772~ 012705 063316
10

18!!i

8i~~i~ 8!~~1~ a&8g&~

0997
119n~

037736

021512

gHi4~

Agf:8~

19~§~

1 188~
100~

1884
1005
18 06

idi
Ui

18H

8HH~

181881

0377!>0

104001

Is!lf

~1

II8

S~4

oii

jll8~~li
t

841

1

i

(R5),(R2)

s~~Ba~t iO~RB==M88~fOl
;eSOURCE] = 800000
;CDEST) = 00 001
;CLEAR FLAGS
;N:C = 0110
;TEST THE CMP

4
j3

;N:C = 1001 ?

1

;CMP FAILED TO ALTER CODES PROPERLY
;CORRECT RESULT?
"BR IF YES

~~~~~~)
!R2),RJ

fg~~ fi~fI~~~E8AIARESULT

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 204
T557
CMP SMl,OMl TEST - N:C = 0000
MOV
iMBUF1.R5
;SOURCE ADDR = MBUFI
MOV
+110,00(ROU2(RS)
;CSOURCE] = 8°0000
MOV
J
;[DEST] = 00 001
CCC
,CLEAR FLAGS
(R5),(R2)
;TEST THE CMP
CMP
2$:
aMI
HI:C = 0010 ?
BEQ
Bve
BCC
;CMP FAILED TO ALTER COOKS PROPERLY
ERROR
1
,CORRECT RESULT?
CMP
Uf~~g)
BEQ
"SR IF YF:S
;GET THE WAS DATA
MOV
R2 ),R3
gRROR
,CMF DELIVERED A RESULT
5$:

UHU gUnl 838gn
040010

8A~6g~

064631

000251
151503

2$:

8~ggla g~~2gi
040016

3$:

104002

BISB
CMP
BEQ
ERROR

(R5),R3

~~f~~l
2

;TEST THE BISB
;RESULT COHRECT ?
;,BR IF YES
;BISB DELIVERED THE WRONG RESULT

•• ***************************************************************
;'TEST 561
BISB SMI OMl TEST - SOURCE ADDR ODD
£,***********************,***************************************
TSTS61:

0.400!0

2~0808 Q 000~04

88~~8 04 t 81~i8~ 8~86~~
~7 ~~883~ Sl~t78~ 886j~~

18lZ
1041
04
01
1 046

RS)
+l,(R2)

~~t~iDT~~ ~C~~ETLg¥PNg~I~~TY

,(DAD Rl WIIH TE~T INSTRUCTION WORD
,OEST ADDR = MBUFO

000004

IS31

t034

~ft6~1,R5

.

l

8Hng nHU

lr! mill

556 ,RO
25 R1

if

8rH~a g~?U~

037762

BVS
BCS
ERROR
CMP
BEQ
MOV
ERROR

1~Bofo,R2

o:88:g

040050
040052
840054
40056

80S ~~

000~51

151512
020412
001402

~g~PE

MOV

=g~

MOV

064631

g~~
2$:

BISB
CMP

SEQ

15611RO
t2~ Rl

~9~f2tR2

DBT1+1,R5
R2)
(R5),(R2)

~~f!~~)

!et~~DT~~ ~i~CET~O~PNg~IL~TY
TES~ INSTR~CTION

;lOAD Rl WITH

!R~~fiL+D~R/=BM~U~g7

;SOURCE 1DDR = DBTA+l

S~~5~~)SYNgooooo

;TEST THE BISB
;CORRECT RESULT
HBR IF YF:S

WORD

SEQ 0203

CQKOA·C KOI1-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 205
T561
BISB SM1,DMI TEST - SOURCE ADDR ODD

SEQ 0204

11~~'r· 8t88~~ ~bl~81

1105

U8~~

11054

118~~

040064

8~88g~

8~0004

118ge
g~gg~l 81J.~8~
11059 040102 01270~
iil0gg66~ gt811~ 8~~~A~
l ~ 040116 000257

t18~~
118~~
118~~

040120
040122
040124

000562

g2gH~

000377
064631

151523
020412
001402

2$:

118~0~ 8481j~ ~b!ag~

1107
1107
11074
11075

ug~l~··
1
10~

18s
1108

3$:

040132

8~81H

040140
040144
040 50

H8~~

01370~

8Bi8.t
012705
005012

86~~g~

040176
040200

011203
104001

1i8~! 8~8~8~

000004

ilig

~af~~~)

fR 2 ),R3

;TEST THE BISB
;CORRECT RESULT
;; BR IF YES

~gi~BTM~L~:~R~~T~HE WRONG RESULT

~~l~~I*~~~******~I~~**~~l'V~~*t~~I*;*~~~~£~*!~~~*~~~*************

000004
012700

HT563:
000563
04~170

88sH~

064631
063306

2$:

IIg!l ~:~~~~ ~~~533
1189
040174 001~a~
1109
n8§~
P8~~

(R5),(R3)+

•• ***************************************************************

040162
n834 8t8U3
040166

1109
1109

BISB
C!-IP
BEQ
MOV
ERROR

3$:

SCOPE
MOY
MOV
MOV
MOV
MOY
CLR
MOV
CCC
BISB
CMP
BEQ
i40V
ERROR

AB~fo~R2
r3'~1

37 R
OBT1+1,1I5
R21 +10,R3
AT

(R5),@(R3)+

~~f~~~)

fR2 ),R3

;CALL THE SCOPE LOOP UTILITY

~l~~~ORrOW'~~HTl~~TI~g~Rij~TION WG.RD

;OEST AODR = MBUFO
;RESULT SIB = 377
;SOURCE AODR = OBTA+l
$~~~~T~ESTO~8g2°= AT1+10
;SCOPE SYNC
;TEST THE BISB
;CORRECT RESULT
;;BR IF YES

~g¥~BTM~L~~~R~~T~HE WRONG RESULT

g~g~l~ gl~~g~ 8~~~1~

CQKOA-C KOll-K BASIC LOGIC TESTS
CQKOAC.P11
07-NOV-78 14:09
040220 012704 177400
040224 012705 064631
828)J~ 8b~ZiJ 063314
040236 000257

MACY11 30A(1052) 15-NOV-78 15: 26 PAGE 206
T564
8ISB SM1,DM4 TEST - SOURCE AD DR ODD
;IIESULT SIB = 177400
MOV
i6~j:~~'~~
iSOURCE ADDR = DBTA+l
=g~
MBUFO+~,R3
;BASE DEST ADDR = MBUFO+2
CLR
R2)
;CDEST] = 000000
CCC
; SCOP~; SYNC
BISB
(R5),-(RJ)
;TEST THE BISB
;CORRECT RESULT
~~~
~af~~~)
;;BR IF YES
R2 ),R3
~~XOR
Ig~IBTM~L~'~R~~T~HE WRONG RESULT
3$:

l

8~8~~~
048~54

000004
01rOl

000565

040270
040274

8lH85

0646jl
063310

040306
040310
040312
040314

000251
151553
020412
001402

8~0~g~ 8b~8

8~8U~ 8b~6~~

88n1~

8~8H8 ~U~81

3$:

MOV
ERROR

;GET THE WAS DATA
,BISB DELIVERED THE WRONG RESULT

l';;;;*;*:******;;;;**;;**~:~*;;;;*~*;;~;~~*:~~~*;~~** ***********

1,******~***************1,***************************************
TST566:
~8~PE

MOV
MOV
MOV
MaY
MOV
g~~
177712

2$:

BISB
CMP
BEQ
MOV

J566 ,RO

#2 S£RO,IR2
~ Bo~

317 R4
OBT 1+1 R5
MBUFO+t,R3
112)

(R5),-6(R3)

~~f~~P
{R2),R3

!~t~~DT~~ ~i¥CET~g~PNH~~~~TY

;£OAD R1 WITH TEST INSTRUCTION WORD
;DEST AODR = MBUF~
'RESULT SIB = 3 7
;SOURCE AODR = DB A+l
,BASE DEST ADOR = MBUFO+6
S~~5~~JSYNgooooo
;TEST THE BISB
;CORRECT RESULT
;,BR IF YES
iGET THE WAS DATA

SEQ 0205

CQKDA-C KOII-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
040372 104001

MACY11 30l(1052) 15-NOY-78 15:26 PAGE 207
T566
BISB SM1,DM6 TEST - SOURCE ADOR ODD
3$:
ERROR
1
IBISB DELIVERED THE WRONC RESULT

SEQ 0206

8j48Hl
o 040~ 8l~nf
840

glFg~

1 8U~f3

g
g~8U

02043
040432
040436
040440

00025~

151573
020412
001402

000010

2$:

3$:

8:82U

040476

000004
012700
013701
012102
012704
01020~
00 01
00625
150423

g18~8g

g~~1B

040450
040454

8lg~~~

040470

8~8H~

BISB
CMP
BEQ
MOV
ERROR

(R5),@10(R3)
R4 L (R2)
TST570
IR2) ,R3

,TEST THE BISB
;CORRECT RESULT
nBR IF YES
;GET THE WAS DATA
;BISB OgLIVERED THE WRONG RESULT

BISB
CMP
BEQ

R4,(Rl)+

;TEST THE AISB
;CORRECT RESULT
nBR IF YES

000510
040476

g8ijH~

2$:

¥~f~~i)

040504
040506

8~8~18

g:g~H

040522
040526

~~j§BTM~L~¢~R~AT~H~

000004

gBi8~ 8~8nl

012702
012704

g:8~H glHg~

063312
177400

8gg~H

CQKOl-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14: 09

IBn

g1g~U

886gB

UU

040546

150513

840~50

&5Y1b~

l~n

,1m
IHU
1mB

5

ml
lim

1

40552

8~8~~~ n~ag~

~~~b

tin
In
I
~g

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 208
T571
BISB SMO,DM1 TEST - OEST lOOR ODD
(R2)
;[DEST) = 000000
CLR
;SCOPE SYNC
cec
R5,(R3)
,TEST TI-II:: BISA
2$:
BISB
;CORRECT RESULT
CMP
~~f~B)
SEQ
nBR IF YES
MOV
IR2),R3
5gl~BTB~L~b~R~~T4HE WRONG RESULT
ERROR
3$:
;-*******************************************************.*.*****

~~I~ii*~Zi******Uli~**i~~'~~l*l§~t*;*~~il*~~~~*i¥iV**************

040560

8~8sg~ 8r~n6

040566
0405i~
0405

gU~g~

040606
040610
040612
040614

04g6~6

04 6 0

r
it~~

WRUNG RESULT

O~06 ~
0<061'

84gg 0
10~ 4

~ 864~

013701

o8p~81
0 03
o 5012

88R~H

000251
150413

2$:

8gr~H

nH81
000004

8t~Ui
01 70
012705

~8~~~ °A~103
040656 goo~H
040660

§l572:

000572
040610

151513

011203
104001

;ClLL THE SCOPE LOOP UTILITY

i~lij':1
. MB fO,R2

~l&2tDRfOw~+AHTt~~TI=~~R~~TIOM WORD

(R~)

,OEST ADDR IN R3
;[OEST] = 000000
;SCOPE SYNC
;TEST THE BISB
;CORRECT RESULT
;iBR IF YES
;GET THE WAS DATA
iBISB DELIVERED THE WRONG RESULT

FR~R't

R4,(R3)

~~f~~1)

iR2 ),R3

~g~~ftL~ORR/=BM~U~~,

JS:
;.***************************************************************
,'TEST 573
EISA SMI OMI TEST - DEST AOOR ODD
f·***********************'***************************************
h573:

00r7~
04 66

315

O~
1 40

064~31

063 13

SCOPE
MOV
MOV
MOV
MOV
MOY
MOV
CLR

eec

2$:

g~8~U 8~~:B
040666
040670

~8~PE
MOV
MOY
MOV
"lOY
CLR
CCC
BISB
CMF
BEQ
MOV
ERROR

3$:

8ISB
CMP
BEQ
MOV
ERROR

1133'~Y

1~ij~g6~~4

;CALL THE SCOPE LOOP UTILITY

st~~aDH~OW~+AHTI~~TI=~~!~~TION WORD
i~~~fiL~O~Rb=BM~U~~7400

¥~t~~~)

$SOURCE AD R = OBTA+1
;000 DEST lOOR IN R3
HOEST] = 000000
;SCOPE SYNC
;TEST THE BISB
;CORRECT RESULT
;;BR IF YES

fR2 },R3

5~~~BTM~LlO~R~~T~HE WRONG RESULT

fDBTA+11R~
MBUFO+ , 3
R7.)

(R5),(R3)

;.********************************************-*****-************
,'TEST 514

JMP MODE 1 TEST, FLlGS

= 1111

SEQ 0207

CQKD!-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7S 14:09

IU i

Iii f
inIH ~
j

112 4

IBi~

iH 7
112 ~

IB§~

iH1~

11294
11295
1296
1297
1129B
11299
11300

1

IH8~

11303
11304

H~8g

11307
130S
1309

I
1i315

P10

idH
1313
314
11316

HH1

040712
040714
040716
040720
040722

g:8H~

040730
040732

g4gH~

040740
040744
040750
040752
040754
040756
040760
040762
040764
040766
040710

000112
104006
000405
103003
002002

2$:
3$:

HB~

un~

HUi

11337
113~~
IH40
11341

r3~~
B44

1345

p34~
134

1134B

IB~8

Ili~t
i

54
355

11365

HU~

104006

000004
012700

8lHH
000257

37

iH 5
H~7
1138

(R2)

;TEST THE JMP - GO TO 4$
iJMP FAILED TO LOAD PC
iiGO CALL SCOPE

UT575

5$:

~:RROR

6

CSR IF JMP CLEARED HZ"
S;OR IF "N" STILL SET
iJMP ALTERED CODES - CLEARED ONE

2$:
3$ :

JMP

(R2)

ERROR
BR
BCS
BVS
BEQ
BPL
ERROR

6

TST575

!R~

U ~:~

gtHU~g :~::

000575
040752
040760

000112
104006
000405
103403
102402

4$:

~8b~gl

104006

5$:

1ST576
5~

hT576
6

;TEST THE JMP - GO TO 4$
iJMP FAILED TO LOAD PC
;;GO CALL SCOPE

ZB~ I~ ~~~ I~'

=5=

!BR IF JMP SET HZ"
S;BR IF "N" STILL CLEAR
;JMP ALTERED CODES - SET ONE

.. ********************************-******************************

040712

041012
041014
04101fi

041020
041022
0418~46
041
041030

000004
7 00

g~nH

041020

000122
104006
000411

041040

~'TEST ~76
JMP MODE 2 TEST' FLAGS: 1111
~.*****~**********************i'*********;***********************
Th576:
SCOPE
;CALL THE SCOPE LOOP UTILITY
~8~
Kl7$2,~~R2R~
Sl~~aDR~OW~~AHTI~¥TI~~~R~~TION WORD
MOV
i4 K
IR2 CONTAINS JUMP ADDRESS
SCC
;SET N:C = 1111
2$:
JMP
(R2)+
;TEST THE JMP - GO TO 4$
3$:
ERROR
6
;JMP FAILED TO LOAD PC
aR
TST577
;;GO TO SCOPE EXIT

MACYU 30A(l052) 15-NOV-78 15:26 PAGE 210
T576
JMP MODE 2 TEST; FLAGS = 1111

103003
102002

4$:

104006

5$:
6$:

~8b~81

gU8H 86U8r

041022

104006

7$:

BCC
BYC
BNE
BMI
ERROR
CMP
BEQ
ERROR

Ii
6

f~fH1R2
6

;BR IF JMP CLEARED "C"
IBR IF JMP CLEARED "V"
IF JMP CLEARED "Z"
$B~ IF "N" STILL
SET
;JMP ALTERED CODES - CLEARED
;OID R2 GET AUTO-INCREMENTED?
nBR IF YES
IJMP FAILED TO UPDATE REGISTER (R2)

•• ***************************************************************

041042
841042
044
0441 050
041054
041060
041062
041064
041066
041070
41072
041100

~~1!~1*~11******~~~*~~~!*~*I~~I,*t~~~~*;*2222********************

000004

H8
o81 270!°

000257
000122
104006
000405
103403

HT571:
000577

g~18~a

2$:
3$:
4$:
5$:

104006

SCOPE
MOV
MOV
MOV
CCC
JMP
ERROR
SR
BCS
BVS
aEQ
OPL
ERROR

;CALL THE SCOPE LOOP UTILITY

,577, RO

t~~fi~1

(R2 )+
6
TST600

IIT600
6

Il&~aDRrOV'~~HTI~¥TI=g~~~~TION WORD

,R2 CONTAINS JUMP ADDRESS
;MAKE N:C = 0000
;TEST THE JMP - GO TO 4$
;JMP FAILED TO LOAD PC
I;GO TO SCOPE EXIT
'BR IF JMP SET tIC"
!OR IF JMP SET "V"
~BR IF JMP SET "Z"
;;BR IF "N" IS CLEAR
;JMP ALTERED CODES - SET

;,***************************************************************

041102
041 02

8n 1~3
36
P1370
136 S 041p4
041 20

p7~
1
113~4

6

18A~81

02
In~ 8H8~~ 10b8!108i

1m
d~i
1H~

JMP
ERROR
BR
BCC
BVC
BNE
aMI

4$:

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14: ()9
11329

SEQ 0208

8~8~H 000004
8:8n~ 8B~8! 8~8~H
8~8U3 8~a~~7 040720

8~0~H °B
inl~
g:188~ 000277
81218~
113~0 041010
11321

11324
11325
11326

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 209
T574
JMP MODF. 1 TEST, FLAGS = 1111
'

041122

8HH~

H'll ot
Hn

g4HU
136
041140

,.t~~1*~22******~~~*I~~I*~~~~*~j*t~l~i*~*llll********************
000004

81H8~
8A~H~
000132
004006
00414
1038°t
A8f08
10040
104006

h600:

8~~~gg

041154
2$:
3$:
4$ :

SCOPE
MOV
MOV
MOV
SCC
JMP
ERROR
BR
BCC
BVC
BNE
BtH

5$:

ERROR

, 6OO ,RO
~2$~R1
$, 2
@(R2)+

ICALL THE SCOPE LOOP UTILITY

!l&~ADRrOwf~AHTt~~TI=g~Rij~TION WORD
;R2 CONTAINS ADDRESS OF JUMP ADDRESS
;SET N:C = 1111
;TEST THE JMP - GO TO 4$

1ST601

6

st~~ ~AI~~8pIOEi2~D PC

II

JBR
;BR
JBR
;BR

6

IF JMP CLEARED "C"
IF JMP CLEARED "V"
IF JMP CLEARED "Z"
IF "N" STILL SET
iJ~P ALTERED CODES - CLEAR

SEQ 0209

CQKDI-C KD11-K BISIC LOGIC TESTS
CQKDIC.Pll
07-NOV-78 14:09

ll

~§i
~85

§8~

041142
041146
041150

022702
001404
104006

lJi!
t

~41152

000402

1:8~d
1 484

0

MACYll
T600

041160

°nu~

841166
04 172
04 176
041200

000004
012700
000257
000132

2$ :
3$:

A8a~f8

41 14
041216
041220

ilii
l4~5

#601,RO
MOV@#2$'S,l2R1
MOV
,6 ~
CCC
JMP
S(R2).
ERROR
6
SR
T5T602

5$:

104006
000402

6$:

BVS
SEQ
8PL
ERROR
BR
UROR

$~tbkDT~~ ~i~~ET~g~PNg~~~~TY

'(01DRlWITHTESTINSTRUCTIONWORD
;R2 CONTAINS ADDRESS UF JUMP ADDRESS
,HAKE N:C = 0000
iTEST THE JMP - GO TO 4$
;JMP FAILED TO LOAD THE PC
;;GO TO SCOPE EXIT

l~~ I~ ~:~ I~~

:6=

IIT602

SSR IF JMP SET HZ"
"BR IF "N" STILL CLEAR

6

T5T602

$~~b ~&T~~5~EC~~~~ - SET

6

1~~~PMAg~Rlslxl~o'iD LIKE MODE 1 OR 2

;.***************************************************************

;~rEST 60l

t§;;~i;**

041226

8~1~~~ A83~f~
8~1~~2

04t~60

lUi! mm
1443

621 ****************
JMP TEST M2~E 3, FLAGS = 0002
*** ************ ********************

Bes

10b38!

11~4~~6
8~1~~8 gf~~g3
~
041234 013701
l:~~ 8:1~:~ 8A~3~~
ll~~g 041246 000142

jt~~~

;;BR IF YES
}JMP FAILED TO UPDATE REGISTER

15-NOV-78 15:26 PAGE 212
JHP TEST ~ODE 3; FLAGS = 1111
BR
;,GO TO SCOPE EXIT
TST601
;JMP3 CONTAINS JUMP ADDRESS
;ERROR CALL OCCURS IF MODE3 HAPPENS
~~ROR 6
;TO EXECUTE AS HODE 1 OR 2 AND
;4$ IS LEGAL INSTRUCTION

~gVPE

8lH8~

l~l~ g~l~~l ~3!5gg

UU
l~~~

6

f§T:~~~*

U8~ ~n~06
41 19 t8~~8~

l:H
1414
1415

;010 JMP UPDATE R2?

,.****.*********.*******************~***************** ***********

;'tEST

1118~ g~Bgt
14H

SEQ 0210

30A{105~)

7$:

o~ll~~ ~31A~g

1 93
11 94
11n 5

1hd

CMP
BEQ
ERROR

041156

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
113~~

HACYll 30A(1052) 15-NOV-78 15:26 PAGE 211
T600
JMP TEST MODE 3, FLAGS = 1111

00~a8~

A80411

SCOPE

000602
041246
041256
2$ :
3$:
5$:

4$:

JHP TEST MODE 4, FLAGS

= 1111 ********************

********************* ***********

;CALL THE SCOPE LOOP UTILITY

=g~

MOV
SCC
JMP

t6~~,~~
-(R2)

,[R2l = JMP ADDRESS PLUS 2
;HAKE N:C = 1111
;TEST THE JMP - GO TO 5$ MINUS

~~ROR

~ST603

Sj~& ~~I~~gpioEk~~D PC

~~ROR
SR

BCC

~:~
BMI

i~$,fi2

:$

TST603
6~1

7

!l~~~DRrOw~IAHTi~~TI~g~Rij~TION WORD

~~2pT~iILt~A¥~ iU~a!DlgAi~~N~CR9K

;,GO TO SCOPE EXIT

RR I~ JMP CLEARED "C"
8ft IF 1=~
BR IF "N" STILL SET

HUng ::1::

SEQ 0211

CQKD1-C KDI1-K BASIC LOGIC TESTS
CQKDIC.Pll
07-NOV-78 14:09

11::14

041272
041274
041300
041302

104006
022702
001401
104006

lU~
ll~~s g~1~8~

000004

1144
114~41

H5

041254

MACYll 301(1052) 15-NOV-78 15:26 PIGE 213
T602
JMP TEST MODE 4, FLAGS = 1111
7$:
ERROR
;JMP ALTERED FLAGS
6
;DID JMP UPDATE R2 PROPERLY?
6$:
CMP
nt6~~R2
;;BR IF YES
SEQ
;JMP FAILED TO UPDATE REGISTER
ERROR
6
9S:

SEQ 0212

1145

iii~.1 0413~2
8iij~l 8i~~8i
00025~ 8~i~~)

}145

ll~g

146
146

lag
t111~~

l

146
1147}
1147

HH

1474
147 5
1
1147

HH
1147

1148
1148
1148
1148

UU

1148
1148
1148
1148
1149
1149

lUiu§

149
149
1
1149

041324
041326
041330
041332

000142
104006
000405
103403

3$:

ERROR
BR

4$:

Bes

041342

104006

5$:

8al~j6
1bog~404°821
041340
0

~H8

UUI
nn
lHl
h5~

Ilf~1

h~~t
ltiU
i1 ill
~3

tun

041t44
041 44
041 46
041352
041356
041362
041364
041366
041370
041372

000004
012700
013701
012702
000277
000152
104006
000414

041400
041402
041404
041410
041412
041414

001001
100401
104006
022702
001404
104006
000402

8UH~

HT604:
000604
041364
041420
2$:
3$:
4$:

i8~88~

041416

7$:

604 ,RO
#2$ Rl

JMP~,R2

@-(R2 )
6
T3T605

U
6
,JMP5-2,R2
ST605
6

TST605

;~tb~DT~5 ~i~~ET~~¥PNH~~~~TY
~i01D Hl WITH TEST INSTRUCTION WORD

;J~P CONTAINS ADDR+2 OF JUMP ADDRESS

iTEST THE JMP - GO TO 4$
iJMP FAILED TO LOAD PC
,;GO TO SCOPE OXIT
iaR IF JMP CLEARED "C"

iJMP ALTERED CODES - CLE1RED
iDID R2 GET AUTO-DECREMENTED
;;BR IF YES
iJMP F AILED TO UPDATE REGISTER
; iGO TO SCOPE EXIT

103403
102402

041460
041462
041464
041466

A8~~8~
041450
104006

JMP51:

041430
041434
041440
041442

000004
012700
01370~
01270
00025
000152

000605
041442
041466

8tUa~ A8a~~g

8~U7g

0414 42
041476

000004

8n~8~

8lH8°
8Aa3~~

g~~g~8

041510

000162

177164

8U~U A83~8~

104006

10A40l

8n~1~ A83~8i

1

=ti=

Y8ba8\

041534

1t

1554
155 5

~R

BCC
BVC
BNE
BMI
t:RROR
CMP
BEQ
ERROR
BR

1

8~U~~
8~U~~

saUB
041424

!8~88~

1ls5j
~~f

5$:
6$:

~gePE

MOV
HOV
SCC
JMP
ERROR

M1CY11 30A(1052) 15-NOY-78 15:26 PAGE 214
T604
JMP TEST MODE 5; FLAGS = 1111
,THIS LOCATION CONTAINS JMP ADDRESS
6
JMP5:
iJMP EXECUTED LIKE A MUDE 1 OR 2
;"***************************************************************
;'TEST 60S
JMP TEST MODE 5" FLAG = ooon
!;*****************************,*********************************
TST605:
~8ePE
?~f&~DTU~ ~i~kET~gfPNH~J~~TY
60S ,RO
MOV
#25 Rl
S(OAD Rl WITH TEST INSTRUCTION WORD
MOV
JMP~1,R2
;CR2] = IOCR +2 OF JUMP ADDRESS
CCC
;SET N:C = 0000
@-(R2)
2$:
JMP
iTEST THE JMP - GO TO 4$
3$:
ERROR
6
;JMP FAILED TO LOAD PC
BR
1ST606
,;GO TO SCOPE EXIT
4$:
BCS
5~
BVS
IG~ I~ ~=~ ~I'
BEQ
1'~RI~FJnC"S~'I~f"CLEAR
BPL
hT606
5$:
tRFOR
6
;JHP ALTERED THE CODES - SET
SR
TST606
;;GO TO SCOPE EXIT

iiili nun
f ~48
549

UT604
6

"BR IF JHP SET "C"
!BR IF JMP SET "V"
{BR IF JMP SET HZ"
$;BR IF "N" STILL CLEAR
iJMP ALTERED CODES - SET

•. **.**************************************************aa*.***a_t

IH8
150

hS08
11509
11510

S~~b ~~I~~gpioE~2tD PC

~~t~~I*~21******~~~*I~~I*~~~~*~'*~~~~~*;*111l********************

CQKDA-C KDI1-K BISIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
041416 041372
H~gjO 041420 104006

1150

RVS
BEQ
9PL
f:RROR

6
TST604

041534

~AROR

6

IjU~SE~gg~,~gNLi~ITtI~~D~U~PoAD~RESS

; ,;~;;*:o~* *****;;;*; ~;; *;~~ ~ *6~*: *;~;*=*il*:**** **** **** ** ***** **
;,*****************************,**~******* .1********************
TST606:
~fi~PE
~Cf&~DTU~ S¥¥~ET~g¥PN3~~~~TY
606 ,RO
MOV
#2$ Rl
,lOAD Rl WITH TEST INSTRUCTION WORD
MOV
7s,fi2 JCR2]
BASE lDDRESS TO BE INDEXED
SCC
,MIKE N:C = 1111
JMP
4$-7S(R2)
2$ :
;TEST THE JMP - GO TO 4$
ERROR
3$:
6
iJMP FAILED TO L01D THE PC
TST607
BR
;;GO TO SCOPE EXIT
4S:
BCC
;BR IF JMP CLEARED "C"
S~
BVC
BNE
BMI
,;eR IF "N" STILL SET
5$:
ERROR
6
iJMP ALTERED CODES - CLEARED
SR
TST607
;;GO TO SCOPE EXIT
ERROR
7$:
6
S~~rL~~E¥gTf2D~IKfR~JMODF. 1 OR 2 OR

f

i~T607

;i**************************************************** ***********

SEQ 0213

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
01-NOV-78 14:09

nun 8n~u

000601
041556
041602

041556

177764

8tH~~ 8H~~~

000162

821~~~ o8~~8~

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 215
T601
JMP TEST MODE 61 FLAGS
0000
,.TESI 6~7
JMP TEST MO~E
FLAG~ : ~OO~
f§;:~1;* **** •• *********.** *** ***.* *** ** ********************

=
6l

~8ePE

MOV
MOV

ecc
2$:
3$:

8U~~g i8~~8~
Y8b~8~

4$:

041576 104006
041600 .000401
041602 104006

5$:

8tHH

j601,RO'
#2$$,l2R1 ,.[R2]
7 R

JMP
RRROR
BR
BCS
BVS
SEQ
BPL
ERROR
BR
:::RROR

4$-7$(R2)
6
TST610

JMP
ERROR
SR
ERROR
BR

@R$-5$(R2)
6
T5T611
1ST611

ACC
Bve

71
7

UT610
6

TST610

6

SEQ 0214

!~t&~O TU~ ~C~~ET~O~P Ng~npY

,(OAO Rl WIIH TES' INSTRUCTION WORD
BASE ADDRESS FOR JUMP
,MAKE N:C = 0000
;TEST THE JMP - GO TO 4$
,JMP FAILED TO LOAD PC
;;GO TO SCOPE EXIT
,BR IF JMP SET "C"
;BR IF JMP SET "V"

!7~RI{FJ~&"S~iI~f"CLEAR

;JMP ALTERED CODES
;;GO TO SCOPE EXIT
,JMP EXECUTED LIKE A MODE 1 OR 2, OR
;FAILED TO INDEX [R2l

000610
041624
041634
000020

041634
041636
041640
041642

104006
000410
103003
0°2002

2$:
3$:
5$:
4$:

8~IU~ 18o~81

ij=y

H~B

7$:

041654
041656

8$%

041640
104006

r '881tl'" 81H8°

illil

041660

ggt

000004

~1g

o00025
270;

041700
041704
041706
041710
041712

tun

1629

041r4

r'iUU1

04 724
04 726
041730
041732

000172
104006
000412
104006
000410
103403
002402
01401
100004
104006
000402
041714
104006

841734
41H4

000004

ll~ ~

166

~8
Hn~ 8~1
041722
16 3
16 ~
U36

nr~

lul~

1

o~~~bb

841710
000020

IU~ 82h4~ 81H8~ 8~~~U
8'17~8 8 8~~7 001010

'10605
HUg o01U~~
1762 8 5~g~

116s!
653

r~U~
tih
r~~~
~5g

iu~

041764
041766
04
g~ 11'0
7H

004412
104006
00 726

04~ 776

8f6Za~

U~8~~
04 8 6

6
8~1~8~

&8°504
1 ~63i

t

:&:

T611

r~~ I~ j~~ gt~IU~g
iSR IF JHP CLEARED HZ"
i,RR IF "N" STILL SET

iJMP ALTERED CODES - CLEAR~D
;,GO TO SCOPE EXIT
;THIS LOCATICN CONTAINS JMP ADDRESS
iJMP EXF-CUTED LIKE MODE 6
i;******************·*****·*·****·******************** ***********

8~U~~b8~~8~

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P 11
07-NOV-78 14:09
f614
15

6

,TEST THE JMP - GO TO 4$
;JMP FAILED TO LOAD PC
;;GO TO SCOPE EXIT
iJMP FAILED TO INDEX OR ACTED LIKE MODE 1 OR 2
i;GO TO SCOPE EXIT

041770

~;RROR

[lR

6

T5T611

4$
ERROR

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 216
JMP TEST MODE 7; FLAGS = 0000
T611
;*T~ST 611
JMP TEST MO~E 7· FLAGS: 0000
fl* *********************** ***,*********************************
T611:
;CALL THE SCOPE LOOP UTILITY
~8~PE
··LOAD RO W+TH IE¥T DUM8ER
~(OAD Rl WI H TES I STRUCTION WORD
"'OV
M$,~~1 HR2]
ASE ADDRESS
MOV
CCC
;MAH N:C = 0000
;TEST THE JMP - GO TO 4$
JMP
(a8$-5$(R2)
2$:
,JMP FAILED TO LOAD PC
ERROR
3$:
6
;,GO TO SCOPE EXIT
SR
T5T612
;JMP FAILED TO INDEX
ERROR
6
'5$:
;,GO TO SCOPE EXIT
lIR
TST612
,BR IF JHP SET "e"
BCS
4$:
!WS
JBR IF JMP SET "V"
;SR IF JMP SET HZ"
SEQ
;,BR IF "N" STILL CLEAR
UT612
BPL
iJMP ALTERED CODES - SET
7$:
ERROR
6
,;GO TO SCOPE EXIT
BR
TST612
;THIS LOCATION CONTAINS JUMP ADDRESS
4$
8$:
;JMP EXECUTED LIKE A MODE 6
ERROR
;.******************.*************.** •• ***************-**********
"TESt ~ll
JSR MODE 1 1~~1 - ~OAD P~ , P~SH ~P
~§*** *
*************** *
*** ***** ** *** *** *************
1612:
;CALL THE SCOPE LOOP UTILITY
SCOPE
··LOAD RO WITH TEST NUMBER
MOV
61
i,RO
,(DAD R~ WITH TEST INSTRUCTION WORD
"'OV
~; ~Rl
MOV
s~~~EE~R5RsrOOp ADOR ss
MOV
k~,~¥$LPERR
;RESTORE SP FOR ERR
LOOPING
MOV
1$:
~OV
,DEST AOOP = 4$
1t4!,R2
CCC
;SCOPE SYNC
R4,(R2)
;TEST THE JSR - GO TO 4$
JSR
2$:
FoRROR
;JSR FAILED TO LOAD THE PC
3$:
6
·POP THE SP
4$:
1ST
¥~P~5
CMP
'DIB JSR P~SH THE SP ?
AEQ
;;8 IF YE
Sf613
;RESTORE ERROR SP
TST
s~SB
HR3]: WAS SP
... OV
MOV
R5~R4
-(
4)
TST
HR4l=
SP
;JSR FAI ED TO PUSH THE SP
ERROR
3
5$:

rU,RO

1

oft

SlB

SEQ 0215

CQKDA-C Koll-K BASIC LOGIC TESTS
CQKoAC.Pll
01-NOY-18 14:09
1166,8 042010 010506
11669
11670

lun

11674
67 5
676
677
11678

11

1

IH~6

11681

HU1

11684
11685
11686
1687
1688
11689
11690
1169l
11692

1

11693

11694

116 CJ 5
11696
11697
11.698
11699

8~~8B

042014

0420~0

8~,8~~

000004
01H OO

Sh9n

042044
042050
042052
042054
042056
042062
042064
042066
042072
042074
042076

010506
012702
005066
012704
000257
004412
104006
022726
001401
104005
022704
001401
104005
010506

042100
042100

000004

8H8H
042040

MACY11 30A(1052) 15-NOY-18 15:26 PAGE 211
JSR MODE 1 TEST - LOAD PC I PUSH SP
T612

000613
042052
001010

~H~1~

125252

125252

IH8l 81H8g glH8~
042112 032737
8Sba8b
1171 g 8HHg 010605
11707
170
170

1111~
1171
1171
1171
11115
HH~

1171
1171!
1112
1172

IH~

8~~B6

04~132

010737
010506

8~2Ha gbg~g~
042142
042144
042146

8~n~~

=8:

8~gYH
010000
001010
042146

004412
104006
100403
001402
102401

_iTRST 613
JSR MODE 1 TEST - CHECK RN lND OLD PC
;1***********************-***************************************
T:;T613:
SCOPE
;CALL THE SCOPB LOOP UTILITY
MOV
f613,RO
;/LOAD RO VITH TEST NUMBER
MOY
S62ft~Rl
;SOAo RA VI~H TEST INSTRUCTION WORD
=8~
PRCS:@#$LPERR
~st¥EF.iR~RSLOOP ADDRESS
l$:MOV
SP
;RESTORE SP FOR ERROR LOOPING
~~~
!~~§~~
s¥~¥i ~¥~~K=L~e TO GET [R4J
MOV
#1~5252,R4
;INIT RN = 125252
CCC
;SCOPE SYNC
R4,(R2)
JSR
;TEST THE JSR - GO TO 4$
2$:
ERROR
3$:
6
;JSR FAILED TO LOAD THE PC
CMP
;010 JSR SAVE REG ON STACK
4$:
U25252, (SP)+
BEQ
;SR IF IT DID
5$:
J::RROR
5
;JSR FAILED TO SAVE REG ON STACK
CMP
8$:
;010 OLD PC GET SAVED?
S,R4
BEQ
;SR IF YES
ERROR
7$:
5
;JSR FAILED Te SAVE TH OLD PC
R5,SP
6$:
MOV
;RESTORE SP IN CASE ERROR SCREWF.D IT UP
;-***************************************************************
-'TEST 614
JSR MODE 1 TEST - N:C = oono
'f- 1 ****************************************I**********************
:;T614:
SCOPE
;CALL THE SCOPE LOOP UTILITY
fa~~~~?
il~~ADRrOW~~~HT~~~TI~g~~ijgTION WORD
.SBTTL USER CONTROLL~o BREAKPOINT -- BIT12
BIT
#SITI2,@jSPTLOC ;BREAKPOINT HALT SET 11
BEQ
.+4
;BR IF NOT
HALT
;BREAK-DEPRESS COMTINUE TO CONTINUE
MOY
SP R5
;SAVE THE SP
MOV
PC~~'$LPERR
;SET ERROR LOOP ADDRESS
1$:
~3:
:~~~R2
;~~~fO~5D~P=F~~ ERROR LOOPING
CCC
;N:C = 0000
JSR
R4,(R2)
2$:
;TEST THE JSR - GO TO 4$
3$:
ERROR
6
;JSR FAILED TO LOAD 'HE PC
4$:
;N:C = 0000 ?
BMI
555~

U

042054

11'100

170~
1 170
1170
11704

063234

n~

~

MACY1l 30A(1052} 15-NOV-78
USER COMTROLLED RRF.AKPOINT
BCC
6$
ERROR
5
5$:

15:26 PAGE 218
BIT12

SEQ 0217

;JSR FAILED - ALTERED FLAGS

tJl*****~~!*****~~'~~***********l~i~~I*~~*I~*~~~i*~t*~~~21*******

000615
042212
001010
042216

;*TEST 615
JSR MODE 1 TRST - N:C = 1111
1,***********************1**************** **********************
TST615:
SCOPF.
MOV
MOY
WOPD
MOV
MOV
MOV
IS:

~g~

R4,(R2)
JSR
;TEST THE JSR - GO TO 4$
ERROR
;JSR FAILED TO LOAD THE PC
6
BPL
;N:C = 1111 1
BNF.
BYC
RCS
ERROR
5$:
5
;JS.R ALTEJ.lED FLAGS
6$:
R5,SP
MOV
;RESET SP IN CASE OF ERROR
;-***************************************************************
2$:
3$:
4$:

U

l!t~~t*~l~******~~!*~~~~*i*li~l**********************************

T:iT6l6:

SCOPE
MOV
=8~

001010
042266

SEQ 0216

;_******~~~*****~~,i~***********'~~~I~~~*~t*l~*£!~~*~t*~~~2~*****

1$:
2$:
3$:
4$:

5$:

MOV
:8:
CCC
JSR
ERROR
TST
CMP
BEQ
TST
HOY
MOY

~~~OR

!6~6,RO

s~ ~~R1

&§=~6$LPERR
#4~,R2
R4,(R2}+
6

~~pa5

Tsf617

s~su
R5~R4

3(

4)

;CALL THE SCOPE LOOP UTILITY
;lLOAo RO WITH TE~T NUMBER
SS~~~ ~~EWi~H TES INSTRUCTION WORD
;SET ERROR Loor ADDRESS
s~f~iTA~gRF~R4~RROR LOOPS
;SCOPE SYNC
;TEST THE JSR - GO TO 4$
;JSR FAILED TO L01D THE PC
;RESET SP
;010 JSR PUSH STACK 1
;;SR IF YES
;RESET SP TO ERROR VALUE
;WAS SP

s§~H ~~ILED

TO PUSH SP

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09
042306

010506

g~U!g

000004

842~t~

82~3~4

8t
04

01~70y

810685
010737

336
042340
042342
0 2344

000257
004432
104006
005726

PAGE 219

SEQ 0218

;RESTORE SP JUST IN CASE
RS,SP
MOV
;.***************************************************************

°4235~

005746
010603

042366
042370
042372

104003
000402
042344
104006
010506

TST617:

8~~H6
001010
042366

1$:
2S:
J$:

4$:

84~j~~ s~~~n

h~~h
04~364

15:26

i~l~it*~lI******~~~*~~~~*l*l~~t**********************************

~3~ 8B~g~

4

MACYll 30A(1052) IS-NOV-7S
T616
JSR MODE 2 TEST

~8UPE

MOY
MOV
MOV

=g~

CCC
JSR
ERROR
TST
CMP

f617
,RO
#2,SLRl
P

R~

R~'I'SLPERR

#7!,R2
R4,@(R2)+

BEQ

8og?~l

5$:

;RESET SP TO ERROR VALUE
;WAS SP

TST
MOV
MOV
TST
ERROR
SR

7$:

i~ROR

6$:

MOV

l~thkDT~~ ~¥~GET~g¥PNH~~~ITY

;(OAO Rl WITH TEST INSTRUCTION WORD
iSAVE THE SP
;SET ERROR LOOP ADDRESS
s~i.~~TA~&RF~RC~~~OR LOOPS
;SCOPE SYNC
;TEST THE JSR - GO TO 4$ VIA 7$
iJSR FAILED TO LOAD THE PC
,RESET SP
$~~R ~~RytMSH STACK?

s%~ ~:ILED

;GO EXIT

R5,SP

;CONTAINS JUMP ADDR
;JSR EXECUTED LIKE A MODE 1 OR 2
;RESTORr. SP JUST IN CASE

~i;i;;*~i~******~;~*~~;~*:*;~;;*********************** ***********

g4~H~

042376
042402
042406
042410

04~414

g4~4H

042424
042426

8HHg

f§;:;~;**********************·**************·********* ***********

g~~~g~

013701
010605
010737
010506

805~g~

000620
042424
001010
042432

004442
104006
000401
104005

lU1~

042456
042456
04~460

000004
81~180

113555.'

04~472

010737

llR
ttai2 g2149~ 01060~
8 8
1859

lli~1

UU

81 ~Z8

04 504
042506
042510

gl018~

oh625'
004452
104006

lU~ 8:~~H

1 8~i
3~7

042516

871

042524

t ~87~~

4
6
li8 9
fI 5

1 1a
7
In~

118~

1J!U
18i~
1n7

8~~~B

U~~28
04~5~2

g~~~l: i~~8a~
042540

nnn
UI~~iO

04 ~~
04.56

010506

#5~,R2

6

iTEST THE JSR - GO TO 4$
;JSR FAtLED TO LOAD TRE PC

~~ROR

~$

~~M~p~~Ie~D-TgoDf~~f~E~t DEST REG

k~~~~$LPERR

R4,-(R2)

i'~~ln,l:wit~HT~I'TIC~'~R~TION
$~~Ir.¥R~~RF5EokRaggR[55ps
iDEST ADDR = 4$+2
;SCOPE SYNC

WORD

*********************************************************

~8~
IS:
2$:
3$:
4S:

8~5l3~

010504
005744
104003
000402

MOY
CCC
JSR
ERROR

=g~

SCOPE

001010
042536

;CALL THE SCOPE LOOP UTILITY

11~li=i

MACYll 30A(1052) IS-NOY-78 15:26 PAGE 220
JSR MODE 4 TEST
T620
;RESET SP
6$:
1ST
iDID JSR PUSH STACK ?
CMP
BEQ
;; BR IF YES
iRESET SP TO ERROR VALUE
TST
nus SP
MOV
MOY
;S/B SP
TST
;JSR FAILED TO PUSH SP
7$:
ERROR
iRESTORE SP JUST IN CASE
R5,SP
MOV
8$:
.• **********************************************.****************
;'TEST ~21
JSR MODF. 5 TEST
f~;:;i;

11 8855,1532

1

IS:
2$:
3$:
4$:
5$:

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
11836 042434 005726
11837 042436 020605
113~8
042440 001406
11846 042442 005746
11841 042444 010603
11842 042446 010504
11843 042450 005744
11a~~ 042452
104003
11846 042454 010506
11849
11850

SCOPE

~~I

li1~~~~

,CALL

TH~

SCOPE LOOP UTILITY

j'~¢~D¥h~wif~HTl~~TI~~~an~TION

MOV

&C~~~$LPERR

CCC
JSR
ERROR

R4,@-(R2)
6

;SCOPE SYNC
iTEST THE JSR - GO TO 4$
iJSR FAILED TO LOAD THE PC

~~P~5

~~~~EJs~PPUSH STACK?

~g~

~~~

BEQ
TST
MOV
MOV
TST
ERROR
BR

#~~,R2

Tsf622

WORD

iS~T ERROR LOOP ADDRESS

~~~~i1A~SRF~R[~~R~R2500PS

"aR IF YES
iRESET SP TO ERROR YALUE
;WAS SP

S3~~ ~lILED

TO PUSH SP
iGO EXIT
;CONTAINS JUMP ADDRESS
;JSR EXECUTED LIKE A MODE 1 OR 2
~&ROR 5
7$:
MOV
R5,SP
;RESTORE SP JUST IN CASE
6$:
•• ***************************************************************
;'TESt
JSR MODE 6 TEST
f§;:;2;* *******************************************************
SCOPE
,CALL THE SCOPE LOOP UTILITY
~8~
ii~i'~~
sl~~tDR~owrJ~HT~~¥TI~~~~ij~TION WORD
PC~@~$LPERR
;~~¥EE~U~RS[OOP ADDRESS
1$:
MOV
~3S.
(,SR~2
SRESE! SP FOR ERROR LOOPS
MOV
w ~
;CR2] = BASE DEST ADDR
5$:

6ll

=83

SEQ 0219

CQKOA-C KOII-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOY-78 14:09
1892 042570 000257
189~
1189
042572 004462 000002
5 042576
104006
11897
11898 042600 005726
11899 042602 020685
042604 0014 6

1

UU6

gH~~6

4261~
1111)° 8042616
42614
1190
1190

iun

042620

dB

8~~n3 8~g~H

H~n

818~g~

11920

11926
11927
11928
11929
11930
1l93~
1193

1
UH4
11935
1193~
HBs
11939
HU~

1942

1

042652
042656
042660
042662
042664
042666
042670
042672
042674
042676
042700
042702
042704
042706

010506
012702
000257
004472
104006

001010
042656
000024

00!)726
020605
001411

11955

042710
042710

11§~g

lin;

119 3

04~730

04 732

A04006
00402

13 92
93

P

Ifnins
n7

h8~'
~g8j

~j~~~2

R4,@7$-3$(R2)

!l&~tDRrOw~~AHT~~fTI~M~~~~TION

;SAVE THE SP
,SET ERROR LOOP ADDRESS

WORD

f~f~~TD~~TF~~D~R~O~$LOOPS

;SCOPE SYNC
;TEST THE JSR - GO TO 4$ VIA 7$

$~~RTk~1~N8EIOFkY.t~DTHE PC

6

iRESET SP
;010 JSR PUSH STACK?
nBP IF YES
iRESET SP TO ERROR VALUE
HilS SP

s3~R ~1ILEO TO PUSH STACK
;SKIP TO EXIT

7$:

~~ROR

5

S5~~T06~~E~U~iK~0~RMODE 1 OR 2

6$:

MOV

R5,SP

;RESTORE SP JUST IN CASE

SCOPE

iCALL THE SCOPE LOOP UTILITY

MlCYll 30A(1052) 15-NOV-78 15:26 PAGE 222
SOB TEST, [Rl = 1, NO 8RANCH
T624
MOV
&624,RO
;l~~~ORrOw~J~HT~~~TI~~~~ij~TIOH III ORO
MOV
MOV
;SET SOB COUNTER = 1
d~~~R.1
BR
;GO DO THE SOB
3$:
ERROR
6
,SOB SHOULDN-T HAVE 8RANCHED HERE
BR
TST625
;;GO TO SCOPE CALL
CCC
iSYNC INSTR.
2$:
SOB
R2,3$
;TEST THE SOB

";;:;*:i;******;~:*;;;;**~;;*:****;;::*:*:*;*:*:***** ***********

~l~~U
~n~r
O~ 752 01~70i

56
04F
04 762
042764
04H66
04 70
4 P72
4 774
042776
043000
04~002
04 004

04300~

H~8~
986
1l9g~

C~~#$LPERR

~i**********************'*******~'*****~*****l*~*****************
T625:

042740

8 8H81

91 7
H99898

TST
CMP
BEQ
TST
MOY
MOY
TST
ERROR
SR

P ~~

;CALL THE SCOPE LOOP UTILITY

~.*****2l***************,*I*****1,****~***~**********************

8~~H~ 8~~U~

HU9
H970
Bin
HH3 8
tU~~
1978

4$:

UT624:

000004

H3~~ 8HH~ 8~~~5~

IlUi
196~

JSR
ERROR

'

Ja~~~~~

i';::;***:******;~:*;;;;***;;*:****:~**:::*:********·* ***********

1.1958
f959
13 60

hg~

SCOPE

:8:
MOV
MOV
:8:
ccc

2$:
3$:

5$:

CQKOA-C KDI1-K BlSIC LOGIC TESTS
CQKOAC.P11
07-NOV-78 14:09
11948 042712 012700 000624
11949 042716 01370.1 042736
000001

lIn}
Ih~4

1$:

gn1~~

010504
005H4
104003
000402
042660
104005
010506

}9~~

1§45
11946
11947

fsT623:

013701

1191

HHj

SEQ 0220

•• ********************************************.******************
('TEST 623
JSR MODE 7 TEST
!;******i********************************************************

1191i
11 91

HHS
IHH
11923

8P~U~

010504
005744
104003
010506

MACYII 30A(1052) 15-109·78 15:26 PlGE 221
T622
JSR MODE 6 TEST
CCC
;SCOPE SYNC
JSR
R4,4$-3$(R2)
2$:
;TEST THE JSR - GO TO 4$
ERROR
3$:
;JSR FlILED TO LOlD THE PC OR INDEX FAILED
6
4$:
TST
(~P~;
s~i~EJsiPpUSR STACK?
CMP
BEQ
¥d623
;;BR IF YES
TST
JUf~E~pSP TO ERROR VALUE
s~S~l
MOV
MOY
R5~R4
TST
j(
4)
5$:
Ii:RROR
;3'~ ~tILEO TO PUSH STACK
MOV
R5,SP
,RESET SP JUST IN CASE

01 705
000405
00474
00240
000240

8~~g~g
Yh~~~

8

8gNg~
000~57

077 04

g8i18j

b04006
00401
104006

SCOPE
MOV
MOV
MOV
MOV
BR
SOBl:
BR
NOP
HOP
SOBS:
INC
BEQ
CCC
SOB2 :
SOB
TST
SEQ
ERROR
BR
SOBERR: ERROR

,625
~sg~ ,Rl
~o

-~~R5
OB -2

S083
R5
SOBERR
~~,SOB5

TST626
6
T5T626
6

~Ct&XDT~~ ~£¥&ET~~¥PNa~~~~TY

;~ET COPY OF TEST INSTRUCTIOl WORD
;SET SOB COUNTER = 5
;SET UP R5 TO COUNT 5 BRANCHES
,GO 00 THE SOB
;USEO BY LAST SOB TEST TO TEST MAX OFFSET
;OFFSET ADJUSTMENT

s~RU't ~~~ ~~AVC~ooPS BY SOB
?¥~~~ET~IN~OB

;Ri SHOULD CONTlIN 0
;; R IF IT DOES
,SOB COUNTER NOT ZERO
;;GO TO SCOPE CALL
;SOB MADE TOO MANY BRANCHES

s';~;;*:*:******;~;*;~;;***~;*:****;~:~;*:**ii*******************

r

043014

8
Slj
o~ 0 ~

8fO~8a

O~

g4~026
032

gb~J~

043034

077202

04~038

unu

Udl~

043046

01!

104006

f~******l***************'*£*****l'*********l*
1******************
T626:
000626
043034
000001
2$:

3$:

SCOPE
MOV
MOV
MOV
SCC
SOB
BCC
Bve

1

R=i

UT627

sU
UI ~ 8
; ;BR IF N = 1

ERROR

6

;SOB ALTERED CODES - CLEARED ONE

626 ,RO

f~a~Rl

R2,2$-2

s~t~XDTU5 ~I¥CET~g¥PNg~A~~TY

,(OAO Rl WITH TEST INSTRUCTION WORD
,SET SOB COUNTER = 1
;MAKE N:C = 1111
;TEST THE SOB
;BR I i C
0

=

SEQ 0221

KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

CQ~DA-C

1111

8Ug~g 000004

U!
Uf

gU8H 18~~8~
8Hna f8bt81

III ~ji~jl ilj~~l 8~~8~~
8j~

Ijj
I gJ}
0~4

I

g~5

043070

043102

04~

t U~

I

104006

3$:

18
UI
8~ 1l1~24 8Ii~8~

t sU

I g~!
1 05l

l~~il

2059
12058

lU 8 ~~~~

01
043124
043p6

077201
103003

043136

100401
104006

T:sT630:

8~g~~~

87~

gnug

082

I 8K~

!

I 893
83~
83~

094
095

8t~780

6

;508 ALTERED CODES - SeT OWE

~BePE

3$:

043152
043156
043160

000257
077277

8UU~

18~~8~

043166
043170

01270~ 8~~A8g

043172
043174
043174

1#2,S~Rl

630 ,RO
5 Rl

l~th~DT~~ ~c~~ET~~~PN3~1~ITY

R2,2$

;LOAD Rl WI+H TEST INSTRUCTION WORD
;SET SOB COUNTER = 5
;MAKE N:C = 1111
;TEST THE SOB

31
3
3
T T631
6

;BR IF C = 0
iBR IF V = 0
iBR IF Z = 0
;iBR IF N = 1
;SOB ALTERED CODES - CLEARED ONE

gi 2700

043232
043234
043236
043240
043242

012746
000257
000203
104005
000415
100403

043252
043254
043256
043260
043262
043264

104005
020403
001401
104002
020506
001404

ol~~U

sInn

001010
177777

is,R2

R2,SOB1

i~

T~T632

;CALL THE SCOPE LOOP UTILITY

j6~~Ago~~ ~~T~E§~SjN~¥~3E~ION ~OP.D

;SET SOB COUNTER
iMAKE N:C = 0000
;TEST THE SOB
iBR IF C = 1
;BR If' v = 1
;BR IF 7. = 1
;iBR IF N = 0

=5

;i;;*:i;*** *** ~;;*; ;.;; *~*;;~ *=*~~~~* **** *** *** ****** ** ** *******

1L**************************************************** ***********
T:sT632:
SCOPE
,CALL THE SCOPE LOOP UTILITY
MOV
1632,RO
··LOAD RO WITH TEST NUMBER
MOV
Sp2~~Rl
,(OAD R~ WITH TEST INSTRUCTION WORD
~g¥
P~i@RiLPERR
II~¥EE~R~RS[OOP ADDRESS
1$ :
=g~
85 §p
!~~S~¥0~~DFg~TEl~7~7loop
MOV
#41 R3
5RTS SHOULD LOAD ~C FRUM [R3J
MOV
#-I=-(sp)
;RTS SHOULD LOAD R3 WITH 177777
CCC
;N:C = 0000
RTS
R3
iTEST THE HTS - GO TO 4$
2$:
3$:
ERROR
5
iRTS FAILED TO LOAD THE PC
BR
10$
;GO TO EXIT - SCHOOLS OUT
4$:
li~
i6~
;N:C = 0000 ?
5$:
6$:
1$:
8$:
9$:
10$=

010506

MOV
CCC
SOB
BCS
BVS
BEQ
BPL

.1~~5fi~~Rl

HACYll 30A(1052) 15-NOV-78 15:2fi PAGE 224
T631
SOB TEST, [RJ = 5, FLAGS = 0000
3$:
ERROR
6
;SOB ALTERED CODES - SF.T ONE

!,

000004

8U~8~

043274

SOB3:
S084:

60140t
100001

104006

SCOPE

=g~

000631

~i~ gij~~9 ~!~8gJ
1~1

UT630

ERROR

BCC
RVC
BNE
BMI
ERROR

TST631:

090204

82~1~~

I81~ 8Jj~~8 l~jlgl
~8af

~~e

•• ***************************************************************
;'~ESI ~31
SOB TEST rRJ = 5 fLAGS = 0000
i,i** ******************,********,*******************************

u~n OH~10
Ui n9
~074 04~226
l ~8U

tIj8°~~
.,7

;TEST TI:\E SOB

iU U ~ ~ I
;BR IF Z = 1
;JBR If N = 0

2$:

A8~88~

B8U

UgU

R2,2$-2

HOV
HOV
SCC
SOB

000005

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
118~f

SOB
BCS
BVS

lLlf***~*2******~******1'********'*********1 11******************

84~

1 &l~

2$:

SEQ 0222

~'**;;**;********~;*;~;***~:;*:*;**;~:~;*:**1*********************

8 383~ 813d9.
039 043134
040

077202

HACYll 301(1052} 15-NOV-78 15:26 PAGE 223
SOB TEST, [Rl = 1, FLAGS = 1111
T626

BCC
ERROR
CMP
BEQ
ERROR
CMP
8EQ
MOV
MOV
ERROR
MOV

~

5

R4,R3
8$
2

~~d~3
R5,R4

~P,R3

R5,SP

iRTS ALTERED CODES - CLEARED ONE
;010 R3 GET LOADED FROM STACK?
,BR IF YES
JRTS FAILED TO LOAD REG
,DID RTS POP THE STAC~ POINTER?
; iBR IF YES

;UB

~ ~A§ ~pSP

SRTS fAILED TO POP SP
;FIX THE SP

!i;::*l*:;;******:;;*;:;l**:*;~~*~**l*l*l*l****************************
s.*~* *~~i***********~* ****;i*;*
****************************

J!ii

rll}
Iht~

Th633:

g00004

d~n!
8Is~~i

012704
012746

001010
000340
000340

1$:

~B~PE

1

:8¥

,340=-(SP)

MOV
MOV
MOV
MOV
MOV

633 ,RO
#2S Rl
PSi~R2
P R~
RP5C~"$LPERR

#3~~PR4

~t5ioT~5 ai¥&ET~g~PNH~l~lTY

(OAD Rl WITH TEST INSTRUCTION WORD
DEST=PSW FOR 5$ CALL
SAVE THE SP
SET ERROR LOOP ADDRESS
RESET SP fOR ERROR LOOP
~~=lp;wSs',B8P!W3t~ HTIS POINT

SEQ 0223

MACYll 30A(1052} 15-NOY-78 15:26 PAGE 225
RTT TEST - N:C = 1111
T633
MOV
;NEW PC SIB = 4$
CLR
PSV
S5~~A~
SCC
2$:
Rtf
;TEST THE RTT - GO TO 4$
3$:
ERROR
5
;RTf FAILED TO LOAD THE PC
BR
8$
;GO TO EXIT - SCHOOL·S OUT
4$:
MOV
;SAVE THE PSIII
CMP
s=ASI~S~T=vl~O ?
BEQ

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7S 14:09

1illl

!!!!:! !!!!!! !1~~~1

1~1~1

g~~j~g b83~~~

1~12
t~I~8

g~~~lg

12129

043364
043366
043370

212

1~llr

1113i
12113
12136

1~ljl

043354

013703
020403
001401
104001
020506
001404

010506

12143
12144
12145
12146
12147
q14BI,

043402
043402
043404
043410
043414

000004
01pgO

12151

043430
043434
043440
043444
043452
043454

81HH
000257

1121~g g~1l~8

bg~~y~

043462
043466
043470
043472
043474
043476
043500

013703
020403
001401
104001
020506
001404
010504

12139
12140

BU~

bUg'

HIU

HH~
211~6
1 2;,7
1~15B

2161
12162
12163

l1lg~

12166
12167
12168
12 69
12170
12171

177776,

5S:
6$:

04~4~0

8~322~

7$:
B$:

81g~0~

0105~6

012704
012746

001010
000017
000017
043462
000340

000006

I~Pi
121~S
liU!U Uj~l~
I"l
i ui~l~ n~~n

000004

8:3g~0
U~~la

043542
843544

043554
043556

r
99
00

8}

1

I,

20S

Ut

ill
~u

H~g

lIm

1 ~~~

01 05
010437
000257
006405

0:J~~~ 1gA8~~Z
4 05

iU

84~~~0
~ 56~

043570

~!1

8:3~2g
043624

177776

nuu

4$:
'.i$:

6$:

000410
020504

8$
U~~;,R3
6$

SEQ

;TEST THE RTT - GO TO 4$
iRTT FAILED TO LOAD THE PC
iGO TO EXIT - SCHOOL-S OUT
;SAYE THE PSV
;WAS PSW = 017 ?
iBR IF IT WAS
;RTT FAILED TO LOAD PSW PROPERLY
;DID RTT UPDATE THE SP ?
;;BR IF YES
;[R41 = SIB SP

'"***************************************************************
MARK INSTRUCTIOR TEST - N:C=OOOO
f§;:j;;**********************************************************

;'TEST 635

SCOPE
MOY
MOV
MOY
MOY
MOV
MOY

000635
043542

aij~~~

043556

ecc

2$:
001014
3$:
6$:
001074
5$:
4$:

A
'lri!
8p~0

suua

5

MACYll 30A(1052) 15-NOY-78 15:26 PAG& 226
T634
RfT TEST - N:C = 0000
MOV
~P,R3
7$:
ERROR
S~~PFAI~~g f~ UPDATE SP
R5,SP
B$:
MOV
;FIX THE SP

000436

1 4 0
000421
020627

RTT
ERROR
BR
MOV
CMP
SEQ
ERROR
CMP

MDV

000444
125252

8nu~ 8~U8~
8H~8~
043642 104003
043644
043646

R5,SP

177776
2$:
3$:

8U~H A8~U~
g~n~8 18~3Yl
0~r02
84
04~6

¥~f~~4
R5,R4
jP,R3

;RTT FAILED TO LOAD PSW PROPERLY
,DID RTT UPDATE THE SP ?
;;BR IF YES
;[R4] = SIB SP
;[R3] = IIIAS SP
iRTT FAILED TO UPDATE SP
;FIX THE SP

000634

Fl72

HU
r~3
h~

ERROR
CMP
BEQ
MOY
MOV
ERROR
MOV

8bio~ ~~Hi~

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQI656 005037 177776
12690

l~~U

SEQ 0234

0105~6

8a~H~ 8~~~3~

045500
045502

~50

l

005037

000100

l~~g~

gUZU
010506
005037

000200

f

88818~
177776

000100
000100
0
88818
00010~

000100

177776

r

roo

;';~;;**~:******;~*;:~~:i;;*:~;i;::;i~=*;~;;*~*~~;;'~*;*~;i;~*~i=i eLK

000004
oo
Oir

boU~
12702
8oH1~~

8Mij

~

~.*****~*********************************************************
h654:
000654
046054

~~~glg
8agn~

88818~

1$:

SCOPE
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
CLR

1f654,RO

~~;~~R1
PE~~UL~~RR
in6:ah82

R~'S

CALL THE SCOPE LOOP UTILITY

L~2~DR~Ow~IAHT~~~TI=M~~~~TION WORD

SAVE THE SP
SET ERROR LOOP ADDRESS
R2 POINTS TO LINE CLK CSR
IF INTR OCCURS - GO TO 4~
WITH CPU PRIORITY IT bEY ~ 7
RESET SP FOR ERROk LO PIN
INITIALIZE R4 AS TIMER

SEQ 0235

CQKDA·C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

l~~i
~~~

ll~i~

8~~8~1 8A~~~~

000240

046054

000100

052712

177776

84~g~g ggij~~

i~ll g:~8~a Y3~6Al
046072

042712

000100

1275

04611g

005037

177776

nUl
l~~~

8~gl!~

000004

i~~~

8~~1~~ 8y~g~l 8g818~

l~~~

1~1~t
1276
1276
1276
1276 1

7

UU!
HH

1277
1277
1277

l~~~'

12778
12779

046130
046136
046140
046142
046144
046150
046154
046162
046170
046172

°01°605
0737
012702

g:~Hi 86~~~~

000300

046204
046210
046212
046214

052712
005304
001376
000403

000100

gUH~

I

8U~4~

1~n
1~78

121~o

000100

g~~12~ 81~igy 8~g~3~

unl

77Be
1 78

SEQ 0236

t

000100

1~74

MACY11 30A(1052) 15-IOV·78 15:26 PACE 237
BR PRIORITY ARBITRATION TEST - LEVEL 5 USI~C LINE CLK
T654
;SET CPU PRIORITY TO LEVEL 5
~g~
1240,8'PSW
;SCOPE SYNC
BIS
1tl00,(R2).
2$:
;EM.BLE LIIE CLK INTERRUPTS
DEC
R4
s¥221~ JU~MT~~¥~INGLi~~KS~gu~80t~6vENT
BNE
.-2
100 ,(R2)
~~~OR
~l¥=~ gr~ ~~fLI~T¥GR¥~iREr~Bt~VEL 5
3$:
4$:
BIC
!3~~'O~~FT~f~RCl'~ft~~EIN THE VE~TOR
MOV
CLR
MOV
!~~tE~pbH~RibRITY BACK TO LEVEL 0
CLR

032737

gSa38a

020000

012737

8881g~

81g~ijl

Oa5004

063234

177776
2$:

u;

000100
000100
000102
000102
177776

0462j4
046~ 0

046244

1$:

000100

6S:

BIS
DEC
BNE
BR
BIC
ERROR
BIC
MOV
CLR
MOV
CLR

nOO,(R2)
R4
.-2

;KNABLE INTERRUPTS

s~8~~lNtl~T!LN~R1aTER888~ogHOUr~E~CCUR

6$

;CO TO EXIT - ALL OK

1100,(R2)

sI~~~ g~~Ui~~DI~I¥HE~~3LiT LEVEL 6
;TURN OFF INTR ENABLE
;RESET THE TRAP CATCHER IN THE VECTOR

n~HUHo
@j~SW

$~~~Etp~Pp~¥3~I~~ ~t~~

TO LEVEL 0

12791
12792

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7A 14:09
046250
046250 000004
046252 012700 000656
846256 8J~l8J 046324
02~~g~ oi073' 001010
046270
117564

UUH nnu

046312

8:~H~

046324
04633R

005004
012737
000257
052712

83UU

8888U

000340

177176

000100

8~U~4

8~~n~

000100

046344

000100
00g066
00 066
177776

8~~1~g

046362
046364

8~un
82UH
046402
4640
8
OfUl4
0464 2
8464 0

000004

1127000
8012702
37 1

000657
046470
117546

OB737

800300

8 8°1060S
o~~l

O:U i 88g81~
'RtUU
046450
046454
046456

8=Ug~

046464
046466

o~U~g

n~U mm

88U9t
g88~H

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 238
T656
BR PRIORITY ARBITRATION TEST - LEVEL 7 USING DLll
TST656:
SCOPE
;CALL THE SCOPE LOOP UTILITY
140V
st~~tDR~OW~~AHT~~~TI=~~aij~TION IIORD
MOV
MOV
s~I¥EEi~~RsrCOp ADDRESS
MOV
1$:
MOV
;R2 POINTS TO DL11 XCSR
MOV
;IF INTR OCCURS - GO TO 4S
MOV
(11TH CPU PRIOR~TY AT bEVEL 7
MOV
!INffIA~iz~O~4EA~0~I~gRP
CLR
MOV
,SET CPU PRIORITY TO LEVEL 7
CCC
,SCOPE SYNC
2$:
815
UOO, (R2)
;EIABLE INTERRUPTS
R4
DEC
$g8~~IN3~T!LN~R1~TF.RR8B¥ogHoulME~CCUR
BNE
6$2
BR
)eo TO EXIT - ALL OK
8Hun~DIn¥HE~~8LiT LEVEL 7
U~OR l100,(F2)
BIC
S~~~~TO~~EI¥i~pE~~¥~~ER IN THE VECTOR
MOY
U~~~'U)
CtR
MOV
;RESET SP JUST IN ClSE
CLR
;SET CPU PRIORITY BACK TO LEVEL 0

Hwn

000064

88818~
117776

u~~~

SEQ 0237

CQKDA-C KD11-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll

BUg
R~~

353
54
355

046470
046474

g~~~6g

005037
005103

MACY 11 30A(1052) 15-MOV-78 15:26 PAGE 239
T657
"CLR @IPSW" ALLOWS IMMEDIATE BR-BG-INTR SEQUENCE

177776

2S:
4$ :

gg~9A1

8U~8i f8U8~

3$:

~~ gUH~
~8U~~

~~i

H~~

046506

U~
U

846514

864
2865

11~8~~
R~~

000402

o~~~H o8!g1i~
50 7 8881g~

000100

046530

000004
012700
013701

2879
12880

046550
046554
046560

012702
012703

000660
046676
001010
1'77546
177564

12884

04660?846610
4 66
0466
.~
04662
g466~O

012737

046 40
000200

846536

~HH oU~H

tun

Uu~
U8

t~U9

gU~~~

39897
2899

tUn

12904

glg~g1

gH~H
81g1g~

F

oAso37

oU
6640~

100403

r!jl!ln.! oi
9

&P)
~$

8$
~R2)

R5 SP

U~~~@#100

'~~~~~RIH~HIPLINE CLK TRAPCATCHER

•• ***************************************************************

1~3~~
28 5 82~B~
876

r

;ALLOW INTRS - LCLK SHOULD INTERRUPT
)!~&BEfi '5tCU~N~E'~~lDINSTRUCTION
~DI8A8LE THE LCLK INTR
,01 SOFTWARE FLAg GET SET 11
,SR IF NOT - IT W RKE8 ~K
'&CLK FAILED TO INTR N IME
, 0 EXIT
;DISABLE LCLK INTR
;LINE CLK TIMED OUT

@lPSW
R3

,'TEST 660
"BR6 VS BR4" P¥IORITY ARBITRATIQN TEST
,THIS T~ST VERI~IES THAT AF BO R A "2R4" AND A tER6" REQUEST AR~
;PENDIN WHEN
E CPU PRI RITY IS LOWERED TO ALLOW INTRS. THAT BR6"
J~E~H~~TDI~I~~tNTED FIRST EVEN THOUGH THE "RR4" REQUEST MAY HAVE

128~0

i~~7~

8$:

CLR
COM
CLR
TST
BEQ
ERROR
BR
CLR
ERROR
HOV
HOV
CLR

SEQ 0238

046642
046644
046646
046650
046652
046656
046662
046664
046666
046670
046672

005037
005004

nHB

t!!~****~*********************************************************
T660:
SCOPE
,CALL THE SCOPE LOOP UTILI TV

838~8g 88r8~
00 A64

00034~

06331
063316
000100

00 066
177'776

11S:

8gB~:

000443

12S:

8g~n~ 000100

042712
105712
100403

000200

13$:

g8rH~

000436

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOY-78 14:09
046674 000257
046676 005037 177776
8~~~g~ 88~~n 063312
046710 005012
046712 005737 063312
046716 001402
046720 104006
046722 000425
063316

8UH3 g8iU3

063316

17777~

ooolO~

888dg

000100
000064

HOV
HOV
MOV
HOV
MOV
MOV
MOV
MOV
"40Y
MOV
MOV
1-10V
CLR
CLR
eLR
BIS
TSTB
BMI
DEC
ONE
BR
CLR
BIS
BIC
TSTB
BMI
DEC
SNE
BR

~6601RO

F~~R1

P£i~uLnRR
~3

iXCSR

lia6:IU82
286~@#66
5 S

r~g6~gPSW

r

!MBUFl
OO ,(R3)

~~)

R4
H$

r

R4

OOI
~~~I 1<2 ~
4$
R4
13$
7$

?2

'lLOAD RO WITH TEST NUMBER
; O~D R1 WITH TEST INSTRUCTION WORD
;SA F. THE SP
;SET ERROR LOOP ADDRESS
;R2 POINTS TO LINE CLK.CSR
;R3 POINTS TO DLt1 XCSR
;SET UP THE LCLK VECTOR - GO TO 4$
;SET UP THE DLl1 VECTOR - GO TO 8$
JRESET SP FOR ERROR LOOPING
iLOCK OUT ALL INTRS
~~~tIRT~rI~ INTR FLAG
;INIT TIMER
,ENABLE DLll XHIT INTR
,XMIT READY SET 71
S~~U~~ ~~~ TIMER
$~~ ~kp~WTTt~~~g3T FOR DLll
;INIT THE TIMER AGAIN
;ENABLE LCLK IRTRS
;CLEAR THE LINE CLOCK READY BIT
;LCLK RgADV TO INTR .
;SR IF YES
,COUNT THE TIMER
;SR IF NO TIMEOUT
;GO RSPORT LINE CLK TIMEOUT

MACVll 30A(1052) lS-NOV-78 15:26 PAGE 240
T660
"BR6 VS BR4" PRIORITY ARBITRATION TEST
14$:
eec
;SCOPE SYNC
2$:
CLR
@ffPSW
,ALLOW INTRS - KW SHOULD INTR FIRST
COM
~#M3BUFO
,SET SOFTWARE FLAG IF FETCHED
4$:
gt~
(~2~
;DISABLE BOTH INTERRUPTS
TST
@~M~UFO
;010 SOFTWARE FLAG GET SET ?7
BEQ
6$
;BR IF NOT
;LINE eLK INTR OCCURRgO TOO LATE
ERROR
;GO TO EXIT
BR
;010 OLtl SOFTWARE FLAG SET 11
TST
SEQ
;BR IF NOT
MOV
Sb~~IC~~~~~~u~f~fiI~AII~alIVPOOT
ERROR
;GO TO EXIT TEST
BR
;FLAG THE D~11 INTR
8$:
COM
;DISABLE BOTH INTR EN'BLES
CLR
CLR
;FOR CORRECT DESTINATION TYPOOT
MOV
,DLII SHOULD NOT HAVE INTERRUPTED
ERROR
;GO EXIT TEST
BR
;DISABLE THE INTR ENABLES
5$ :
CLR
CLR
;FOR CORRECT DESTINATION TYPOUT
MOV
ERROR
Jg~1+0T~~y~UT
BR
;DISABLE INTR ENABLES
CLR
7$:
;KWll TIMEOUT
~~~OR
HOV
9$:
~~E~~~ ~n~ ~~O PRIORITY
CLR
;RESTORE LCLK VECTOR
MOV
eLR
. MOV
;RESTORE THE DLll XMIT VECTOR
CLR

*****************************************************************

""""""'~~~~I~~~*!~~If~~I!2!*~!~~~!~~~*~~~I!2~*" ""l"""****

$';;;;*~~*******:;~;:*;::;*~i:~:~**;~;;**************************

047030

8:78~~
04103t
047042

.• *******l***********************~*******************************

8Hqg~
013701
010605

HT661:
000661
047062

~5~PE
MOV
MOV

1~2

66 l,RO
PI
P, ~

;Ct~kDT~~
IloAD

~i~~ET~~¥PN8~~~~TY

PI WITH TEST INSTRUCTION WORD
;SAVE THE SP

SEQ 0239

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09

13§~; gl~8~~ Sl~~J~ 8~;8!g

i~3i~ 8~1g~g 85g~~~
l~~g~
1~968

12~~g

1~~1i

047062
047064
047066
047070

000003
104005
010506
012737

000016

000014

000014

H1CY11 301(1052) 15-NOY-78 15:26 P1GE 241
T661
"BPT" TRAP LINK1GE TEST
MaY
PC(8IiLPERR
s~aTT5R~ORo~og&p.RD~~~~
1$:
MOY
I~~§~ 14 ,
MOY
iRESET T~E SP FOR ERROR LOOPING
CCC
,SCOPE SYNC
BPT
2$:
iTEST THE "8PT" - GO TO 4$
3$:
ERROR
;BPT FAILED TO TRAP
4$:
HOY
iRESET THE SP
HOY
iRESTOR~ THE YECTOR

SEQ 0240

B~~4

12975
12976

l~H~

b979
2980,

19~~
2983
1129M

12985

B~~~

12988

l~~~Z
t 991
992

047076

&lH6B
047104

8H~~~

047144
047146
047152
047156

010046

Hn~

U666 g~H63
B88~

Bgg~

13008

B8n
B8H
13014

13011

13015
13016

OB7g~

g:H~~

~;~i;i
1un 047172
H8080~
t3 j

800~04

047110 , 010605
g:~p~ 8lH81
04'hh 012737
047130 012737

047202
047204
047212

gHn~

047222
047224
047230

81g~H

010506
104005
o~ 0437

goHg~

010637
010506
104005
022737
001404
010637
01050t)
104005
010337
010506

000662
047144

g88~~~

047162
125252
000)40

000004
000336
2$:

°8o

0004
1074
3$:
4$:

000004
000000
001074

5$:
1252S2

000336

6$:

001074
'1$:

0003:16

8$:

MOY
MOV
HOV
MOY
ERROR
"40V
CMP
SEQ
!-40V
MaY
ERROR
CHP
BEQ
MUY
MOV
ERROR
MOV
"IOV

RO,-(SP}
R4 U4

iFORCE REO ZONE TRAP - GO TO 4$

SP~S~$REG5

$~I~iO~~DTS~'F~~C~~~NTlNG
S~5~E~A~tEbo~OE~~B~EC~~ip

R4,@#4
gg,sP

,RESTORE T.O. YECTOR
;rSPJ:O?
;SE IF YES
;SAYE S.D SP FOR PRINTING
;RESET SP FOR ERROR CALL
;SP NOT BEING J1HMED TO 4
;010 PUSH OCCUR IN YELLOw ZONE?
;SR IF NOT
;SAVE BAD SP FOR PRINTING
;RESET SP FOR ERROR CALL
;HOV PUSHED INTO YELLOW ZONE
;RESTORE YECTOR 336
;RESET SP

~5,

~~,~'$REG5
5 '

U25252,@#336
~~~~B$REG5
5

~~~~$336

.. ***********************************************************-***

;'TE5T 663
YELLOW ZONE OVERFLOW TEST - ~OV R -(SPl
Li***********************************************'**** ***********
T:;T663:

047232

C~KDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09
04723;> 000004
000663
047272
047244 010605

8:H13 8H18f

8~H~~ 8B~gt 888~Z~

047256
047264
047270
04'7272

8~H66

047304
047306
047310
047314
047316

8HH~

047326

8~H~g
047i34
047
40
047 42
047344

012737
012706
000257
010046

8182H
010506
104005

8~8gI~

001404
010637
010506
104005
005706
001004
010637

n~~gg

047310
000400

000004

88f8~1
000004
001074

001074

010506

MACYll 30A(1052) lS-NOY-78 15:26 PAGE 242
T663
YELLOW ZONE OVERFLOW TEST - MOY R,-(SP)
SCOP~:
;CALL THE SCOPE LOOP UTILITY
HOY
~i~~~DRrOw~~AHTt~~TIag~~ij~TION WORD
MOY
$~~V~O~~TS TO STACK
M8~
MOY
~5AVE T.O. VECTOR
140V
OVFLw - GO TO 4S
MOV
;SET SP TO CAUSE OYFLW
;SCOPE SYNC
CCC
RO,-(SP)
2$:
MOV
iFORCE STACK OYFLW - GO TO 4$
MOY
~~i~lo~~DTs~'F~~C~~¥NTING
M~:U~REG5
MIIY
R5,§~
"IOV
;RESET SP FOR ERROR CALL
ERROR
5
;STACK OYFLW FAILED TO TRAP
MOV
$~i~T2~~JTG~T ~ij~A~~?
~a~u~}
CMP
REQ
;BR IF YES
6$
;SAVE BAD SF FOR PRINTING
MUV
~~:~g$REGS
HOV
;RESET SP FOR ERROR CALL
5$:
ERROR
5
;MOY FAILED TO PUSH IN YELLOW ZONE
6$:
SP
;[SPJ=O?
TST
,SR IF NOT
BME
8$
iSAVE BAD SP FOR PRINTING
'"'0 V
SP'~J$REGS
MOY
~5,
!~~5E!O~~ ~~~T~~~O~FC~~~LOW ZONE
7$:
ERROR
R5,SP
8$:
!oIOV
;RESET SP

s';i;;*~~:*******i~~~:*~~;i*~;i:;~~;*;i;;*~**~=;**~~*~*;;*;******

8HU~

000004
012700

SCOP~

~g 81~l8~ 8~~~8~

047j50

8H
047

:;T664:
f·i**************l********************.******~*******t.i**l*******
,CALL THE SCOPE LOOP UTILITY

62

gnJ6~

047460
047402
047404
047406
SHUt
047420

013704
012737

000004

8A~~g~ 8~6~8~

020046
000406
010437
oO!0637
OS06
1 4005

~g~

=g~

000004

=81

2$:
000004
001074

4$ :

3$:

CCC
CMP
RR
MOY
HOY

~~~OR

,~~~;~y

St~~~OR~OW~~~HT~~~TI:~~~ij~TION WORD

ftt~R~4

a4fi~~~=

!~~~~ t~ipsCECTOR

;GO TO

RO,-(SP)
6$
R4,~«4
SP,§~$REGS

~5,

4;sl~ ~~A~oS~BM~GINTO

"YELLOW ZONE"
;SCOPE SYNC
iTEST THE CMP - NO TRAP SHOULD OCCUR
;GO Til EXIT TEST
RESTORE TRAP VECTOR
SAYE BAD SP FOR PRINTING
~~~E~A~~~DSbYERFLOW TRAP

SEQ 0241

CQKDA-C KD11-K BASIC LOGIC tESTS
CQKDAC.Pll
07-NOV-78 14:09
~~53:
O~

!10sU

047422
047426

1188~

3080

047430

8:~lj~

041430

010437
010506

000004

812i8~

30B
1~8R~
! g41~~~ 8tg~8~
Oa7450 812~~7

~83~
113g3~

un~
3093

38~~
t~096

usn
Wil
iisl

lblg~
~lg~

13110

BiB
13113

13114
13115
13116
13117

BH~
13120

13121

BB~

IF~4

hI
i
131~7

8:i:~~

06~25~

SEQ

0242

000004

8~~~g~

8~~~~3

000004

000400

047464 030046
047466 000406
047470 . 010437
04~474
010637

g~7~8g

n~5g~

000004

gH~~6
047512
047512

gH~;g

047524
047526
047532
047540
047544
047546
047550
047552
047556
047562
047564
047566
047572

000004

8Hi8°
01060~
013704
012737

gA5~g~

005746
000406
010437
010637
010506
104006
010437
010506

000666
047546
000004
047552
000400

000004
2$:

000004
001074

4$ :
3$:
6$:

000004

TST
BR
MOV
MOV
MOV
ERROR
MOV
MOV

6

;TEST THE TST - NO TRAP SHOULD OCCUR
;GO TO EXIT TEST
;RESTORE TRAP VECTOR
;SAVE BAD SP FOR PRINTING
:~~~E~Aa~~DS~VERrLOW TRAP

~~=~64

S~~~I~RfHIH~pVECTOR

-(SP)
6$

~~=U~REG5
RS,S~

.• *******.*** •• **.* •• *************.*****.**********._****-*******
;'TEST 667
000 ADDRESS ERROR TEST - SUB RA iRB) - iRS) = nOD
;'********.*********************** •• ********.*.*'***~******~***i*

13128

CQKDA-C K011-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7S 14:09
047574
047574 000004
g:n6~ 012700
013701 8~~~~l
010605
8~iH~ 010737 g8b8A~
047614 013704
047646 000004
g1iz~g
0476~0
000001
047634 000257
047636 160012
010437 000004
gl1g:~ 104006
047646 010437 000004
8Hg~~ 8A~ijg~ 000000

8H~H

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 244
T667
000 ADDRESS ERROR TEST - SUB RA,(RB) - (RS) .:: ODD
TST667:
;CALL THE SCOPE LOOP UTILITY
SCOPE
MOV
~lh~~DRrowrl~HT~~~TI=~~a~~TION WORD
MOV
~OV
S~~¥EE~koR LOOP ADDRESS
MOV
(SAVE T.O. VECTOR
MOV
1$:
MOV
ADDR ERROR - GU TO 4f
S~~S~IT~PobBRA5§~~~s OOP
=8~
;SCOPE SYNC
CCC
RO,(R2)
,rORCE ODD ADDR ERROR - GO TO 4$
2$:
SUB
;RESTORE T.O. VECTOR
MOV
~4,@#4
;000 ADDR FAILED to TRAP
ERROR
3$:
,RESTORE T.O. VECTOR
4$ :
MOV
R4'U 4
;RESET SP
MOV
;CLR LOC. 0 JUST IN ClSE
CLR

U6

g~~ng

8HiH

2$:
3$:

047110
047712
047114
047720
047724
047726
047730
047732

105455
104006
010205

8H~g;

047742

047742
047746

105475
104006

000000

8HHg 8Ag151

061220

82rUg

105435
104006
012705

8Aij~g;

000004

063321
047726
20$:
5$ :

21$:
7$:
000004

MOV
CCC
NEGB
ERROR
MOV
MOV
CCC
NEGB
ERROR
MOV
MOV
CCC
NEGB
ERROR
MOV
SR

R2,RS
@(R5)+
6

ftMSUF1+3,R5
(.Ut20$,Rl
@-(RS)

6

:i~~tRl
@O (R5)
6

n~~~{@#4

;CR5] = DEST. ADDR
;SCOPE SYNC
;TEST DM=3 TRAP
;ODA TRAP NOT SPRUNG
;CR5] = DEST. ADDR
,CRl) = TEST INSTR
;SCOPE SYNC
;TEST 014.::5 TRAP
;OOA TRAP .MOT SPRUNG
;CR5) .:: DESt ADDR
;CRt] = TEST INSTR
;SCOPE SYNC
;TEst 014=7 TRAP
;~DA TRAP NOT SPRUNG
)~~ET ~.O. VECTOR
;; GO 'ro SC.OP E EX IT

SEQ 0243

CQKOA-C KOII-K BASIC LOGIC TESTS
CQKOAC.Pl1
07-NOV-78 14:09
047760
047764

062716
000002

MACY11 30A{I052) 15-lor-78 15:26 PAGE 245
T670
TEST FOR ODD lDDR. ERROR TRAP FOR OEST. DEFERRED MODES

000002

&HUg
800084
127 0 000671
047770
g~8gg~ 8i~~g~ 8i~~!~

4$:

8lP8

8~88~~ 00035~

050034

115504

05003~

a~3ogg

05004
05004
050046
050050
050054
050056
050064
050066
050072

2$:
3$:
063321
0500:34
20$:
5$:

013'01
000257
117504
104006
12737
00403

050050

8

061220

8g~Za~

000002

000000

21$:
7$:

KOI1-K BASIC LOGIC TESTS
CQKOAC .Pll
07-NOV-7B 14:09
13243

i~~:4
3 4g
p~u

1~249

ti~1
~ ~~

r
~ 54
55

l

d~sO

IU
132J
3 67
fjiii

i ~~

13271

u~n
3275

HH

rd
3278
79

jHO

3

un
un
nnl
p29
3296

050126

g~81~~

050140
050142
050144
050146
050pO
050 54
050156
050162

8~81H 8A~H3

061220

050174

000000
00088 00
000

050~02

g~l~ai

g~8~68

2$:

21$:
7$:
000004
6$:

050224
050226

9$:
061220

@0(R5),R4

S~R~]T~A~o~~tES~~g~G

;[R1] = TEST INSTR
;SCOPF. SYNC
iTEST 514=7
;ODA TRAP NOT SPRUNG
iRESET T.O. VECTOR
;iGO TO SCOPE EXIT

;CR5] = DEST AOOH
;SCOPE SYNC
;TEST JMP DM=3

as:

104007
012737

~~~n,R1

R2,R5

g~8n8 gB~g~ 000004

oh

@-(R5),R4
6

MOY
CCC
JMP

4$:

gg

jMBUF1+3,R5
8#20$,Rl

~~~¥ijR~E~gR~E~~ ~Hg~¥~s¥RROR CALL

000001
000002

8

05
05 ~108
050 14

6

f2,{SP)

5$:

000175
104006

@(RS)+,R4

4$:

10$:

OOOO()O

;[RS] = SOURCE ADOR.
;SCOPE SYNC
;TEST 514=3
;ODA TRAP NOT SPRUNG
;[RS] = SOURCE ADOR
i[R1] = TEST INSTR
;SCOPE SYNC
;TEST 514=5

MOV
8R
ADO

81Hg~ 8~81H

00025
000155
104006

050156

R2,RS

6

3$ :

0~025~

MOY
CCC
MOYB
ERROR
MOY
M09
CCC
MOVB
ERROR
MOV
MOY
CCC
MOVB

RT!

nU~~U4

@(R5)+

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 246
TEST .·OR ODD AOOR ERROR TRAP FOR JMP OEST DEFERRED MODES
T672

104006

81~~85

;MOV RETURN PC AROUJD ERROR CALL
;RETURN TO NEXT SUB-TEST

~RROR

000004

CQ~OA-C

B~H

12, (SP)

RT!

000004

8~g8H 8~g~~1
050016 113504
050020 , 104006
050022
5

ADD

000004

ERROR
MOY
MOY
CCC
JMP
ERROR
MOV
MOV
CCC
JMP
ERROR
MOV
BR
HALT
fULT
HALT
BIT
BNE
ADD
RTI
MOV
ADO
ERROR
MOY

6
a6~+3,R5

11 O$,Rl

@-(R5)
6

U~~tRI
@O(R5)
6

fnn~@#4

n'

(SP)
,(SP)

U~~~R3
7
f8ERR,@#4

;OOA TRAP NOT SPRUNG 1M ROM LOC 153
i[R5] = OEST ADOR
;[R1] = TEST INSTR
,SCOPE SYNC
;TEST JMP 014=5
;OOA TRAP NOT SPRUNG IN ROM LOC 155
;[RS] = DEST ADDR
S~~~~E=sia~T INSTR
;TEST JMP OM=7
;OOA TRAP NOT SPRUNG
;RESET BUS T.O. VECTOR
;iGO TO SCOPE EXIT
;CATASTOPHIC ERROR - (PC] QUESTIONABLE.
;RESTART PROGRAM - DO NOT CONTINUE.
iTRAP DUE TO ODD PC?
PC AROUND ERROR CALL
,RETURN TO NEXT SUB TEST
ODD PC OFF STACK INTO R3
~~I1 SP
iPC TRAPPED WITH ODD ADDRESS
iRESET T.O. VECTOR

~~~vIkE~~~N

!';~;;*~;*******;~;;*;~:*;;:~~*~;~;*;~:*~~;;*:~;*;********::**~:*

050p4
050 34
050~~6

000004

050 56

012702

~§*******~**************************************~**l'i,~'***~****
T673:

4t gUU~ g~nn
o 605
050~54
g~g

8g8~U
050266
050270
050274

000004

000316

010~06

000 57
005016
010637
010506

2$:
001074

SEQ 0244

SCOPE
MOV
MOV
MOY
HOV
MOV
MOV
CCC
CLR
MOV
MOV

;CALL THE SCOPE LOOP UTILITY
;·LOAD RO WITH TEST NUMBER
~(OAO R~ WITH TEST INSTRUCTION WORD
;GO TO 4 ON OV LIII TRAP
S~~~ER~PTO SET UP SP TO CAUSE TRAP
'3~6, R2
R2,SP
;SET UP SP TO CAUSE OVERFLOW
;SCOPE SYNC
(SP)
;TEST OMI - SHOULD SPRING TRAP
·SAVE BAD SP FOR PRINTING
~~~~'$REG5
}aESET SP

! :tU

rr,RO

SEQ 0245

CQKDA-C KDI1-K BASIC LOGIC TESTS
07-NOV-7S 14:09
CQKDAC.Pll
050276 104006
i~~~~
299 050300 013701 050310
010206
300 050304
050306 000257
~~82 050310 005026
3304
010637 001074
8~83;l
~o~ 0501 0 n~5gg
p30
050332
0503~2
pO
8A
0503
6
000.57
bH~ 0503 0 8H3.
313 050332 005046
i
010637 001074
hH~ 050334 010506
r31~ g~gU~ 1040(16
050344 013701 050354
010206
0~0350
p3~0 050352
000257
050354 005066 000000
324
325 050360 010637 001074
13326 050364 010506
13327 050366 104006
p328
0612.20 000004
050370
050376
050400 011604
000010
g~848i 862704
10506
005046
050410
1~335
336 0~0412 010446
3337 050414 000002

11

1'1'

385
g

p31

~if~

lU~~

B

iiH~

8b5l5i

BH

IBU

IBn
13340

iun

r

344
~34~
34
1334
13348

H~~g

H~iB

8~8~lg

050420

000004
012700

010605
012702
010206
000257

T674:

000674

gg8~~g

000004

000376

CQKDA-C KD1t-K BASIC LOGIC TESTS
CQI737
051156

0511

051154

OS1146
051150
051154

L 4302
010437
104005

000004

If~il 8~II~~ 8Ig~ij~

000004

~~8~

Inu
3520

U;~~d#4

OS1164
051164

TRAP

MACYll 30A(1052) 1S-NOV-78 1S:26 PAGE 250
T677
TEST THAT 2ND PUSH IN TRAP MICROUTINE CAUSES OVFLW TRAP
SCOPE
;CALL THE SCOPE LOOP UTILITY
MOV
~l5~~DRrOW~~~HTt~~TI~~~~ij~TION WORD
MOV
;SAVE BPT VECTOR
=8~
4~sa~Esf~CK OVFLOW
MOV
~OV
~~~TT~p6foI~A3~~ ~~~~I8~D2ND PUSH
MOV
cce
;SCOPE SYNC
BPT
2$:
iTEST THE BPT - SHOULD CAUSE OVERFLOW TRAP
MOV
;SAVE BAD SP FOR PRINTING
~~;~B$REG5
MOV
;RESET SP
3$:
ERROR
5
;BPT FAILED TO TRAP
BR
8$
,GO TO SCOPE EXIT
4$:
MOV
;RESET SP
:~,SP
BR
;GO EXIT - ALL OK
6$:
MOV
;SAVE BAD SP FOR PRINTING
~~~~B$REG5
MOV
;RESET SP
5$:
ERROR
5
;OVFLW TRAP FAILED TO BUMP BFT SERVICE
8$:
MOY
;RESET n:CTORS
U;~h~#4
MOV
T~r700:

000004

(' '506
(702
( ',257

Ji~g~

000004

00700
8hl~~ 81H8° 851146
OSti16 01060~
(

13510
13511
PS12

~~~U$R~~G5
S

; RESET SP
iGO EXIT - ALL OK
;SAVE BAD SP FOR ERROR PRINTOUT
;RESET SP
;OVfLW TRAP FAILED TO BUMP BPT SERVICE
;RESET VJo:CTORS

;,***************************************************************
"TEST 70n
ILLgCAL INSTRUCTInN TEST - JSR RN %R
l'*******************************i***************'***************

05
60
051140
051144

3S05

~~,SP

HT677:

1~2~~ 8~188g 8~~¥g3

t3474
13475

8$

iSAVE BAD SP FOR ERROR PRINTOUT

S~~tE~A~rED TO TRAP
;cc TO SCOPE EXIT

~~1~~!*~Zl******1~~!*!~~!*~~~*~~~~*!~*!~~~*~!~~2~11~~*~~~~~~*21~~W

051000

IJ11i 8~18~~ 81~~81 ggb8ti
J~2~~

~~;U$REGS
5

;'***************************************************************

CQKDA-C KD11-K BASIC LOCIC TESTS
CQKDAC.Pll
07-NOV-7S 14:09

13470
13471

6$:
5$:
B$:

MOV
MOV
ERROR
BR
MOV
BR
MOV
MOV
ERROR
MOV
MOV

000004

SCOPE

l1~~~~~

=81

~i~~ft~LPERR

JI~~EE¥~8~ ~~g~oADDRESS

#j!,R2

!r~S~Is~PJ~2RJij~~~RT5D[k2]

MOV

000004

1.$:

MOV

=g~
ccc
2$:
3$:
4$:

;CALL THE SCOPE LOOP UTILITY

=8~

~l~~ADR~Ow~t~HT~~¥TJ=g~~~~TION WORD

§P,R~

~4$§~#4

iILL~GAL

;SAVE SP

INSTR. TRAP GOES TO 48

JSR

R3,R2

;SCOPE SYNC
iJSR ~ODE 0 FORCES TRAP - GO TC 4$

~~~OR

~4,@#4

S~~~T~~~L~DOTOV~~~~~G TRAP

ng:

~~;~'4

~~~~~~R~pVECTDR

SEQ 0249

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQlDAC.PH
07-NOV-78 14: 09

mii
B~~6
1J~~~

h~~6

13531
p532
3533
p534
3535
13536

l~~~~
3539

8~1l~~ 8B~8~

lIIiu nun

05} 20
05 2;.!4
051226

051~~0
051
4
051236
051242

01~506

01 702
000257
000102
010437
104005
010437
010506

n

8gn~1

88br~

05.1 g6

000004

051234

000004
000004

Ij~H 051
8~1~U
46

I~545
544

3549

ST702:

000702
051306

ggA8A~

8~U1° 8HH~ f~Mb8
05 O~ 0~O50
I~~~~
3552 051304 o 0257
H~s~ 051306 005712
B~~~ 051310 °b 04 g7
B~~~
8~IP~ h3~3~
559 053h 010506

000004

3i:
4 :

13570

Inn
13574
575
576

U

SCOPE
MOY
MOV
MaY
MOV
MOY
MOY
MOV
MOV
CCC
TST
MOV
ERROR
MOY
MOV

n02,RO
~~2~~R1
PC:@ULPERR

Ui6~MJ9N
,SP
(R2)

~4,@#4

~~~~~4

;CALL THE SCOPE LOOP UTILITY

sLb~~DR~OW~~~HTi~iTIag~~ij~TION WORD
S~~¥EE~&OR Leop ADDRESS

,SAVE ORIGINAL T.O. VECTOR POINTER
T.O. TRAP - GO TO 4$

S~~~~iS~pC:g~E~R~OU·LOOP

;SCOPE SYNC
.
iFORCE T.O. TRAP - GO TO 4$
;RESTORE T.O. VECTOR
iTIMEOUT TRAP FAILED
;RESTORF. T.O. VECTOP
iRESET SP

!';~;;*;*i******~;:*~i;*;~;;*;~;;********************************

3~~~

Hg~~

1$:

2$:
000004
000004

~560

1

nSd

1;*****1************************************~*1******************
000004
012700

O~i~gg
60 8U~3~
1
~~~ 85
p548 051 64 013704

1356
64
1r565
566
13567

SEQ 0250

$';~;;**~;******;~;*;i=~~~;*;~:~*;i;;*~*;;;**~*******************

P540
3541

r

HACYll 30A( 1052) 15-NOY-78 15:26 PAGE 251
T701
ILLEGAL INSTRUCTION rEST - JMP \R
MaY
01 ,Ri
Jlh~aDR~owy~~HTI~iTI=g~ftij~TION WORD
MOY
2~~R
MOY
~~~¥EE~~OR LOOP ADDRESS
MOV
PCi!&rpE~R
,SAVE YECTOR POINTER AT LOC. 4
1$:
MaY
MaY
4 ,ON TRAP;RE~~TTgp4~OR ERROR LOOP
MaY
#3!,R2
;IN CASE IT JUMPS TO ADOR IN RN
MOY
;SCOPE SYNC
CCC
2$:
;JMP MOOF. 0 FORCES TRAP - GO TO 4$
JMP
R2
;RESTORE YECTOR POINTER AT LOC. 4
MaY
~4,@#4
3$:
;ILLEGAL INSTR TRAP FAILED
ERROR
4$:
MOY
iRESTORE VECTOR POINTER AT LOC.
~~~~B4
MaY
,RESET SP

8iH~i
051332

05B36
05 40
051344

~~lin
O~ 364

051366

,~******~********************************************************
00~004

01 700
013701

glg~gi

010506
Sf737
o H~6

o 025~

T703:

000703
051370
001010

8n~u

000014

1$:

000006

000002

000014

000004
2$:
010437
005004
06
050
1 400
000414

000004

°l °1

r

03 ,RO
fhR1

E§~~~SLPERR
f8'@f14
~ ,- SP~
$,- SP

HACYll 30A (1052) 15-NOY-7S
"T" BIT TRAP TEST
T703
2$:
TST
~O
3$:
ERROR
5
BR
6$
4$:
BIT
#$20,2(SP)
BNE
6
5$:
ERROR
1
6$:
MOV
U6,@#14
CLR
~~!~p
HUV

000704
051456

o

SCOPE
MOV
MOY
MOV
MOV
MOV
MOV
MOY
MOV
CCC
RTT

3$:
000000
000004
5$:
6$:

SCOPE
MOY
MOY
HOV
MOY
MOV
CLR
CCC
MOY
MOY
CLR
MOY
MOV
ERROR
BR
CMP
REQ
MOV
CLR
MOV
MOY
ERROR
MOV
MOV

;CALL THE SCOPE LOOP UTILITY

!lb~tDR~Ow1~AHT~~~Tlag~ftij~TION WORD

iSAVE SP
;SET ERROR LOOP ADDRESS
"RESET SP FOR ERROR LOOP
Seo
T~ 4$ WHEN "T" TRAP SPRUNG
;S£T T" BIT O~ STACK
;SET UP NEW PC ON STACK
;SCOPE SYNC
iTURN ON "T" BIT - GO TO 2$

15:26

PAGE 252

SF.Q 0251

,SPRING "T" BIT TRAP - GO TO 4$
iNO "T" BIT TRAP OCCURRED
iGO EXIT
i"T" BIT SET I~ OLD PSW?
iBR IF YES
i#T' BIT NOT SAYED ON STACK
,RESTORE "T" BIT TRAP CATCHER
,RESET SP

WORD

#7777 ,-( SP)

u,U

4

~~~~~

3

TST705

gg,sP
~:,@#4

~~~~~

iATTEMPT PUSH INTO PSW - SHOOLD CAOSE
;"RED ZONE" TRAP TO BE SPRUNG
;RESTDRE BUS ERROR VECTOR

~nH ~ ~A~ ~pSP
{¥fii~TNfi¥ES~~UNG

S;GO TO SCOPE EXIT - SCHOOL"S OUT
iWAS IT A RED ZONE ;RAP ?
,BR IF YES
iRESTORE BUS ERROR VECTOR

$n~~==Sw{sBs~P

3

iRESET THE SP
;TRAP SPRUNG BOT NOT RED ZONE

RS,SP
R4,@#4

$~~~Tg~ETU~R~PVF.CTOR

~';~*;*7~;******;*;**;~;~**;;o*;~*:i;~*;;;i*=*i7;57**************

f!l**~************~*l******l************************i*************
:)T705:

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09
13633 051530 000004

lj~~~ g~}~~~

363 6
3
~k3~
13639

1

J~g:4r

t36
2
13643
13644

IU~~

tJ647
13648

ng49

81036005

051556
051562
051564

012706
000257
012746

1~656

13659

lj~~£
1~2~j

012i3~

177777

2S:

000004

8U~U
~51600

3S:

o~Ug~

000000

0516~0

010437
005004

051626
051630
051632

104003
010506
010437

8~ig~~

4S:

000004

818~8i

000004

30A(1052) 15-NOY-78 15:26 PAGE 253
TEST PUSH INTO SR WITH [SP] = 177572
SCOPE
,CALL THE SCOPE LOOP UTILITY
MOY
slh~aDR~OWr~~HTI~iTIIM~B~~TION WORD
MOY
MOV
MOV
~~tll
~ts ERROR VECTOR
MOV
ZONE" TRAP GOES TO 4$
MOV
;MAlCE SP=I77572
CCC'
;SCOPE SYNC
MOV
#-I,-(SP)
~~Al~M~bNkY.S~RI~T~OS~E-S~~g~hD CAUSE

SEQ 0252

lUI

gg~gg~ 000004

177572

051576

H6~f
B~~~ 8~U~~
l~~~~ 051614
ljg~~

g}~i8~ 8g~~g~

051542

g~I~~3

~ACYll

T705

MOV
CLR
MOY
MOV
ERROR
BR
CMP
BEQ
MOY
CLR

~8~

5S:
6$:

ERROR
MOV
MOV

2$:

3S:

U,U4
SP,R3

~5,SP

TST706
l2'SP

U,@,4
SP,R~
~5,S

;RESTORE BUS ~RROR VECTOR
;[P4] = S l B SP
HP3] = WAS SP
;RESET THE SP
s!~~PT~01c~~~U~~IT - SCHOOL'S OUT
iWAS IT A RED ZONE TRAP?
,BR IF YES
iRESTORE BUS ERROR VECTOR

;E~1~==Sw~sBs~P

{RESET THE SP
;TRAP SPRUNG BUT NOT RED ZONE

~~~~~4

S~~~TgkET~~sSkRROR VECTOR

MUV

#200,-(sP)

MOV
CLR
MOV
MOV
ERROR
BR
eMP
8EQ

~:,@#4

;ATTEMPT PUSH INTO SLR - SHOULD CAUSE
;"RED ZONE" TRAP TO 8E SPRUNG
;RESTORE BUS ERROR VECTOR
;[R4] = SIB SP
HP3] = WAS SP

13664

lUg~

13667

051636

13670
13671

051644
051650

t3674

051664

Ij~g~
I~g~j

tIll!
B~~g

Bn~
3683

~U4

368~
113687

13688

8~1~~8

8~1~~i

gfg~83 000706

013701
010605

80 JZi~
~706

::::~~ ~1:~::

051676
051702
051704
051706

051672
000~04

~117H

000004

000200
000004

8~HH

051714
051720

022706
001406

000000

4$:

CQKOA-C KDI1-K BASIC LOGIC TESTS
CQKDAC'.Pll
07-NOV-78 14:09
13689
13690 051722 010437 000004
13691 051726 005004
3692 051730 010603

1j~~l

8~11~~ ~b~68~

11~1~

051736
051740

13695
13696

010506
010437

h77

q70054
hl06
13707
1poe

051744
051744
051

i46

000004

000707
052012
000012
000007
001010
052006

g~ 7~~

05 762
051Z66

1~H6 8~171t

13711

000010

052000
052004
052006

000007

13719

052010
052012

104005
005201

8illgt

000100

13i~~~
1 ij~

052022
052024

010506
012737

051752

001010

(;,)0710
051100

000010

IliB

t3714
13715
q~16

1371~

IJiji

I13727
726

g~~8~g

1jp8

0-.;C004
012700

luli

mm

1m!
1374~
13744

;BR IF YES

=g¥

n

5$:

SCOPE
MOV
MOV
MOV

;CALL THE SCOPE LOOP UTILITY

S§i~~DT~~ ~~TR TEST NUMBER

;SET UP RSVD INSTR. TRAP VECTOR

~5~

052074

000210

2$:

052076

104005

3$:

I::RROH

000~57

001010
052074

;iGO TO SCOPE EXIT - SCHUOL'S OUT
iWAS IT A RED ZONE TRAP ?

MUV
;RESTORE BUS EHROR VECTOR
~t,U4
CLP
;[R4]: SIB SP
MOV
SP,R3
;[R3] = WAS SP
MOV
;RESET THE SP
~5,SP
ERROR
;TRAP SPRUNG BUT NOT RED ZONE
5 s:
6$:
R5,SP
1ol0V
;FIX UP THE SP
MOY
R4,@#4
;RESTORE BUS ERROR YECTOR
•. ***************************************************************
!'TEST 707
RSVD INSTRUCTION TEST - 000007 THRU 000077
{;************************************************** *************
f51707: SCOPE
;CALL THE SCOPE LOOP UTILITY
5$:
~~Ok~RD
~§k~~DT~~ ~~TH TEST NUMBER
MOV
J4t~~#lO
;SET UP RSVD INSTR. TRAP VECTOR
~5~
~ PI
;SET UP FIRST ONE IN GROUP
IS:
~8~
R~;I~SLPERR
iB~~lTL~~PF8~ ~~~OBPLbgFEAND NEW INSTR
MOV
R1,@#2$ ;LOID NEw INSTR
CCC
;SCOPE SYNC'
25:
000007
;TEST THE RSVD INSTR - THIS LOCATION
;GETS CHANGED EACH PASS THROUGH
3$:
r:RROR
5
;RSVD INSTR. IN Rl FAILED TO TRAP
INC
RI
4S:
;GENEHATE NEW RSYD INSTR
CMP
OO ,Rl
;AT END OF THIS GROUP 11
SNE
;BR IF NOT

MOV
MOV
MOY
CCC
000210

8185~~

IjH~

ij~iO

88o~H

6$

S~~~~TN6~ES~~UNG

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 254
T706
TEST PUSH INTO SLR WITH [SP] = 177776

13699

t3 800~3

~~~~~
fST707
#o,SP

1$:

S~~t ~&R~~RE6o~N~D~IE~~OUP

5

NE,RfjgiRSP FOR ERROR LOOP AND NEW INSTR
;SCOPE SYNC
;TEST THE RSVD INSTR - THIS LOCATION
;GETS CHANGED EACH PASS THROUGH
;RSVD INSTR. IN R1 FAILED TO TRAP

SEQ 0253

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

B~:5

1174~

\ 748

t Hg
1 H;
un~
13756

UUi
p76~

8~n8g 8~~,81

000240

8~HI~ 8B~~~

052040

052106

001366

g~~B8 000004
8~ !~i 81*700
05 Ho 012~g~
05213~

005037

p771
3772

05~166

104005
005201

052164

13776

052176
052200

010506
012737

000711
052166
000012

**1111*******
f~l******ll********I********~*I*************~i*****~*
:iT71i:
SCOPE
;CALL THE SCOPE LOOP UTILITY
000010

8818~8

2$:

010000

~NH

052126

3$:
4S:

001010

8~Bg~

05~210
05
2!4

000004
012700
010605

052242
052246
052250

010137
000257
075000

000712
052256
000012

Bn~ 8~ h~ 8A~6H
OP70, 86~g~g
8~3H~
052240 8t 8~g6

IP8~

dna

1379~

iHh
13795
1379~

IH8e

B~gg

000010

052250

8~~~~t ~8~~3g
052256

005201

CQKDA-C KD11-K RASIC LOGIC TESTS
CQKOAC.P11
07-NUV-78 14:09
13801 052260 022701 076600
1380~
052264 001774
1~~83 8~~~'~ 8~l~.g; 077000

lli8~ 8~~~i~ 81~;~~

ln~i
Inn
lUU

13815

I un

U.I~
38h

=8:
MOV

~b~
~g:

MaY

1~IA~RO
J4~~8#10
Rl

4Ao
RC51~2!LPERR
!~~~ ~~R~A RE~O~NfD6~E~~OUP
Rl~~f2$ ;LOAD NE~Rii~~RSP FOR ERROR LOOP AND

CCC
007000
ERROR
INC
CMP
SNE
MOV
HOV

!§k~tDTng ~~TH TEST HUMBER
SSET UP RSVD INSTR. TRAP VECTOR

5

R1

UOOOO ,R1

;g!~~#$LPERR

NEW INSTR
;SCOPE SYNC
;TEST THE RSVD INSTR - THIS LOCATION
iGETS CHANGED EACH PASS THROUGH
iRSVD INSTR. IN Rl FAILED TO TRAP
;GENERATE NEW RSVD INSTR
;AT END OF THIS GROUP ??
;SR IF NOT
;MAKE SURE TO RESET THE SP
iLOOP FROM BEGINNING ON ERROR

i'**************************************************** ***********

b779

13785

5$:
1S:

052162

t
g52H~ 8~ngg
dH~
13775

13780
~781
hni
13784

SEQ 0254

!';~;;*;********;;*;*i:;;;~*;*~:*;~;;*:*~~;~~~*;~:**~~***********

H~ g~~U~ gUUi
I 376
13764 05~154 010137
052160 . 000257
UU~
052162 007000
13768

BH8

001010

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 255
T7IO
RSYD INSTRUCTlON TEST - 000210 THRU 000237
4$'
INC
R~
;GENERATE NEW RSVD INSTR
; AT EN 0 OF THIS GROO??
,
CMP
f$40,Rl
P
BNE
;BR IF NOT
MOV
MaY

052214

"TEST 712
RSVD INSTRUCTION TEST - 075000 THRU 07~77?
l'*************************** ***********************************
nT712:
SCOPE
;CALL THE SCOPE LOOP UTILITY
5$:
~g~
1~1~~RO
!§i~~DT~~ ~~TH TEST NU~BER
~ex
f4~~@'10
;SET UP RSVD INSTR. TRAP VECTOR
MOV
~~OOO/RI
iSET UP FIRST ONE IN GROUP
MOV
C,@#$LPERR
iSET ERROR LOOP ADDRESS
1$:
=g~
~i~~~2$ ;LOAD NE,Ri~~~RSP FOR ERROR LOOP AND HE~ INSTR
CCC
;SCOPE SYNC
2$:
75000
;TEST THE RSVD INSTR - THIS LOCATION
iGETS CHANGED EACH P.ASS THROUGH
NOP
;IN CASE NON TRAPPING INSTR IS TWO WORDS
3$:
ERROR
5
;RSVD INSTR. IN Rl FAILED TO TRAP
4S:
INC
Rl
iGENERATE NEW RSVD INSTR

MACYIl 301(1052) 1S-NOV-78 15:26 PAGE 256
T712
RSVD INSTRUCTION TEST - 075000 THRU 076777
CMP
#MED,R1
;MED INSTRUCTION?
SEQ
4~
iBR IF VES--S~IP IT.
~=~
fS77000,Rl
sft~ ¥~DNg~ THIS GROUP ??
MOV
MOV

001010

!';~;;*;l*i******;;;~*;;;;;~~;l*~;*;~;;*~*l*~~~OO*;~;~*1*~7777*******

1,******
******************** ********** *********** ************
TST113:
S8~PE

000713

8~6~r~

106400
001010
052346

000010

5$ :

1$:

=ov

~e~

MOV
MOV

=8:

CCC

~~!~~RO
iiii@#10
iO~400lR1

;cAh~ TH~ Si~PE ~O~P UTI~ITY

S§~VEDT~E ~P H T S NUMB

;SET UP RSVD INSTR. TRAP VECTOR
;SET UP FIRST ONE IN GROUP
;SET ERROR LOOP ADDRESS
Rl~@#2$ ,LOAD NE,RI~~tRSP FOR ERROR LOOP AND NF.W INSTR
;SCOPE SYNC
R~,~'SL~ERR

SEQ 0255

CQKDA-C KDll-~ BASIC LOGIC TESTS
CQKDAC •. Pll
07-NOV-78 14:09

MACYll 30A(1052} 15-NOV-78 15:26 PAGE 257
RSVD INSTRUCTION TEST - 106400 THRU 107777
T713

052346

106400

2S:

106400

052350

104005

3S:
4S:

ERROR
INC
CMP
BNE
MOV
CMP
BNE
MOV
MOV
MOV
MOV
SCOPE

052352

05~354

106500

g~ U~

H8~8g

05 366
05 372

8~HU

8gf~H

052404

g~~Hg

000340

lOS:

8SA81 0

00001~

SEQ 0256

;TEST THE RSVD INSTR - THIS LOCATION
;GETS CHANGED EACH PASS THROUGH
;RSVD INSTR. IN HI FULED TO TRAP
)GENERATE HEW RSVO INSTR
;MFPD INSTRUCTION ??
!~~IJFM~~b lND MTPD INSTRUCTIONS
;AT END OF THIS GROUP ??
;BR IF NOT
;MAKE SURE TO RESET THE SP

S~~~~0~~0~sU6Gi=~~UGV~~TB~ROR

;CALL THE SCOPE LOOP UTILITY

;3;

052422
052430

01273'7
012737

061070
000340

000714
063636

g~~~g~

8Hl8g
012704
8H1g l
01073'

8~~~~g

8B1g~

8~~Ug
g~2~H
05~450

05~460

01°ll7

05~474

01 0506

05 ~06
052510
052512

000006
000240

052514
052516
052520

104005
000754
012737

8~ 4Z~

000014
000016

hHn

3$:
052442

001010

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
01-NOV-78 14:09

Inn
tUh
U~U

pa97

tl
1

n~

900

~g~

38l

1 g05

,·TEST 715

917

hi!!
IH2j
lUU

d~~i

IU30

un~

13934

~gVPE

00011S
052552
000020
052554
052552
052554

052556
052556
052560
052564
052570
052576
052600
05~602
05 604

ful; iNti
luh 85~63g
iUU
11

iis,@/tSLPERR

BUT

i

SERVIC~

~~;;~;~*******************

l

13893

5

;BUT SERVICE FAILED
;GET NEXT INSTRUCTION FOR BUT SERVICE TEST
;LOOP FRO~ BEGINNING ON ERROR

PAGE 258

SEQ 0257

;i**************************************************** ***********

13885
~n~
3888
13889

5$:

ERROR
BR
MOV

MACYll 30A(1052) 15-NOV-78 15:26
T715
BUT SERVICE TEST - (RTI)

1388;

un°
U89~

StU~ ~iATB~R~~kv£h~Ey~En~ALMI~~6~ox~R~~nSDfi~~T AA..
~UVICE"
;EACH ROUTINE ENTERS THE TRAP MICROUTINE WHEN THE TRAP IS SPRUNG
MOV
#TB S,ER@(@#14;SETUPTHE"T"BITTRAPVECTOR
TSET:
MOV
#34 O ,16
;PRIORITY 7

2

052634
052640
0'i2642

MOV
MOV
~~~

000002
104005

25:
3$:

RTI
ERROR

715,RO

~20S,_'~Slp)

TEST -

~RTIl

******** *** *************************

s~t&~DT~~ ~1¥~ET~g¥PNg~~~~fY

. $,- SP

;(OAD RA WITH TEST INSTRUCTION WORD
;SET "T' BIT IN THE NEW PSW
j~~~~EN~~NtC = 3$

5

;INSTRUCTION SHOULD SPRING TRAP
;BOT SERVICE IN XXX FAILED

!

()

•• ***************************************************************
!'TEST 716
BUT SERVICE TEST - (JSR tR ~A)
1·****** **********************************,*********************
T~T716:

00~004
01
700
01 701
032137
001401
000000

000116
052634
040000

~i~!5ii
&O 5~

g~6g~g

g18~g~

g00

06
004771
: H005

063234

001010
052634
010456

O_~S06

SCOPE

=8~

063316

tI~~'~f

;CALL THE SCOPE LOOP UTILITY

Ilb~aDRrOw~J~HTt~¥TI=~~Bfi~TION

VORD
.5BTTL USER CONT§OLL~D BREAKPOINT -- BIT14
#BITr4,@#RPTLOC ;BREAKPOINT HALT SET 1?
BIT
R~fT
.+4
s~~Elk-~~~RESS CONTINUE TO CONTINUE
MaY
SP R5
;SAVE THE SP
=g~
&~~~B$LPERR
!~~~Tb~~P~~ ~bRR~~~~~I~go~'N~RROR LOOP
1$:
MOV
1~~,,!'~~yFl
~SET UP POINTER--DEST AD~R = 3$ FOR JSR
2¥,-~SP)
~~IIE"~;wB~~ !N2JHE NEV sv
ecc
,SCOPE SYNC
RTT
;SET "T" BIT - GO TO 2$
2$:
JSR
PC,@MBUF1
;INSTRUCTION SHOULD SPRING TRAP
3$:
ERROR
5
;BUT SERVICE IN XXX FAILED

=8:

;.******~~X*****~~'~~***********'f~~l~~~*~~*lt*!~~*~~*~~*I~l*~~~~ING
BUT SERVICE TEST - ~JMP A1
*************** ********** ***** ***********************

;'TEST 71'

052644
g5~644

0~~~3~

52656
52662
052666
052610
052672
052676

8

f§;;~;;*

8~0~83

Od701
°l~746

8oo~~~
000006
000167
104005

000717
052612
000020
052672
000000

2S:
3$:

SCOPE
MOV
MOV
MOY
MOV
CCC
RTf
JMP
ERROR

1717,RO
j2S,R1
20,-(SP)
2S,-(SP}
3S
5

s~t&kDTU~ ~~~~ET~~~PNH~~~~TY

,(OAD Rl WITH TEST INSTRUCTION WORD
;SET"T BIT IN THE NEW PSV
;MAKE NEW PC
2S
S~~~P~T~Y~iT - GO TO 2$
;JMP INSTRUCTION SHOULD SPRING TRAP
;BUT SERVICE IN XXX FAILED

=

CQKDI-C KD11-K BISIC LOGIC TESTS
07-tfOV-7B 14:09
CQKDAC.Pll

MACY11 301(1052) 15-NOY-78 15:26 PAGE 259
T720
BUf SERVICE tEST - (JMP @A)

nu~

tnn 8~lm
05 71"
1m)
Jg~ 8~ 1 ~

05 7 2

3945

Pl~i

05 7 0
052732
052734
052740

!.*i***1********I***~*****i********1**~*j*l**********************

8~~~83

gp~g~

80002~
~14~
000006
000177
104005

r
r 8!jroH3!l 81HU

119:9
950
~95t
95
11~95
95

p~~i r~i42
s7H
n~~ 5
959
~96~
05
96
8~
I~~g
3964

009°03

8b~81

g18~g~

762

010506

396~

8s
663
05 002

86~74~
00~B6

B~~g

053004
053006

000207
104005

r
nn
r
965

n~8

p~H

f§T720:
000720
052734
2740
OO~~O4
52

r

2$:
3$:

010352

=g~
1$:

8ij~8~8

2$:
3$:

4~4

igii

SC~PE

LOOP UTILITY

sih~~DR~OWY~HHT~~~TI=g~iij~TION WORD

PRC5~@#$LPERR
~SP

I~~~:S~~~
2$,-~SPS

PC
5

;SAVE THE SP
;FOR PROPER SP RESETTING ON ERROR LOOP
;RESTORE SP FOR ERROR LOOPING

~~~f ~~r.LB~~A¥NPfH~I~~w3~SW
,MAKE NEW PC

= 2$

~~~~P't~YUIT - GO TO

2$

;RTS INSTRUCTION SHOULD SPRING TRAP
;BUT SERVICE IN XXX FAILED

AIN

BIN

CIN

8

o
o

o
1
o
~
1
o

1

g
1
1

1

MACYll 30A(1052) 15-NOV-78 15:26
T722
ALU ADD FUNCTIUN TEST

PAGE 260

NULL
iALUADD:
SRC OPt
DST OP1
SUM1
SRe OP2
DST OP2
SUM2
ETC.
;AFTER REPORTING THE ERROR THE ROUTINE WILL LOCK ON THE FAILING PIIR

14000
1400i
l400

48~~

;CALL THE

tI21'~~
§~2R~

;THE TEST NO.5 ALONG WITH THE CORRECT ANSWERS ARE STORED IN A TABLE
;TAGGED "ALUADD" AS SROWN BELOW:

13997

4039
4040
404l
404

RTS
ERROR

11

iUU

~O~B

=g~

o

Bn~

U8j4
4035

;JMP INSTRUCTION SHOULD SPRING TRAP
;BUT SERVICE IN XXX FULED

•• ***************************************************************

11~n~
3993

403~

~~~~P~t~Y:iT - GO to 2$

S'TEST 722
ALU 100 FUNCtION TEST
;tHIS TEST VERIFIES tHAT THE ALD ADD FUNCTION CAN RESPOND CORRECTLY
S~~cAH5F8T&~S~~B~fTC~~~I¥toA~NisTG~icS¥~~B R~Eg~:AT THE INPUTS OF

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

:8~f

~~J

@MBUFO
5

~¥¥

p98
399

U~l
i8,~
:hi

MOV
MOV
MOV
MOV

053004

1398i

UU~
lSI!

JMP
ERROR

SCOPE

000721
053004
001010

13987

i
U8H

l ::

;CtbkDT~~ al¥hET~g¥PM3~lk~TY

SlOAD Rl WITH TEST INSTRUCTION WORD
,SEt UP POlNtER--DESt ADDR = 3$ FOR JMP
l~fiE"~:wB~~ IM2tHE NEW PSW

;.***************************************************************
;'T!~I 711
!UT S~RVICE IE~t - i RTS PCl
11;721;* ****** **** ** **~ * **** ****** **********************

19~~

ll88
t400~
Ug8B
Uol
USi

'
720 ,RO
t~,$LtRMIBUFO
3,

~g,

17

5

1

~~¥

n73
139BO
139B~
1398
1398
1~~B4

t~88

~8~PE

MOV
MOV

063312

13975
976
39

SEQ 0258

l';*;;**;o*******~;**~:;i~**;E;;*~**~~***~***********************

s~t*~~*~*1~*~~2~;1*~~*~~*~~*I2*I~~*~~~1*~~1~*lt*~~S~;2***********
851010

o~

81g 81HSg
010737

05 016
053022
053026

000004

024545

T5T722:

8nH~

1$:

063416

053016

MOV
CCC
ADD
CMP
BEQ
MOV
MOV
ERROR
TST
BR
MOV

001010

4$:

053046

~8~

060103

2$:

8~~8~g
g5~054

0~§8i~

3$:

8~~gH
053066

012737

SCOPE

~g~

MOV
CMP
TST
CMP

001010

5$:

tIt3i~g+4LR5
~C @#$LPEKR

-(~5),-(R5)

~R5)+

~ALOADD+62,R5
Ci5)+,Rl
(R5)+,R3
Rl,R3
!~5),R3
(R5~

R4

i~R LR2
~~5)+

#1 $,@#$LPERR

;CALL THE SCOPE LOOP UTILITY

;~ko~gI~~sW+bHTIti~I ~~MB8~s

SLOOP ONLY ON FAILING PAIR OF #·S
;RESET R5 TO POINT TO BAD GUYS
;~g~N~U~L iN!K~ ~~RST TIME THROUGH)
SDONf lLe NO.S IN TABLE?

Sf~ABFS~~SOp

;LOl DEST OP
;SCOPE SYNC
;TEST THE ADD FUNCTION
;CORRECT SUM ?
;GO ADD NEXT PAIR IF YES
;GEt SIB SUM
;GET DEST OP
;ALU ADD OPERATION FAILED
;CORRECT R5 POINTER
;GO DO NEXT PUR
;LOOP FROM BEGINNING ON ERROR

;.***************************************************************

"tEST 723
lLO SUB FUMCTION TEST
STHrs TEst VERIFlES tHAT tHE ALU ADD FUNCtION CAN RESPOND CORRECtLY
H~c~H~FBTh~snBBtTC~a~nt~I~"~st~~~c~~U~g g~Eg~:u THE INPutS OF

AIN

8o

i

BIN

CIN

o

!I

SEQ 0259

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09
4047
4048
4049
14050

MACYll 30A(1052) 15-NOV-78 15:26
T723
ALU SUB FUMCTION TEST
1

1

1

PAGE 261

SEQ 0260

1

',:TTHAEGGTEOEST NO.S ALONG WITH THE CORRECT ANSWERS ARE STORED IN A TABLE
nALUADD" AS SHOWN, BELOW:
iALUSOB:
NOLL
SR£ OP}
DS; OP

1~8~;

4053
} 4054

1~8~g

~!lAp2

U8~~
4059

DST OP2
DIFF2
ETC.

4060

:8~~

1

jil !
~8n
401~

Ugh

14074
14075

H8~~
Ug~6

14081
14082
14083
14084
4085
4086
40R7

1
1:8g~

1 4090
U8g~

053114
053116
053122
053124
053126
053130
053132

0636 :16

160103

2$:

8~~U~ 8~Hg~
053140
053142
053144
053146
053150
053152

011504
014502
104010
005725
000761
012737

3$:
053102

001010

5$:

SUB
CHP
SEQ
MOV
HOV
ERROR
TST
BR
MOV

R1,R3
~~5),R3
(R5~

R4

i~R 1,R2
~~5)+

111 $,@#SLPERR

;TEST THE SUB FUNCTION
;CORRECT DIFF. ?
;GO SUB NEXT PAIR IF YES
;GET SIB DIFF
;GET DEST OP
;ALU SUB OPERATION FAILED
iCORRECT R5 POIWTER
;GO DO NEXT PAIR
)LOOP FROM BEGINNING ON ERROR

•• ***********~***************************************************

usn

~'TEST 724
ALU "AND" FUNCTION TEST USING BIC INSTRUCTION
STHIS TEST VERIFIES THAT THE ALU "AND" FUNCTION RESPONDS CORRECTLY
;TO ALL POSSIBLE COMBINATIONS FOR EACH OF THE 16 BIT POSITIONS
tAJERf~5§UI~g J~~T~t~o~N~R~Ui~b~~A~~G ~~~ur~~LOWING PAIRS OF

140<)5

U8~~
U8~~
U~8~

14i02

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
14103
14104

iSOURCE OP

DEST. OP

RESULT

~ ~~~~~~

f~~~~~

888888

MACYll 30A(1052) IS-NOV-78 15:26 PAGE 262
ALU "AND" FUNCTION TEST USING BIC INSTRUCTION
T724
; 000,000

A~ZZZ6

; t 71 71

lngg

888888

;ii25252
5252~

U18~

S ~~~~5

UHg
UIB
14113
U1 H
uh~

~~~~~~

ARE STORED IN A TESLE TAGGED

~p~

t n~o

111n~i

8~~U8
°S3162
tl~
d 8 85n~~

4129
4130
4131

UIH
4134

053176

000004

8UU~
024545

8~H8~ 8gH6~
053206
053210

001413
OP501

053216

040103

14~1:~ 0532~4

011504

1:B~
14137
14138

i11!J
14 45
4 46
} :u~
4149

tilll
4154
4J55

1~t~~

14158

1$:
4$:

063476

8~~1U 86~~~~
2$:

8~~~,g S3Y,1~

014502
g~H3g 104010

3$:

g~U~i
053236

01273'

053166

001010

5$:

BIC
CMP
REQ
MOV
MOV
ERROR
TST
BR
MOV

R1,RJ
U,(RS)

;TEST THE "AND"
;RESULT CORRECT ?
,BR IF YES - GET THE NEXT PAIR

(R5~

~g~i ~~~TSot B DATA
SALU "AND" FAILED
;CORRECT R5 POINTER
;GO GET NEXT PAIR
;LOOP FROM BEGINNING

R4

i~R 1,R2
~~S)+

U$,(U$LPERR

SEQ 0261

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 263
T725
ALU "OR" FUNCTION TEST USING BIS INSTRUCTION
DEST. OP
RESULT
iSOURCE OP

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
14159
14160

tUU~
BtU

SEQ 0262

:U~

416~
4164

NO.S AND THE ANSWERS ARE STORED IN A TABLE TAGGED
FOLLOWING PATTERN:
NULL

14170
14171

UlH

~~~

14tH

UH~
141~0

Ulfl~

14183
14184

UU~

14187

i:I~S
1~lg~

UU1

14194
14195

lU~~

14198
14~99

1~!I~*~t*~2;~*lt*!~2~:1*2~*~~*2!*I~*I~!I*t~!*~~!1*~~1'*It*!~2~:2*

053244
053244
053246
5i252
5 250
05 262

HT72S:
000725

0~3~~~

063556

g81g~8

8
85 F64
05 274
05 276
05 300
053302

IS:
4$ :

1

050103

25:

l:~gl g~l~g2 g~i~l~
U~g3 05j310
312
IHg~ 05
05 314

3$:

}4206

1:~8~ 8~~H8
14~ig
U~B

gn

ANSI
SRC OP2
DST OP2
ANS2
ETC.
;AFTER REPORTING THE ERROR THE ROUTIN~ WILL LOCK ON THE FAILING

14175
14176
14177

053322

012737

053252

001010

55:

SCOPE
MOV
MOV
MOV
CMP
TST
CMP
BF.:Q
MOV
MOY
CCC
BIS
CMP
BEQ
MOV
MOV
ERROR
TST
BR
MOV

J725
RO
ORT1s+4

R5
C ~J$LP f RR
-(~_ ,-(R5)

r

r5~+AB+62,R5
~ 5~+,Rl

RS +,R3

R1,R3
~~,

(R5)

(R5) R4

i~R5LR2
~~5)+

#l $,@#$LPERR

;CALL THE SCOPE LOOP UTILITY

~~~Offi8I~¥sWt6HTI~~I M~M¥~~T NO.5

,LOOP ONLY ON FAILING ,AIR OF .·S
RESET R5 TO POINT TO AD GUYS

S~OR NULL ENTRY FIRST IME THROUGH)
SDg~~TAl~ ~O~~~~~¥Ig&~ ?
~~~A~F TAP SHC OP

iLOAD THE DEST OP
iSCOPE SYNC
iTEST THE "OR"
iRESULT CORRECT?
;BR IF YES - GET THE NEXT PAIR
~g~i 6~~TSo6 B DATA
SALU "OR" FAILED
iCORRECT R5 POINTER
iGO GET NEXT PAIR
iLOOP FROM BEGINNING ON r:RROR

14213
14214

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 264
T726
INC I DEC I ADD TEST - CYCLE NO.S 000000-077777
iTEST SEQUENCE:

S1:
$5.

¥~IHT~gu~g~sA~aEDi~bEgPiN~R~H~E~~~3LT COMPARED WITH 000000

i3. THE SOURCE OP IS INCREMENTED

i4. THE DEST OP IS DECREMENTED
~~~t~I~~3, AND 4 ARE REPEATED UNTIL THE SOURCE OP GOES

iON DETECTION OF A NON-ZERO RESULT THE ERROR IS REPORTED AND THEN IF:
1. SW09=0
2. SW09=1

~5133.

05 3300

O~ ~jg

f§;;;;~***************************·******************* ***********

000004

8A~~8~

05 ~40
05 42
05 44
05 50
05
053354

005002

053356
053360
053362
053364

020403
001402
104010
000407

t2

THE TEST IS EXITED
THE ROUTINE LOCKS ON THE FAILING PAIR OF OPERANDS

8~5004

018~~4

SCOPE

000726

10$:

001010

IS:

00025~
060103

2$:

3S:
4$:

~555~H~~ kga~8~

o ~h4

o85~g~

053376

012737

053336

001010

5$:

~~~

CLR
CLR
Mg~
CCC
ADD
CMP
BEQ
ERROR
BR
INC
BMI
DEC
BR
MOV

K726 ,RO
R2

R4

~~~RJ$LPERR

Rl,R3
R4,R3
45
10
TST727

~!1$
#!O$,@#$LPERR

iCALL THE SCOPE LOOP UTILITY

~i~~t¥A~¥Z~I~~G§Ef6 ~g~~~~

iLOOP ONLY ON FAILING PAIR OF #·5
;LOAD DEST OPERAND
,SCOPE SYNC
,ADD THE TWO TEST NO.5
iRESULT SIB = 000000
;RESULT = 000000 ?
JBR IF YES
;INCORRECT RESULT IN R3
;iEXIT TO NEXT TEST

~~~¥ AutOI~O¥~C~E~~ NEGATIVE

iSUB 1 FROM THE DEST OP
;GO ADD THE TWO NO.5
;LOOP FROM BEGINNING ON ERROR

~';~;;*;;;******i;~***~~~*i*:~;*;~;;*~*~;~~~*;~:;*~;;;;;~~~~~~~**

STHIS TEST COMBINES fHE INC I DEC I ADO INSTRUCTIONS IN THE FOLLOWING
;TEST SEQUENCE:

~~: ¥HtHTa8U~E~sA~2EDf~~EgPiN~RiH~E~~~8LT COMPARED WITfl 000000

;3. THE SOURCE OP IS DECREMENTED

'4 THE DEST OP IS INCREMENTED
;,•• 5: STEPS 2L 3, AND 4 IRE REPEATED UNTIL THE DEST. OP GOES
NEGATIVto;
iON DETECTION or A NON-ZERO RESULT THE ERROR IS REPORTED AND THEN IF:

SEQ 0263

CQKDA-t KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

MACYll 30A(1052) 15-NOY-18 15:26 PACE 265
INC I DEC I ADD TEST - CYCLE NO.S 077777-000000
T727

SEQ 0264

i~~H

lUll

Uhi
142~~

In~4
uu~

8~Uga 8°0004
12700
05J412
0500~
g~d!g g~~~3~
053424 010203
053426
053430

000257
060103

053436
053440
053442
53444
53446
053450
051452

104010
000407
005202
100402

000727
001010

2S:

l4287

lUB~
IH~~
J:~~f

14294
14295

IH~~

14298
14299
14300

8

;LOOP ONLY ON FAILING PAIR OF ,'S
S~~a~ED~~~cOPERAJD

1$:

3$:
4$:

88~,g~

012737

053412

001010

000004
01ng~

000730
053516

001076

5S:

ADD
CMP
BEQ
ERROR
BR
INC
BMI
DEC
BR
MOV

Rl,R3
~:,R3

10
TST730
R2

~i

IS
#lOS,~#$LPERR

;ADD THE TWO TEST NO.5
;RESULT SIB = 000000
;RESULT = 000000 ?
;BR IF YES
;INCORRECT RESULT IN R3
;;GO TO SCOPE EXIT

f~~¥ ~UiOl~Ei~'w~~T NEGATIVE
;SUB 1 FROM THE SOURCE OP
;GO ADD THE TWO NO.S
;LOOP FROM BEGINNING ON ERROR

IH8~

14303

4
14j8
1430g

14307

8~~:~8

053462
853466

8b5001

H~8~ o~U~l
14310 053502 glHg~
lHP gB~~8 005003
1431! 053514 8~~~~i

14314

14315

0!>3516

tHH 053520
14318 053522
UHg 853524
53526
1~~~~

J43~3

t4324

UBg

053530
053532

g8g8g~
000003

070205
100403
001402
102401
103001
104044

2$:

3$:
4S:

8~H~~

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
l~J~~

lun
t~j3

14329

053540
053542

I

t~U~

053606
053610

000257
070215
100403

053616
053620

03401
104044

,
:4~55~ ggj~~~
1 8 8~h~8
4~60

053632

104045

4j65

8~~gj:

000004

143~g

g~~~~~

g8~881

i~~g"

4J 2

:ii~

~ ~9

000731
053606

8g~~I~ 108~~81

o3~18t

lill~ g~I!~~ 8!~1~~

l:~~~

44

R3,R4

~tR2

;COND CODES SET IMPRnPERLY
iREG+l CORRECT?

SR~GI~O~2iCT?

053674
053676
053700

070225
100403
001002

g~J~8~ 18~~gl

$'TEST 731
MUL (RA) RS TEST' N:C = OOOO-SET C
L;*******i*************-'********'*******************************
TST731:
a8~PE
~~t5~DTU§ ~i~CET~~¥PN8~~~aTY
731 ,RO
MOV
f2S,~'STMPO
,6ET TEST INSTRUCTION WORD
CLR
·S/8 RESULT IN R2
MOV
IA~~~~~~~1
;S,8 RESULI
R3
~e~
~3
IINI~I:~I~E R~g + 1
=g~
ir8~{g~~5
~~HIT¥~L~2~Nifi~ TO SRC
CCC
;SCOPE SYNC
(R5),R2
MUL
iTEST THE MUL
BMI
;N:C=OOOI?
BEQ
BVS
BCS
3$:
ERROR
iCOND CODES SET IMPROPERLY
R3,R4
4$:
CMP
;REG+1 CORRECT?
BNE
n~cIto~g~CT?
CMP
BEQ
;,SR IF YES
ERROR
45
5S:
;MUL DELIVERED WRONG RESULT

1

44

~~~5g1

lil7~ 8~~g~3 g~;98j

I

U

!"

UfH2

111~1~un 8~~g~~ 81~~~9 8~~l~t

4316
:~ 7
43 §
14380

001076

°i

4341

i

;TEST TilE MUL
;N:C=OOOO?

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 266
T730
MUL RA,RB TEST; N:C
1111
BEQ
1ST731
;;BR IF YES
5S:
ERROR
45
iMUL DELIVERED WRONG RESULT

001401
104045

8Y~~8a
8A~6i1
2704
o 2702
o 5003
8Bn~

lid
:hz
1
4344
45
441 46
4 478
4 4

R5,R2

•• ***************************************************************

U3~~

1

MUL
BMI
SEQ
BiS
BCC
ERROR
CMP
BNE
CMP

001016

177177

8UM~
2$:

MUL
BMI
BNE
BYS
BCC

(R5)+,R2

II

;TEST THE MUL
;N:C=0100?

SEQ 0265

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 267
T732
MUL (RA)+,RB TEST ; N:C = OOOO-SET Z

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

iBU
4385
14386

uu
H§l

l

439
439
14394
14395
14396
14397

053706

104044

8UH~

03 0304

053716
053720
053722
053726
053730

3$:
4$:

g2H8~

001401
104045
022705
001401
104046

i

440
440
14404
14405

1
1~ni
t
111~~

4417
1nS

UHl
14425

8~~H~

853740

53~46

053776
054000

8~488~

054006
054010
054012
054014

UH~
4435

U,R2

snGI~o~2tCT?

;BR IF YES
;MUL DELIVERED WRONG RESULT
45
5$:
;010 R5 GET AUTO-INCREMENTED?
6$:
,~¥y~g+2,R5
;;8R IF YES
BEQ
;AUTO J~CREMENT DID NOT OCCUR
46
ERROR
•• ***************************************************************

063314

000004

°Bi~~
812701

012704
012702
005003
01270~
01273
00025
070235
100003
001402

T5T733:
000733
054000

IHH6
~OOOOI
~~H~8

054022
054024

054034

SCOPE

~g~

001076

MOV
MOV

~el

063312
2$:

18~agl

104044
020304

3$:
4$:

001401
104045
022705
001401
104046

5$:
6$:

8~48~~ 8g~~8~

11H~
1U~S g~1g1~
14430
14431
14432

44
R3,R4

I~I~~I*I~~******~~~*li~~1:'~V*1~~I*i*~i~*:*22~2;~~I*~*'*~~~,~~I*:

053732

1~1g~ g~~7~~
440
8~FH
1 440~
053ho
441
4411
4412
4413
4414

~~~

BEQ
ERROR
CMP

l~H~

1440~
440

ERROR
CMP

SEQ 0266

;COND CODES SET IMPROPERLY
;REG+1 CORRECT?

063310

MOV
MOV
CCC
MUL
8PL
BEQ
BVS
BCC
ERROR
CMP
BNE
CMP
BEQ
ERROR
CMP

1_~~I~~:g$TMPO
HI
-16~R4

},R

#_AT10A,+12~RB5UFO

t

~~M

@(R5)+,R2

44
Rl,R4

~LR2
6$
45

BEQ

.HHF,R5

ERI-IOR

46

-,+

;CALL THE SCOPE LOOP UTILITY

f6~~A¥E~¥
~~!¥R3~~Io~u:~~g
;S/B RESULT IN R2

;s,a RESULT IN R3
IINI'lttl~~ ~~g + 1

;SET UP POINTER TO POINTER TO MBUFO
;INITIALIZE SRC
;SCOPE SYNC
;TEST THE MUL
;N:C=1000?

;COND CODF.S SET IMPROPERLY
;REG+l CORRECT?
;SR IF NOT
;REG CORRECT?
;BR IF YES
;MUL DELIVERED WRONG RESULT
;010 R5 GET AUTO-INCREMENTED?
;; BR IF YES
;AUTO INCREMENT DID NOT OCCUR

+,-

1 4436

UH~

000004

CQKOA-C KOI1-K BASIC LOGIC TF.STS
07-NOV-78 14:09
CQKDAC.P11
000734
054040
054044 8HH~ 054104 001076
14441 054052 012701 177777
177770
1444i 854056
54062 8B18~ 177777
1444
14444 054066 005003
14445 054070 812705 063314
000010 063312
054074
l:~1~ 054102
14448
14449 054104 070245
1445!
445
8sn~g 100003
001402
1445
14453 054112 102401
054114 103001
14~~~
1~456 054116 104044
14457
14458 054120 020304
14459 054112 001002
854124
446
54126 86~18t
1446i
054130 104045
4464
063312
4465

UH6

oA51H

UU

1

uu~

r

468
44~9
44 0
44 ~
1447
4473

8~:Bg

8gng~

054140

104046

054142

°sHU
ll~H
54150
4~i~ 854156
1~H3

i449°

IUd
4484

05-1210
054212
054114

1~1§4

054224

r8~

000004

01270~

8A~6~1
8lH8~

000735
054210

l~U~ S~~2~g
449~
l~n 054222

070255
A00 403
8140i
loUS
104044
020304

001076

063312

SEQ 0267

. !i
lil~~~4

U

~';*;;*;;;******;~~**~*~:**~;*;~*;***;;~*:***ii:**~*:*~**;;*~*!*;RC DST
'
T735:
}CALL THE SCOPE LOOP UTIL§TY
SCOPE
"LOAD
RO
WITH
TEST
NUMBE
MOV
, 735 ,RO
;~jT TEST INSTRUCTION WOR
MOV
P$,@#$TMPO
'S B RESULT IN R2
CLR
J/S{B
RESULT IN R3
MOY
,106420,R4
iIN TULIZE REG
-2,R2
MOV
iINITIALIZE REG + 1
MOV
;SET UP POINTER TO POINTER TO "'BUFO
MOV
!ih~h'R5
-43110,@#MBUFO ;INITIALIZE SRC
MOV
;SCOPE SYNC
SCC
;TEST THE MUL
@-(R5},R2
MUL
2$:
;N:C=OOOl?
BMI
BEQ
BYS
BCS
;COND CODES SET IMPROPERLY
ERROR
44
3$:
1REG+1 CORRECT?
R3,R4
CMP
4$:

i~*~****************t*'**ll*****~**'*******ll***~~***~**~*****'**

HH1g
°sHU
854170 012i03 A77~77
054174 012 01
lU5'S
Op73
gU~8g o
0277

1 U7

MACYl1 30A(1052) 15-NOV-78 15:26 PAGE 268
+,MUL -(RA},R8 TEST; N:C = 1111-eLR ALL BUT N ; SRC,DSK
T734
MOV
r3~ ~rlt$TMPO
RO
~~~~A¥E~¥ ~~!~R3E~Io=U=8~§
MOV
;S/B RESULT IN R2
MOY
MOV
lS'~T'i~¥~i '~GR3
MOV
ilNITIALIZE REG + 1
CLR
;SET UP POINTER TO SRC
MOV
iMBurO+2 R5
; INITlALIZE SRC
10,UMB6ro
MOV
;SCOPE SYNC
SCC
-(R5},R2
;TEST THE MUL
MUL
2$:
;N:C=1000?
BPL
BEQ
BVS
BCC
4$
iCOND COORS SET IMPROPERLY
ERROR
44
3$:
;REG+l CORRECT?
CMF
R3,R4
4$:
iSR IF NOT
BNE
; REG CORIH:CT?
CI4P
aLR2
;BR IF YES
BEQ
6$
;MUL DELIVERED WRONG RESULT
ERROR
45
5$:
;010 SRC REG GET AUTO-DECREMENTED?
6$:
CMP
t~¥¥~g,R5
BEQ
;;BR IF YES
;AUTO DECREMENT DID NOT OCCUR
ERROR
46

11

-,-

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
4495
4496
14497

1

l~~~~

1213Y
4502
4503
114504
U~g~

005423260
542
054232
054234
054236
054242
054244

001002
020102
001401
104045
022705
001401
104046

54~46
8 54
46
054 50
54 54
54 62

01P 0 9

M1CY11 301(1052) 15-NOY-78 15:26 P1GE 269
T735
MUL @-(Rl),RB TEST ; M:C = 1111-CLR ALL BUT C ; SRC,DST

~=~
5$:
6$:

063306

BEQ
ERROR
CMP
BEQ
ERROR

-,-

SEQ 0268

~R~GI~O~BiCT?

af,R2
6$
45
ATA +10,R5
ST736
46

;HR IF YES

;MUL DELIVERED WRONG RESULT
;010 R5 GET AUTO-DECREMENTED?
HBR IF YES
;AUTO INCREMENT DID NOT OCCUR

f

14507

1un
1
uu
l~h

l

4517
4518

ag'6
4521

8

000004

054302
054306
054310
054314

005065
000277
070265
100403

054322
054324
054326
054330
054332
054334
054336

103001
104044
020304

3$:
4$:

001401
104045

5$:

1~~~1
ll~~~ g§21~8 ~g~~gl

14526
14527
14528

!:§jg
U~H

14533

12~i~
4536

145~7
U~3~

4540
454~
454

t

I

3

Ui~
2~2~
4550

001076

8bsZij1
005004

8~H~~
81H8~
8~HH 012705

8!:i4340

000002

8n~g~

000004

o~H:~ gBH~
054346

000737
054404

854~56

888b~8

054354

005001

8l~184

005°8~5
OUH8
0127
g
54374

054402

:5~~

4~64

14565

000004

8~~H~ 8Bi~9
p5~~
4~6~ g~~U~ 0127Sl
456

000740
0544'i6

U~H 8s~~5~

020001

14570
14573

i:~~l
45
14577
l~~n
580
14581

un~

14584
f585
5

fn
4~8g

U~~

054446

054456
054462
054464
054466
054470
054472
054474
054476
854500
54502
054504

8b~~0~
8H
~

071227
100403
001402
02401
03001
104044

4S96
459

2$:

8A8S8Y

3$:

;COND CODES SET IMPROPERLY
;REG.l CORRECT?

~lf~j7

~~~GIto~~ICT1

45

1~UL

nBP IF YES

DELIVERED WRONG RESULT

MUL
CMP
BNE
CMP
BEQ
ERROR

@10(R5),R2
R3,P4
R2
Tsf740
45

15:26

PAGE 270

;TEST THI': MUL
;REG.l CORRECT?

M

n~GI~o~B~CT?

;; BR IF YES
;MUL DELIVERED WRONG RESUL T

~§*~*****2******~***1*'********'********111**********************
f T740:
001016

000002

2$:

1

3$:
4$:

8~0304
100~

8201
014 81
104045

5$:

SCOPE
MOV
MOV
MOV
MOV
CLR
MaY
SCC
DIY
BMI
SEQ
BVS
BCC
ERROR
CMP
BHE
CMP
BEQ
ERROR

If" "

. U63!!U

;CALL THE SCOPE LOOP UTILITY

PO

~'R4

$6~~Ago~~ ~JT~E~¥SIN~¥~BE~ION
s~/R n~
~~
is'T UP REG OPERAND

!=

# 20001,R3

n~Op~ps'Ng+l OP

#2,R2

;TEST DIV
;N:C=OOOO?

n

44
R3,R4
~f R2
TSh41
45

;COND CODES SET IMPROPP-RLY
iCORRECT RESULT IN REG+1?
~~~R~kc'O~ESULT IN REG?
HBR IF YES
;DIV DELIVERED WRONG RESULT

s,*~;;*;:*******;*;**;*;;*;~;;***;;*;~~:;;*****;;~*=*~~~*********

054506
054506
054510
854514

f§l******l*******l**t*'********'**********I~*'**********~********
T741:

8f~n~

O~~~U

545~~
8 8~~~
2 n~nl IH~n
4600 054536 Op70~ 171762

U~8~

44
R3,R4

!';*;;*;:********~;**:*;:*;~;;*~*;;~*:*~*************************

001076

~~~

1
i:~8i
~~8

Ii

MACYU 30A(1052) 15-NOV-78
T737
MUL @X(RA),RB TEST

14S9}

I}~i~

;TEST THE MUL
;H:C=0100?

063312

8b~~~i

un8

054422
054422

2(R5),R2

001076

CQKDA-C KDI1-K RASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-78 14:09
14551
14552 054404 070275 000010
14553
4
14554 054410
4555 0544F
4556 0544 .. 02010~
054416
4557
001401
455~
054'120 104045
455
4560
1"561

1
1
1

MUL
BMI
BHE
BVS
BCC
ERROR
CMP
BHE
CMP
BEQ
FoRROR

054542
054544
054550
054552

o

0257
071227

b8Y~8~

000004

~8~PE
MOV
MOV
MOV
MOV
MOV

1:i,~~

DIV
BPL
BEQ

#4,R2

ecc
2$:

741
!2!d'$TMPO
'00

-1 •• ,R3

U

;CALL THE SCOPE LOOP UTILITY

$~~¥Ago~~ ~JT¥E~¥SIN~¥~BE~ION
;S/B
Rr IN Rj
SBRSINR
SS'T U REG 0 ER1MD
;SET UP REG+1 OP
;SCOPE SYNC
1TEST DIY
;N:C=1000?

SEQ 0269

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 271
DIV IN,RA TEST; Rl NEGATIVE; N:C
0000
T741

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

=

l~g8d 8~:~~:

181381

UII;

104044
020304
001002

3S:
4$:

104045

5$ :

ERROR

45

3$:

ERROR
CMP
liNE
CMF
REQ

44
W3,R4

14609

054560
054562
54564
54566
054570
054572

lUn 8
lUl1~

146 7

U~O
tlig2~
461~

1

83~18i

~5

054602
054610

013737
005001

054620
054624
054626
054632
054634
054636
054640
054642
054644
054646
054650
054652
054654

012701
000257
071227
100403
001002
102401
103001
104044
020304
001002
020102
001401
104045

l~g~. 8~~~lg 8~~684
1~~~~

000002

14633
14634
14635
14636
14637

l:g~~

14640
14641
14642
14643
14644

l~g~~

U~~7

4S:

Ug~~

8~U~g

Ug~~

8~~gi~

14653
14654

146~7

l:g~~

14660
14661
14662

054660
054664

054702
054704
054710
054712

000004
012700
013737

001076

8H181
OO:>OO~

8b5~~'

000016

071227

177774

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

l:g~~

14665

l466~

1~~~8

14669

~i R
Tshh

;COND CODES SET IMPROPERLY
,CORRECT RESULT IN REG.l?
S~~R~~C,otESULT IN REG?
HBR IF YES
;DIV DELIVERED WRONG RESULT

g~41~8

8g~5g~

054722
054724
054726

020102
001401
104045

054730
054730
054732
054736
054742

81H8£
012704

054756
054762
054764

bg~4H

i~f~a3

,COND CODES SET IMPROPERLY
;CORRECT RESULT IN REG.1?
;BR IF NOT
;CORRECT RESULT IN REG?

;;BR IF YES

;DIV DELIVERED WRONG RESULT
45
;.***************************************************************
;'TEST 743
DIV #-N,RA TEST· RA POS
ll******************t***********'********************* ***********
T5T743:
SCOPE
;CALL THE SCOPE LOOP UTILITY
5$:

1464~

14650

~~s

~:RROR

~g~

l!i~~rgSTMPO

5~~~Ago~e ~~T~E~~SIN~¥~8~~ION

CLR
MOV
CCC
OIV

2
#14.,R3

;S~T UP REG OPERAND
;SET UP REG. 1 OP
;SCOPE SYNC
;TEST DIV

~8~

2$:

2,~4

It-4,R2

s~~~ ~~~ I~ ~i

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 272
T743
DIV #-N,RA TEST ; RA POS
;CORRECT RESULT IN REG.1?
ij~~
R3,R4
;SR IF NOT
~~~~R~~Ty~~SULT IN REG?
3$:

~~~

Bf~~4

ERROR

45

;DIV DELIVERED WRONG RESULT

DIV

#5,R2

BMI
BEQ
BVC
BCS
MOV
CLR
DIV
BMI
BEQ
BVC
BCS
MOV
DIY
BMI

itft3

;TEST DIV -- SHOULD ABORT
;N:C=OOlO?

U~i~
1U~3

iU~1

14677

lUiS
14680

iun

uu~
uu~

4688
1
l:~~g

l~~~,

i:~~3

1469~

14696

g~H~3.

g~H~8

054772
054776
055000

000004

005037
012702
071227

102022
103421
012702
005003
071227

og~~~4

goooo~

177776
000050
000005

2$:

177777
177776

lJ~~J 85~886 b8~Jl~

t

tl~g6 g~~819 19!~tb
~11~

lli!
14706

055014
055020
055024

012704
071227
100403

055032
055034
055040
055044

103405
013703
012702
104001

000003
000000

t~i8~ g5s8~8 ~8~d8t

14441718
t 1
147 2

1
UH~

2~1~

47i5
47 6

SEQ 0270

001076
000001
000001

9
4630
146

43S
S
44
R3,R4

054574

~4~6~~ g~~~16 g~g~g~

146~6

BVS
BCC
ERROR
CMP
BHE

U~

177776
177776

1,R2

#-2,R2

n

1f3,R4
#0,R2

;INITIALlZE REG OP
;INITILlIZE REG.l OP
;TEST DIV -- SHOULD ABORT
;N:C:0010?

;S/B PSW

;TEST DIV BY 0 -- SHOULD ABORT
;N:C=00101

;;IF ALL OK, THEN EXIT TEST
BCS
UT745
@#PSW,(R3
MOV
tPSW,K2
sg~IT~A~T~g= IS PSW
'40V
;CONDITION CODES SET WRONG
ERROR
•• ***************************************************************
~'TEST 745
ASH ~N RA TEST ; SHIFT LEFT • N·C : 0000 TO tOl0
;;********************~*********************'********************
3$:

SEQ 0271

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC .P11
07-NOV-7B 14: 09
14719 055046

IWI
Il~~5

l~n

8~~8~g
g~g8~4

05509~
0550 0

055072

8~~n8
:H~ 8~~18~

rm

4733
4734

~735

14~~~

14 38
14739
14740
14741
14742
14743
14744

055106
055110
055112
055114
055116
055116
055120

8nO~f
01~~
4
8b
703

0257
072327

M1CYIl 301(1052) 15-1I0Y-78 15:26 PAGE 273
ASH ,1I,Rl TEST ; SHIFT LEFT ; II:C = 0000 TO 1010
1745
TST745:
SCOPE
JCt&kDT~~ ~i¥&ETL~~PNH~~~~TY
MOV
45 ,RO
MOV
,lOAD Rl WITH TE~T INStRUCTION WORD
MOV
MOV
n'¥tnEU~tG
CCC
;SCOPE SYJIIC
2$:
ASH
13,R3
;TEST THE ASH
BPL
;N:C=1010?

r

000~45

f5~4J3

fU1U:~~

li2345

000003

A8PS,

U8

10 001
o 001
104002
020304
001401
104002

3$:
4$:

748

H~6
l~~~~

IH~~

14755
4756

1
IHg~

14759
14760

055132
055136
055140
055142

g~H~8

055152
055154
055156
0551bO
055162
055 64

i2U~
4763
14764
14765
14766
14767
4768 855166
55166
4769
O 05S!,0
05'5 74
1477~ 055 00
14773 055204
14774 055210

1
UH

000004
012703

000004

072327

177775

8g8~~6

b00403

01002
102401
103401
104002

8~Ug4

10400~

!,**;***:;******:;~**;*~:*;;;;*:**~;;;***;;*~*;:**:****~*;~******

000004

SlB8
01270 l
01270~

00027

T747:

8~g~1~
17723

123432

14~B6

14 87
4 B8
14789

pn°
479~
14793
14~~4

H 9i
1

14797
14798
4799
4800
148O~
480

055236
055236
055240
055~~4
055
~2

8~~2~~

055~66
055 72
055274

8HB~ S~gH~

8~~j8~

U8~

8~~~8~

18j881

055310

104044

I~B8l

4810

g~~ni

I~Ui

gs5316

4817
18
144B ~90
1482~

055324
055324

hn~
14816
143

un4

1:a~~

I~m
U~g

~~3~g

Sl5~aDR~OW'~~HTt§~TIag~Rij~TION WORD
sHhHfU~iG
;SCOPE SYNC

ASH
#-6,R3
;TEST THE ASH
BPL
iN:C=1000?
BEQ
BVS
BCC
3$:
ERROR
2
;INCORRECT CONDITION CODES
4$:
CMP
,CORRECT RESULT?
BEQ
~~f~~o
;-BR IF YES
ERROR
;1SH DELIVERED WRONG RESULT
2
,,***************************************************************
-*TEST 750
ASHC IN RA TEST - SHIFT LEFT, N:C = 2222 T~ 1°10
~§******************* *,********,*** ******** *******
** * * *
T750:
SCOPE
;CALL THE SCOPE LOOP UTILITY
MOV
s6k¥A¥E~¥ rA~¥R3~flo=U=R~g
MOV
Jj~r$ftMPO
MOV
,S/8 RES IN R~
MOV
~ 6 3
MOV
J~'¥T~~fI!~
~OMBINED
1~~45~
Rj
MOY
14 S3,R
Jsc~~~I~n~S
CCC
2$:
ASHC
#3,R2
;TEST ASHC
BPL
H~:C=1010?
BEQ
BYC
Bec
3$:
ERROR
44
)COND CODES WRONG
4$:
CMP
slBPI~l~~TOF RESULT CORRECT?
~1'R2
BNE
CMP
;LOWER HALF OF RESULT CORRECT?
BEQ
~Sf~~1
5$:
ERROR
45
si~ncI&EliiERED WRONG RES

if

000004

un~

rr'R~
f123432,R3
~~~4,R4

;CALL THE SCOPE LOOP UTILITY

2$:

103001
104002
020304
001401
104002

012701
012704
012~0;
8bg2g
073227

SCOPE
MOV
MOV
MOV
MOV
SCC

MACYll 30l(1052) 15-NOY-78 15:26 PAGE 274
T747
ASH #M,RA TEST, SHIFT LEFT
N:C = 1111 TO 1000

A8og8~
pp~ 8~~ ~ 10~40
055224

14784
14785

~if~l6

2

~!ti*1*1************t*'********'*~*****~~***'***~***111*****12~2*

055~36

055226
055230
055~32
055 34

;INCORRECT CONDITION CODES
;CORRECT RESULT?
si~ft ~tLli~RED WRONG RESULT

2

U

1

12n~

If

st;*;;**::******:;~**:*~:*;;;;*!*;~i;;*~*~~**!*:!**:**OO**;**oioi
**
T746:
SCOPE
;CALL THE SCOPE LOOP UTILITY
MOV
r46'R~
fl~~ftDR~Ow~I~HTI~¥TI~~~~ij~TloN IIORD
MOV
F$,R
CLR
-S,B RESULT
#4,R3
MOV
;~ ITUL REG
CCC
Sc88~~ ~Yr~OO
SEN
2$:
ASH
1-3,R3
iTEST THE ASH
BMI
iN:C=0101?
BNE
BYS
BCS
3$:
,rNCORRgCT CONDITION CODES
ERROR
2
4$:
;CORRECT RESULT?
CMP
~~f~:7
·-BR IF YES
U~OR 2
SiSH
DELIVERED WRONG RESULT

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
4775
4776 055212 072327 177772
14777
4 BO
147Bl

BCC
ERROR
CMP
BEQ
ERROR

f~*~***Z************I*'********'********I**l*'**;~***l**2**~**

1414~
81n8~ g~~U~
14747 g~~H~ 005004

r

1~3~56
Y
6 30

001076

1H~~~

000003

b8~~8~

IT"
f

'Rl

II

8~n8~

%~0403

lola~~

st;~;;*;;i******:;~~**:*;:*;i;;*!*;~i;;*:**~;*!*:~**:*~~~~*;****OI

f§*******************t*'********'********li***'***~*********~*~1*
T751:

000004

g~~H~ g!H~q gggJ~A
055340 o 5001
055342

g~~ua

055352
055354

SEQ 0272

o°85~04
or5 go~
g g~70

000005

001076

SCOPE
MOV
MOV
CLR
CLR
CLR
MOV
CCC
SEN

f2

1'51 :@#$TMPO
RO
R4
R2
15,R3

Ct~kDT~~ ~~~GET~~~PNg~I~~TY

~ET TEST INSTRUCTION WORD
SIB RES IN R2
S,B RIS III R~
I ITI LIZl C MBINED
REGISTE S
SCOPE SYNC
CODES = 1000

SEQ 0273

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 275
T751
ASHC #N,RA TEST; SHIFT RIGHT; N:C
1000 TO 0101
2$:
ASHC
#-3,R2
;TEST ASHC
;N:C=0101?
BMI
BNE
BVS
BCS
;COND CODES WRONG
ERROR
3$:
iTOP HALF OF RESULT CORRECT?
CMP
4$:
BNE
sf~w~~ n~rF OF RESULT CORRECT?
CMP
8EQ
Sl~~CIbF.r~~ERED WRONG RES
ERROR
5$:
•• ***************************************************************

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
1~8j~

14833
4834

055356
055362

073227
100403

055~64

08~~8~

a8~~
14837
i 2840
4841

8~~3~8

10140t

055372
055374
055376

104044
020102
001002

14844

055404

104045

055406
055406
055410

000004
012700

43~~

1
1:~~~
UU~

14847
14848
14849
14850

P~g~

IJIU

4858
4859

H~~~

l4862

t:ag~

14865
14866
14867
14868

lU~g

1UH
4873

1

4874
4875
14876

l:~H

177775

8~~:gg 8~~~8~

i!I~~t*l~i******~~~i*I~'~~*I~~I*'*~~ltl*~l~~l*l*~i~*~*1111*1~*1~~0

0554~4
055
2

055~ 4
8~~H~

055440
055444
055450
055454
055456
055462
05')464
055466
055470
055472
055474
055476
055500
055502
055504

SEQ 0274

fsT752:
000752
100000

063234
001076

SCOPE
;CALL THE SCOPE LOOP UTILITY
.SBTTL U~~~ eONTft~CCf~OBREAKPOINf'~~ARI¥~5WITH TEST NUMBER
~II
!!lT15,@'BPTLOC !B=Et~P2~'T HALT SET ??
HALT
;BREAK-DEPRESS CONTINUE TO CONTINUE
MOV
'lf2SS!_$TR.MIPO
iGET TEST INSTRUCTION WORD
~OV
77~ 4
;S/B RES [N R~

~g~

073227
1804°0°23
0 1
102401
103401
104044
020102

2$:

]77772

3$:

4$:

g~o28~

001401
104045

5$:

•*

~*

14879
148AO
}48 8

S.**
!*

!

ta8~3

~:

148M

!*

l:U~

S-

MOV
cce
ASHC
BPL
REQ
BVS
RCS
ERROR
CMP
BHE
CMP
BEQ
ERROR

. l~j4
~~~~
127542~R3
#-6,R2

Si'¥T~i~I!~ ~OMBINED

; REGISTERS
iseOPE SYNC
;TEST ASHC
;N:C=lOOO?

iCOND CODES WRONG
;TOP HALF OF RESULT CORRECT?
iBR IF NOT
;LOWER HALF OF RESULT CORRECT?
Il~neI~EZ'~ERED WRONG RES

44

Rl,R2

~~f~~3
45

THIS SECTION Of THE MED TESTS F.XERCISES CERTAIN SCRATCH
PAD REGISTERS USING MED READS AND WRITES. THEIR ORIGINAL
CONTENTS ARE RESTORED BUT:
:****************** IMPORTANT NOTE *******************:
* THE CONSOLE MUST NOT III R~ USED DURING THESE MED *
TESTS. NO INTERRUPTS OR TRAPS CAN BE ALLOWED EITHER*

MACY11 30A(1052) IS-NOV-7S 15:26 PAGE 276
USER CONTROLLED BREAKPOINT -- BIT15

CQKDA-C KD11-~ BASIC LOGIC TESTS
CQKDAC.Pl1
07-NDV-78 14:09
14887
14888
14889
48')0

.*

!*

;fr

SEQ 0275

*

*******************************************************

1~n~

14893
14894
4895
4896
14897
489B
4999
14900

1

1

g~~~Og

0555i2

0555~4

U~8~ g5~S36
4903

012700
000004
012737
737
o 706

4904
14905
4906
1
14907

055554

01 701
005000

~n°

055562
055564

1040d
08 0404

14914
4915
4916

055572

104013

0555~4

82~~2~

055612
0556 6
0556 0
0556 2
0556 4
0556 6

005037

055534

8~~~~~

000752
000304

M~888

8°li Hi 8
1111~~
1

55566

IHHg
000004
000010

n8~ 8~~~~8 8~88~~

I1:Hi

8~~~~g

80!~8~

UH~ 8~~~6~ Oh7~7

U~}6

14921

l~H~
HH~
UH~ g~~~3~
ua~~

1

g~8~~01
18~:8
bOloo

8S8g~~
177776

10401

}:H~

lUH
4939

8~s~~~

304

140 6!!UBREAK
~~ItPSW

2,

o' .

RESVEC

041

a~

H

iIS RO UNCHANGED?

s~~a~~H_I~E~E¥NSTRUCTION WAS EXECUTED

iBEFORE TRAPPING
;CLEAN UP STACK

~~UR'~i~~RvEC
RSER~, .#RESVEC S~f~t8~~ ~~~~~vI§A~Nl~~T~~AP
@#PSW
041
MEDHLT
MEDHLT
MEDHLT
.+4
14

VFCTOR
;GO TO KERNEL MODE,CLEAR CONDo CODES
;DU MAI~T. EXAMINE OF Rl
;MED REID CODE FOR Rl
;ERROR CC-BITS IN PSW AFFECTED BY MED

·'TEST 754
MED TEST - R/W DATA PATTERNS TO REGS
S*
THIS PARTICULAR MED tEST WRITES DATA PATTERNS
;*
TO THOSE INTERNAL REGS. WHICH CAN BE WRITTEN
,*
AND READ WITHOUT SPEC~AL CONSIDERAIONS. REGISTERS
a~gul~~¥~.SPECIAL TES S ARE TESTED IN LATER
;*
TABLE II CONTAINS THE REGISTER ADDRESSES.
.*
~:
A MAX. OF 3 ERRORS ARE REPORTED FOR EACH LOC.
1·***************************************************************
T~T754:
MOV
#753,RO
;;SETUP MISSED TEST & FULL WRD TEST # PRIOR TO SCOPE

I:

t4934
14935
14936
4940

#752,RO

1~FUhRVEC

;.************************************************************.*.

14930
14931

1l~~~

MOV
SCOH
MOV
MOV
MDV
MOV
MOV
MOV
CLR
/olEO
.WORD
ERROR
BR
TST
2S:
SEQ
ERROR
CMP
MOV
43~::
MOV
MEDO:
CLR
MED
.WORD
Bes
BVS
BMI
SHE
MEDHLT: ERI{OR

MEDl:

012700

000753

CQKOA-C KOII-K BASIC LOGIC TESTS
CQKOAC .Pll
07-NOY-78 14:09
000004
l:~U 055640
055642
8g~Ug 177776
4945
4946 g~~~~~
001102
14947 055662
A~~~~g
055 5
14948 055666
055672
055710
0557 6
05567~
In~
05570
00 37 001106
055706 076600
1495
In~4 g~~H~ 8f88g~ 001076
4955 85571~ 010137
88Hg~
n~~ 55l~ Op700
14958

81lUi
it lh

1
'49'1
1

UU~

HUH

m i Sot!IS

mn~ .nh ~

i~~~1 05574
g~~~~g
UU~
141)66 055754

0~3780

881~~~
001102

001104

0~~1~~ 8H~3

8g63~~

88H8g

056004
056010
056014

001106

88 9

14967

855762

8
02373
00141~

14970
14971
14972

g~~88g

~g~~g~

14§~~

14~n

005237

gY~Hl

83

iun
m

!

It~~~~
44~9
9
~99

8~~gU

0~5700

000754

8~g8:t

YHln

8~23~:

8~~g~~

~~~~n

056054

056062

10300~

056040

1~~§~

056052

500j

1~88

o

004

8~~8~g 8g6i~0
b8!>721
8~g812 oo~~B
1~88~
008
856100
56106 ob~Z~Z
p005

05605·4

064425

t~gl} 8~~il~
056 14

~gggog
00~7 056114

Hgi~

SIB

ISO 7

l~g~B

'~S

~8~ji

50~4
50
5
15026

1~8~~
150 9
15030

fISTMP>

t

"fl'S
II~: f;s

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 278
T754
MED TEST - R/ill DATA PATTERNS TO REGS
SEQ 0277
CMP
~125252,@'$TMP2 ;BOTH DATA PATTERNS BEEN USED?
BNE
~
;BRANCH IF NO
1ST
1)
;END OF ADDR. TABLE?
BNE
S
;BRANCH IF NO
•• ***************************************************************
;'TEST 755
MEO TEST - VERIFY NOPS; READ R7 IN A & B SP
1*
THIS TEST CHECKS lLL OF THE "NaP" OPERATION CODES
TO ENSURE THEY WILL EXECUTE AS NOP-S lND
S*
1*
,~~ ~E~¥LAL~N hrU8E8~0'H~nGCODn= "NOPS"
.*
THI~ T sf ALf~ R lOS THE PROGRIM iOUNTER ~R7~ Y1LUES
~*
~~~~E~R~~EALy.B ¥~~l~~HA&aR~s§~Ssl~ET¥ATTAUCE IY.
i§***************************************************************
T755:
MOV
#754,RO
s~fflU~H~I~~6BETE56p'u~¥t~T~RD TEST # PRIOR TO SCOPE
SCOPE
MOY
M~DT3:
fT¥L3
Rl
~J~ItIA~lfi~TNQ~0~~~h5Er.TltT'fil~ED
1 :
MOYB
R )+;@#lOS
,AND POINT Rl TO L1ST CODE IN GROUP
MED
;EXECUTE MED WITH Nap OP-CODE
• !liaRD
0
CMPS
@jl0S,(Rl)
;HAVE lLL NOPS IN THAT GROUP
;BEEN TESTED?
BHIS
;BRANCH IF YES
INC
;NEXT Nap IN GROUP
i!lOS
BR
6$ :
TSTB
;POINT Rt TO NEXT NOP GROUP
TST
;HAYE ALL GROUPS BEEM TESTED
+
BHE
;BRANCH IF NO
MEDT4: MOYB
;LOlD
R7A READ CODE AFTER MED
aSR7 1+.1,@l5S
CLR
4$ :
iCLEAR RO
MED
jn~iDREAgER~o'NR;~E ASP
.WORD
5$:
0
CMP
;DID R7A READ CORRECTLY?
Ri,'5$+2
BEQ
iBRlMCH IF YES
MOY
;SlYE MED-CODE FOR ERROR
MOY
;SlVE DATA EXPECTED
;SlYE DATA RECEIYED
3
~2~OR 2~'@#
~nla
R~g :~~NR~A~c~~~1RIGRT VALUE
CMP
6$:
S,'47
~5~s
s~~t~cU76FRliB CODE lFTER ~ED
R7B+!, @,5$
BR
;TEST R7 SSP
8$:

f

.-

,-

r8!:

hH

05607

usn

5014

MPW

U

1:

994

h833
pOOl

r

0561~0
g~~ ~

056 3~
056f

sU
U
8g~U~

014H

°b~O~~
Aa3~2
o j4g4
AA0151

8~gUt

001104
056112
064431

SEQ 0276

ur

88n85

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKD1C.Pll
07-NOV-78 14:09
056020
2737 125252 001102
In~~
1327
0560i60 005711
4977 0560
4978 0560 '- 001310
4979
1 4980
14981
r~82
4 83
4984
14985

1

MACY11 30A(1052) 15-IOY-78 15:26 PAGE 277
MED TEST - RIW DATA PAtTERNS TO REGS
'754
SCOPE
'~~k~ElH~O~i~~~I~a¥~ U~ILITY
MEDn: MaY
MOY
IIltTIALIZE ADDRESS ~OI.TER
MOV
1$:
52 !2
MOVB
stg~ ~~Ii' iyD'oBIE~~R~~~EMED-S"
MOVB
MOYB
;PUt RElD CODE BY "READ-MED-S"
MOYB
;HEfRWE&i~!,~o3~T~~XT REG.
CLR
MED
SMED-READ HE INTERNAL REG.
~8i:
0
M~VRD
S~iVERtt~ 5Ri~INIL CONTENTS
RO'Ul'MPO
MaY
;SAVE ADDR. PTR. VALUE
Rh
TMPI
MaY
@
2,RO
;LOAD Rt WITH DATI TO BE WRITTEN
MED
s=~B:=H ~~ ~M~ETEST DATA
.WORD
0
US:
CLR
RO
;CLEAR Rg
MED
;MEB-R~A
THfi DATA BACK
.WORD
12$:
0
;M -R A CO E
MOV
RO~'A~TMP3
!E~I~ 8:T~IntDD~q~ i2Mk3RISON
MOV
@#
0, RO
Mlo:D
;MED-WRI+E ORG. DATA TO REG.
.WORD
0
13$:
;MED-WRITE ~ODE
CMP
~rTMP2' U$TMP3 ~DID D1TA EAD=DATA WRITTEN?
RANCH IF ~ES
~~i
SAYE MED-C D~ FOR ERROR
CMP
MAX. ERROR R PORTS YET?
f~~ih'l~lMPI
BLf
BIIANCH IF YES
ERROR
INT. REG. READ B1CK WRONG DATA
INC
MP4
INCREMENT ERROR COUNTER
14S:
COM
TMP2
CHANGE DATl PATTERN
3$:
MOV
TMPl,Rl
RESTORE ADDR. POINTER

056112

88HSg
000047
056112

I ih;UJ~~h

Ir
!

.***************************************************************
!TEST 756
MED TEST - CSP CONSTANTS CHECK
*
THIS TEST CHECKS THE CONSTANT V1LUES LOC1TED
IN THE C SCRATCH PAD. THE CONST1NTS lRE READ
*

CQKoA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOY-78 14:09

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 279
T756
MED TEST - CSP CONSTANTS CHECK

~8n

~8~~

'*

j!
-*

5038

056164
056164
056 70

~ui
5045

051. 02
05
04
05 06

~8~8

8~~~l~

~8~~

~8!9 Q~617~
05~ ~6

lt

504~

5049
5050

~g~~

15051

1~8~~
15056
pOS7

t~8~~

TST756:

000755

86g6~~

052\00
076600
000344
170000

8056
56120
56
~2
.4

056 6
056 30
056 32
056 34
056 42
056250
056252

001100
001 02

Hgg~

1

l~g,~

l5073
5074

t
1~gi~

8~~~~~

056256
056260
056266
056274
056302
056306
056310

012'700
000004
012737
°l~737

8656H
076600
000022

000756
000071
061104
000340
061112

177770
000004
000006

r

~HI

5p
155114
1
1l5
511~

H

05640~
05~40

05 40
856412
56416
056422
056426
056430

r ilUU
r~Ui
~lt3
ll

05r 5O

g~ ~~~

°r

~8l3g1

OlrOJ
0i 70

.~ ~B~
8~HH

°ng~Z

800; 4
852 00

3g~~~

l~n°
513~

rp~
51~6
~ 37
38

056502
056504
056506
056510
056512
056514
056516

064436

gg1~ya

056460

#BIT11,RO

;SET THE "CSP INVALID BIT" IN FLAG REG.
;EXECUTE FLT. PT INST. SO FLT. PT.
iCONSTANTS ARE LOADED INTO CSP
sf8IgPMi~B~~A~O~~~~RAT 1$
iBR IF END OF TABLE
iREAD INTERNAL CONTENTS INTO RO
iWAS THE CONSTANT READ THE ONE EXPECTED
iBRANCH IF YES

S~~~~ ~52~~~~TF~~LU~R~~PECTED

iCSP LOCATION HELD WRONG VALUE

100000

104015

061112
056460
001100

A8~H~

000744
076600

g~g~a~

8~~5~~ 8~g~~g
~i!8 056~
6 o 6600
1~14~ 056530 000222

001000

~~~

#756,RO
1~~ElU~H~Ii~~9ETfS~p&u~Vt~T'RD TEST # PRIOR TO SCOPE
ISWBOIL@#UBREAK ;LOAD MICROBK. REG. WITH AN MICRO ADDR.
BKROUT~@#4
;LOAD A~DR. Of MICROBK. ROUTINE IN 4
~:~f~lG
S~e~~RKM~~~5Bk:WTRA~R~e~ATY 7 IN 6
iGET WHAMI INTO RO

,MACY 11 30A(1052) 15-NOV-7B 15:26 PAGF. 280
T757
MED TEST - MICROBK CHECK OF MICRO-POINTS
BIS
#BIT9,RO
iSET BIT 9
iMED-WRITE THE WHAM I REG TO
MED
WRWHAMI
;ENABLE MICROBK-TRAP-TO-4
10$:
MED
iGET FLAG REGISTER
RDFLAG
BIS
#BITI5,RO
~~~6-~~ITk5T~~ ~eAG REG TO
MEn
WRFLAG
11$:
$~'~S&~KM~~~~B~H6HtbP~~gUR ON SWAB
SWAB
RO
TST
KFLAG
ioID TRAP TO 4 OCCUR?
;BRAHCH IF YES
BHE
CLR
TMPO
MOV
f5~01'@#$TMPl s~t~~0~~~i~T¥BA~B~~a~-4D~~RK
ERROR
,SKIP TO END OF TEST
BR
50S
#SWB01*10,R1
iGET CORRECT U-ADDR
1$:
MOV
iGET LOG CUI REG
MED
RDLCU A
,GET RID OF IRRELEVANT BITS
BIC
KA2~~07,RO
iWAS CORRECT UADDR LOGGED?
CMP
SEQ
;BR IF YES
ERROR
;CUA CONTAINS INCORRECT U-IDDR
~~
iINTIALIZE TABLE PTR. (Rl)
3$:
MOV
MOV
!nH'~~
iSET ERROR LOOP RETURN TO 2$
MOV
Ci'#~LPERR
;LOAD
WRITE
CODE AFTER MED
Mova
2$:
~R
, #12$
REQ
$f~A~FMi~Bo~~ ~~~~EWITH MICROADDR.
4$:
MOV
iCLEAR MICROBK TRAP-TO-4 FLAG
CLR
iGET FLAG REGISTER
MED
RDFUG
BIS
ItBIT15,RO
$~~6 e~IT~5T~NF~~G REG TO
MED
-ENABLE MICROBK TRAPPIMG
WRFLAG
15$:
CLR
RO
;IN CASE U-BREAK TRAP DOE~N-T OCCOR
;USUALLY BETTER TO WRITE -5
MED
.liORD
12S:
0
~8BKFLAG
~~a~N~~ I~A~E~OT~?N~~¥A~N¥~l = 0)
~iI
iSAVE MED-CODE FOR ERROR
1o40V
MOV
~~t~~o~~~Ei~iB_¥o~~DgIbo~O~R~g~UR
ERROR
15
;INCREMENT TO NEXT TABLE
20$:
T5TB
tl~+
;ENTRIES AND
TST
R2 +
BR
;CONTINUE
$
MED
iGET WHAMI INTO RO
50S:
RDWHAMI
CLEAR BIT 9
BIC
ItBIT9,RO
CLEAR THE FLAG REG. TO
MED
WRFLAG
13$:
CLEA~I~AIL5H~AiR~~~: t~APPING
104ED
WRWHAMI
DISABLE MICROBK. TRAP-TO-4
14$:

'r

~U~frt8BREAK

bZnH

005000

~B~ 8~~:g8 8gn~~
056462
~B~ 8~U~8 gH~g~
~B8 056476 011237
1'"

=ggPE
MEoTl1: MOV
MOV
MED
RDWHAMI

1

g18~

StiflU~H~I~~~~ETfgdp&u~Vt~T~RD TEST # PRIOR TO SCOPE

!*
i·********************************-******************************

gnZ88

(m

#755,RO

WRFL1G
MEoTlO: CFCC
MOV
10$:
MOV
8EQ
CLR
MED
1$:
.WORD
CMP
BEQ
MOV
MOV
ERROR
11S:

TST757:

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
001000
150B7 056312
15088 056316
056BO 8ntg~
l~g~g 056
2
5091 856~24 000144
g8~j O~~ ~~ 8~gl88 100000
094 056334 000344
5095 056rg 000300
061112
056 4
g8~~ 056
44 8gn~i
056 46 005037 001076
121513 001100
i~O~i
5~0 g~~i~~ n~ZH
15101 056 62 0004'53
1
701 000710
gl04 856i64
8 S6gg
5185 og~
0563'74 042100 100007
1
056400 020001

r °i

~g~PE

--***************************************************************
i!TEST 757
MED TEST - NICROBK CHECK OF MICRO-POINTS
THIS TEST USES THE MICROBREAK REGISTER AND THE
~!
INFORMATION IN TABLE V TO CHECK THAT THE
CORRECT MED-FLOW IS ENTERED WHEN EACH
~:
REGISTER IS ACCESSED BY A MED INSTRUCTION.
!*
THE MICROBREAK REG. IS SETUP TO CAUSE A TRAP TO
!*
LOC. 4 WHEN ITS CONTENTS EQUAL THE ADDRESS
OF THE MIRCOWORD BEING EXECUTED.
~:
!*
NOTE: THE MICRO BREAK - TRAP-TO-4 CAPABILITY
!*
IS TRIED AT THE BEGINNING OF THE. TEST.
;*
I~DltH~O~~~;TI~O~~tp~~DERROR IS PRINTED
-*

15067
15068
5069
5°io

~83~

SEQ 0278
T~ TH~IR

,

~~5

15064

5083
5084
15085
15086

§OMPAREo

il&Efl~ovlt&~~·ExJMETt8DAR~ f~ ~I8l~EViI~ NSTANTS

~5~LAG

004000

l~ggj

j

A!~

li**************************************************** ***********

15060
150bl

1nu

WITH A MED INSTRUCTION

001076

t!h~dU~~~O

SEQ 0279

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09
15143

056532

012737

l~tt~ 8~~~:g 81~~~~
4~
I~U~

is

SEQ 02BO

08~~~~~

00304

l5150

t~H~

1515~

ts 154
tgH~

15157
15158

056554
0~6554
056560

HI~6 8~g~n
056576

15161

I~U~

1~164

15165

l~U~

1 llb8

15169
15170
15171
p172

l~lH

15175

l~lH

i5178
15179
1~180
15181
l5182

t~lU

5185
5186
1
15187
15188
15189

5191
15190
~192

1

5193
15194
5195
5196

1

056602
056604
05E606
056612
056616
0566:'0
056622
05604
056632
0~6634
056636
056642

012700
000004

8H1H
g,~Zgg

000222
012702
005767
104023
000441

82~~~~

016600
000100

000757
056622
000340
100001

88888~

056563
177745

061220

000004

8~~~~8

001001
104024

0566~2

056656
056660

032700
001001
104C74

056662
056664
056666
056670
056672
056674
05667~
056700
056702
0~6704
056706

005005
076600
000102
010003
020002
00'401
805205
76600
000101
000300
042700

520~

g~%H~

~g~gn

5~04
15205
15206
5207
5208
5209
5210
5211

0567:24
056726
056730

005000
076600
000222

1

MOV
SCOPE
MOY
MOV
MOV
foolED
.RI/HAMI
~OV
ftI$+1,R2
TST
IS +1
~RRaR
23
BR
lOS
(SP)+,(SP)+
C~P
,",OV
#8ERR,@#4
'ED

ROLJA~

MOV

UI~~;~~,Rl

[lN~

io:RROf\

H

BIT

~BIT15+BIT2,RO

3IT

3S:

100004

4S:

S~~nOnS!TACK

;RESTORE OLD PC & PSII

;Tl~A~p~O~R~8~RRE~~~¥~R~ECOROED BY

$~~~Ng~uItR~6~ REG. DID NOT

TST

~~~E3toG~Y~R~g~~ AITS <17:16> LOGGED CORRECTLY

2~

CLR
"leD
RDLPRA
MOV

R5

RO,R3
RO, R2

e~:Q
17771'4

;SAVE ADDRESS OF ODD ADDR. INSTRUCTION
;DO ODD ADDRESS INSTRUCTION TO FORCE
S!*~Aag~PA~Dl~A~RI~ ~ID NOT OCCUR

INC
MED
RDLSERVICE
S'IIAB
RO

RN~:

CMP

5$:

5t~flU~H~I~~~BETf~~p&u~Vt~T~RD TEST - PRIOR TO SCOPE
;SETUP PC FOR ODD ADDR SERVICE
;SETUP "LOG FIRST" MODE

;REPORT ODD ADDRESS ERROR
;READ THE LOG JAM REGISTER
;WAS JDD ADDR. ERROR LOGGED BY LOG JAM
;BRANCH IF YES
,*** LOG JAM REG. DID NOT LOG
;ODD ADDRESS ERROR CORRECTLY
;CLR ERROR FLAG
;READ THE LOG PAA REGISTER
iSAY~ RECEIVED PHYS ADDR <15:0>
iWERE BITS <15:00> OF THE PHYSICAL
,BUS ADDR. LOGGED CORRECTLY?
;BFANCA IF YF:S
~~~IDE~~~RL~~A~ERVICE REGISTER
;GET "PAA 17&16" DCW~ TO BIT POSITION 0&1

ERROR

~~~

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-~OV-78 14:09
1~~69 056716 001402

1

2S:

8Hi81

1~13J 8~~1Ii 88~~8~

5~8~

1$:

f1Z 7774 ,RO

PI)

MACY11 30A(1052) 15-NOY-7e 15:26 PAGE 282
T760
PHYSICAL ADDRESS & ODD ADDRESS &RROR LOGGING
B~Q
10$
;AR IF NOT
11$:

~b~OR

lOS:

n

CLR
RO
Io4ED
WRWHAMI

$~H ~&y~gXfT~3l~~~~!1~t7:00>
~~8o kgg~~~sc¥~~~C6Efu~~~~
;DISABLE "LOG FIRST" MUDE

~~B
1
15214
5215
1~~H

t

5~1~

56732

~2~0 8
o~gHi
~2~~

012700
000004

000760

g6H~1
1 8BH1
8~g7~~
H~~~ 056760
012737

064046

t 5~23

5i24

056740
056 44

IUdP

056766
056774
057002

81HH
005000

857014

8qg~g8
88g~g1

5

1

1~,H

1

1~2~U

1

5 37
5 38
5239
5240
5241

~~~1

5~44
15245
15246
5~47
5 48
5 49

i
UH~
15254
1~250

00010~
12525
00000
057026
000340

177746
177746
~OV

8881U

."10 V

g~~g8~ 86S~8g
0~18H 076600
gHg~~

57024 000406
80~i8~~
8Hl88
057034 000352

00'50:12
C00200

IS:

2S:

g~1gU

n~8~8

057042

Op700

C00200

05iog2
057056

012711
012737

1252S2
C00116
000116

057072
057074

076600
000102

g~7848

808~~~

g~i8~~ 88~8g~

000114

CLR
MED
WRLPBA
M~D
WRLDATA
t-4ED
WRLTAG
TST
BR
MOV
MED
352
eMP
~~P)+'(SP)+
ERROR
t-40V
#200,PO
MED
352
~QV
'10V
CLR
CLR
IolED
RDLPBA

;CLEAR LOG PBA REGISTER
;CLEAR LOG CACHE DATA REGISTER
;CLEAR LOG CACHE TAG REGISTER
,READ TEST LOCO TO FORCE PARITY ERROR
;BRANCH IF NO TRAP OCCURS
·CLEAN OP THE CACH~
;~NITIALIZATION CODE
$*iiA~A~~T~T.~~p TO 114 OCCURRED
;WHEN IT SHOULD HAVE BEEN DISABLED

Si~~~~A~~zI~io~Ag~~E

;WRITE BAK GeOD PARITY IN TST LOC
;RESTORE ORIGINAL PARITY HANDLER & PSW

S~~i~RL5~R~~AF~~gISTER

SEQ 0281

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 283
CHECK DISABLE PARITY ERROR TRAP
T761
MaY
RO,R3
BEQ
INC
3$:
MED
RDLDATA
;SAVE COP~'
RO,Rl
MOV
;LOG CACHE DATA REG. STILL CLEAR?
BEQ
1~~A~5UII~ ~~¥ ERROR FLAG
INC
;READ LOG CACHE TAG REG.
4$:
MED
RDL TAG
MOY
RO,R2

CQKDA-C KDI1-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll
057076 010003
l~~~~ 057100 001401
5257

tS~~~ gUtS!
5 60

152~}

057110

5 64
15265

SHIH
057116
85HH
0'57124
0571:?f,
057130

1~~6

i~~M

1526~

HHo
15271

Ig~H

r

152'14
275
52~~
52
152 8
p2r
52 0

8§HH

057136

8~8ng
010001

8SHg~

076600

gygA8~

001401

SEQ 0282

B!';Q

88~18g
~gl~~,

005037

177'146

~HU 80638~

000761
064046
000100
125252

5$:

INC
TST
BEQ
ERROR

6$:

CLR

@ijCCR

U~d

f~~~~

IHU

152!l9
15290
1529~
1'529
1529
15294
15295

I~H~

15298
15p9
15 00

l~j8~

\5303
15304
15305
15306

nH&

1~~8~

857147

057150
057154

8~H~~

057170
057176

012701
005711
8BHl
042737
012737

g~B~~ 86~1H

057216
057222

8~H16

057230
057232

012700
876600
00352
104031
000405

8g~Hg
8g~g~g

p7746
00114
000116

000200

31

0~~l8g

000200

057247
057744

8B~~~

000340

g~B~l

8~H8~

177744

8~H~8

177746

~~OO,RO

1$:

;CLP.AN UP THE CACHF.
;INITIALIZATION CODE
;*** PARITV ERROR DID NOT CAUSE TRAP
;BRANCH TO 2$

800352

177744

2$:
A!,:Q

MOV

CQKDA-C K011-K BASIC LOGIC TESTS
CQI318

i~BZ
HH~
l~Hl

15325
15326
15327

19B~
t5330

0'57274
057274
05730Q

000762
057324

05730~

~ggaag

nn~ 8HH6

000004
000006
[\1{

153~4

l~h~

061220

15337

CMP
MOV
M~;D
RDLJAM
MOV
C'1P
nEQ
t:RROI{

000004

11~B~

5340
15341

1~~U

15344
15345
1534~

1~~~8

15349
15350

l~~~~

1535~
15354

g~1~~4

104033

057364

076600
000102

g~B~%

IB~~ 8~1Ha

p357

l~j~~

8~f~8~

05736~

057402

8~~Uj

012701
104020

2$:

020200

3$:
160000
160000

ERROR

057426

000004
000006

15365
15366

061220

000004

1~~241

MED
RDLPBA
CMP

~5~

15360
15361
1536

~~~~l~

CMP
REQ
ERROIl

5$:
4$ :

MOV
MOV
TST
BR
C"IP
MOV
MED

l~p~+,(SP)+
BfO:R,@#4
Ug~~~~,Rl

B
~R

IT 13+B IT7, RO

3j

RO,It160000
H60000,R1

rt

@#4
3 6,@#6
A+l

f~pa+'~SP)+

#BP. R, #4

,PHYSICAL BUS ADDRESS WAS
;LOGGED WRONG ON A UNIBUS
1~I~EH~TpC,psw FOR ODD ADDRESS
;FORCE ODD ADDRESS ERROR
;RESTOR!!: STACK

SEQ 0283

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
5367 8~i44~
177766
~US 057~t6 8°~~8~
o~ 701 000100
00140
f5370 057452
5371 057454 104024
1537
1537
15374
5
~ i~ 057456 032700 000004
5378 057462 001001
057464 104024
1~j~6
15381
15382
15 83 05r 66 0~6600
000004
l~ H~ 8~ H~
15386 057476
15387 057500 104036
p3fl8
5389 057502
153QO

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 285
T763
CHECK UKIBUS TIMEOUT, ODD ADDRESS AND LOG CONTINUOUS MODE
RDLJAH
HOV
I'CPUERR,Rl
CMP
;000 ADDR. BUT SET 3
,SIT6,Rl ,
BEQ
ERROR
~~¥RI~S RlTC~AS
;ERROR REGISJER. IN LOG

1

rr
1

21

1

1

SEQ 0284

?28¥

~£~'~~'U~a~o~Ag~oa~~

Jo~~~1

7$:

BIT
BHE
ERROR

6$:

MED

~2~~GtNTRO,#4

BEQ
ERROR

as

36

;BE LOGGED
;000 ADR. BIT SET IN
;LOG JAM?
;000 ADDRESS BIT WAS
;NOT SET IN THE LOG
;JAM REGISTER ON A
;ODD ADDRESS ERROR
;CHECK IF LAST INTERRUPT VECTOR
;WAS LOGGED?
;LAST ERROR VECTOPR WS NOT LOGGED

8$:

l~H~

•• ***************************************************************

15393

S'TEST 764

1~394

CHECK ILLEGAL INTERNAL ADDRESS TRAP

l~n~

15397
p398
5399
15400
15401

1~:g1

057502
057502
057506
057510

012700
000004
012737

000763
057540

p40g

057530
057534
057536
057540

012707
104034
000420
022626

177746

057560
057564
057566

Ol2701
001001
104035

15404
15405
15406
15407
15408
541

H~B

g§ig~~

8A~6H ~9~~:g

8~i~~6 8HUZ
nn~ g~H~~ gog;8~

HHl

r fH

4
54 8
54 9
154 0
54
154

061220

88888a
000004

IS:
@#CPUERR,Rl
#BITO,Rl

177766
000001
SNE

ERROR

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
15423 057570 032700 000040
15424
15425 057574 001001
1~2~~ 057576 104035
15428 057600

;010 "ILLEGAL INTERNAL ADDRESS" BIT CO)

;IN CPU ERROR REGISTER GET SET?
~~~tNI~L~~AlE~NTERNAL ADDRF.SS
;BIT DID NOT SET IN CPU ERROR REG.
;READ THE LOG JAM REG.

MACYll 30A(1052) 15-KOV-78 15:26 PAGE 286
CHECK ILLEGAL INTERNAL ADDRESS TRAP
T764
2$:
BIT
#BIT5,RO
;010 "ILLEGAL INTERNAL ADDRESS" BIT (5)
,IN LOG JAM REG. GET SET
BNE
; BRANCH IF YES
;*** ILLEGAL INTERNAL ADDRESS BIT
ERROR
;010 NOT SET IN LOG JAM REG.
3$:

1~H8

H~j~

15433

Htl~

1~~3~
i~nS
nl:~

iun

g~~~88

t5448

8~Uf~

15453

051640

15445

l~U~

000764

057604

88f~2~

15449
5450 8~~~~~
t
1~~~~
8~7~~~

t Ui~
~4~~

1

5457

5t60

177746

064046
177746
177746

8~7~~~

057654
05~656
05
664
05 672
057700

000001
057712
004150
000200

057112

000200

8~H8~
~tgi 057710

546
1546
15465

n4g~

pt68

tll~1
151~4

057736

l~:i~

057750

U4n

05i7~6

ghH~

888~n

000116
001062

8~HU

001401

PTRP1:

MaY

~~~

#200, RO

MOV
CLR
CMP
1ST

MOY

SEQ

1$

;WAS THE INSTRUCTION ABORTED ON
;CACHE PARITY ERROR (ABORT MODE)?
;YES

SEQ 0285

MACYl1 301(1052) 15-NOV-78 15:26 PAGE 287
T765
CHECK LOG SERVICE , MEMERR LOGS LO-HI BYTE , TAG, IN CACHE ABORT MODE

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOY-78 14:09

1 ~1~~
~:8t
~:~9

1

057752

104041

057760

g~868!

057776
060002

013700
022700

8~1i~~

IS:

076600

~:al g~1~gl 8~~i8: 666j~~
~:~§ 8~i7ia f81~~!

54~O

~:9~

H~~3

15494
5495
5496
5497
15498
15499
P500

1

~~g~
l 5503

15508

l~~~g

~~B
551

060012

860022

og8853

1 ggggU

~~15

~b~6gA

060041i
6 050

106201
106201
106201

552
5525

060060
060062
060064

aaU81
104017

55'8
15529
5530

060066
060070

076600

060100
060104

001403
012701
104016

11~~B

I~H1

3$:
064046

MED
RDLPHA
CMP

064046

~~~

000300

8~884~ 866~81

80~o8~~
8
8~8g1~

05270~

8g85g~

4$:
064046

000200

5S:
125252
125252

l1~~li g~gll~ ~~gA~~
1

8~8If~

8ttl08

000001

~~iS 81g11~ 008~I~Z7.~31
554Y 060li9
~ ~

fg8Ag8
061220

~545

5546

~~1~

5549
5550

5~~l

1~5~~

060114

860150
60152
060156

0002~2

801403
10g37
104 36

000004
000004

000114
001062

RO
IILOCl,Rl
Rl
Rl
RI
#BIT7,R1
n,RO

MED
RDLDUA
CMP
RO,,125252
ERROR

KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
5537

MED
RDLUG
SWAB
MaY
SWAB
ASRB
ASRB
ASRB
BIS
CMPB
BEQ
ERROR

~5~

CQ~DA-C

~~~~

RO,1tTLOCl

ERROR

86gig~

5519
5520
552j

~~~~

MUV
C"4P

001403

060036

~~~

2$:

0761i00

5516

t~~H

177744
100340

060006' 001401
060010 104043

l~~g~ 8g881~ 8g8b~~
H~8~

I

SEQ 0286

~f25252,R1
16

,READ "LOG CACHE TAG" REGISTER
iSHIFT RIGHT (3 TIMES) THE 16 BIT
;PHYSICAL BUS ADDRESS OF THE
JTEST LOCATION

It~HG'HIAg~RRI~T TAG LOGGED?
iYES
}TAG BITS WERE NOT LOGGED
1~~~~i~T~~~0~H~~SC~8~~ED

;READ CACHE DATA
,
iCACHE DATA LOGGED CORRECTLY?
iEXPt:CTED DATA

MACV11 30A(1052) 15-NOV-78 15:26 PAGE 28B
T765
CHECK LOG S~RVICE , MEMERR LOGS LO-HI BYTE , TAG, IN CACHE ABORT MODE
6S:
MOV
#8ITO,RO
;SET UP LOG CONTINUOUS
MED
WRWHAMI
;SETUP CPU VECTOR
MOV
;FORCE TIMEOUT & TRAP TO 7$
TST
7$:
CMP
iRESTORE
CPU VECTOR
MOV
,READ LOG FLAG/INTERRUPT REGISTER
MED
RDLFGINT
;010 LO BYTE CONTAIN VECTOR 114?
CI4PB
RO,#114
BE~

~RROR

SEQ 0287

8~

~6,@#$REGO

as:

060160

U~U

15551

nb

I

556l

~~h

5564

n~g~

<:5;)56 7
56 ~

1~~~O

t ~~1~

557l
557 3

1UIU

860160

0~8Ig~

8A~68~

000765

8681 66 8~2708
8igl~2 ol~~~i

060220

100001

~~~~ 8~82°1~ 8b5~~~ ~gg~~8

~~1~

5580

55 5

3
~~8~

55B8

1

~~ag

0602 6
060720

000462
022626

8~8B~

005767

060234

000004
000006

IS:
000004

012737
000453

g~8H8 8B~H
060246
060250 86g~88

# PRIOR TO SCOPE

061220

000004

CMP

(SP)+,(SP)+

MOV
TST
BR
CMP
HOV
MED
RDLJAM

n~{U4
~§HR~~~~)+

;SET UP NEW PC & PSW FOR
;TIMEOUT
;FORCE A TIMEOUT
;S~IP TEST IF NO TIMEOUT
iRESTORE STAC~
;BIT 4 OF CPU ERROR REGISTER
s~~9Ub~ ~~~Ep~EtOR ODD ADDRESS
;FORCE ODD ADDRESS TRAP
iSKIP TEST IF NO ODD ADDRESS TRAP
;RESTORE STACK

M.lCYU 30.l(1052} 15-NOV-78 15:26 PAGE 289
t766
CHECK "LOG FIRST" MODE OF ERROR LOGGING
MOV
WICPUERR,Rl
IT4,Rl
CMP
!;iJ~EgHI~K~IT SHOULD BE STILL

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
1559} 8~8~~g g~Hg1 177766
000020

l5~~
l~~~~ g~8~g~ ~813H

15596
15597

r~§~
~600

15601
1560f

1~g84

15605
15606
15607
15606
15609
15610
15611
15612
15613
15614
Vl)15
! ')'J Hi

i:;o17

15618
1%19
15620
15621
15622
15623
15624
5625
5626
15621
15628
15629
15630

1

060266
060270
060274

000436

060276

104037

060300
060304
060306
060310
060316
0110324
060330
060332
060334
Ofi0342

012700
076600
000222
012737
012737
00'5767
000415
022626
012731
02?737

Ofi0350
060352

001405
076600

060362

104040

g~gj~6

8Ul8~

g~g~g~

100004

3$:

6$:

100001
060332
000340
171741

000004
000006

061220
000100

000004
177766

U~OR

~~

;*** SECOND ERROR (ODD ADDRESS)

BR
BIT
BEQ

UIT2+BIT15,RO

S~~~~KT~~A~E~~O AORES ERROR BITS NOT

ERROR

37

;ERROR LOGGING
;000 ADRESS ERROR BITS GOT SET IN LOG JAM

?¥C~Al~g tV~s'R~8~E~OGBI¥ 4
S!UNIBUS TIMEOUTl SHOULD BE
SEil&~ SET FROM HE FIRST

MOV
#BIT15+BITO,RO
MED
WRWHAMI
MOV
MOV
6
TST
SR
l
~ fP)+,(SP)+
CMP
MOV
,BERR
eMP
BIT6~ 3#4CPUERR

IH6!U

4S:

BEQ
MEO
RDLJAM
"'OV
ERROR

171166

19~j~

15fi40
15641
15642
15643
15644
p645
5646

5649
1l~5-~~9

t 652
15653

J555~i564

t

65
15651

060364
060312
060376
060400

012737
Op'00
o 6600
000222

l

1i2~~

061220
000001

g~glg~

060406

012700
000004

000004

g~8~ig

HT767:

5I§

tgCPUERR,Rl

060420

000030

ga~7j7

061620

000030
000004

060420
g~g42~

022626
0l2~3~

060442

022626

060454
060456

000104
bi0027

000030

8Ag6~l

060476

000020

8o ~H~
2626

160001)

8~A~~g

g88gg~

80~2737
6600

061221~

000004

060l~6

8~8~2~

8~~Z~6

060466

022626
0~2737

~~g33~

061220

15673
l56f

nN~

g~8~H

060540
060542

1

8A~4
~3~a3~

000020

lii7'
56

060544

012700

000767

n

!II a V
MOV

;THE ERROR LOG WAS NOT UPDATED
'lUPON AN ODD ADDRESS ERROR)

8~8~~a

MOV
SCOH

000004

$~2~gTE~jT~~~3~¥ ~!T~MiS
!~~~~~R~Pv~Hg~

;SET UP CPU VECTOR
;FORCE TIMEOUT

2$:

3$:
4$ :
5$:

MOV
#4S,@,20
lOT
SP)+L(SP)+
C!fP
MOV
~SCOt'E,@t20
MOV
#~d830
TST
SP)+,(SP)+
CMP
MOV
BERR,@#4
MEO
RDLFGINT
CMPB
Ri,#20
BEQ
6
ERROR
3

6S:

MOV

I

1~g34

.SBTTL

5681
56H~

nu~

060550

8~8~~~

060556

t

5701
5702

060604
060610

104401
013746

#STN-1,RO

S~~~4~R~PBfi~A~~ROR VECTOR
;CHECK FLAG
;EMT VECTOR LAST LOGGED?
~f~GI~LI~~INT REG DID NOT LOG VECTOR
ILO BYTE OF LOG FLAG/INT REG S/B=30
;LOAD lOT VECTOR WITH 48
s~r~~~8pI~ti~~UPT-SHOUL LOAD LOG FLAG REG
;RESTORE lOT VECTOR
;SET OP CPU VECTOR
;FORCE TIMEOUT
~~k~t~R~PB~~A~~ROR VECTOR
;CHECK FLAG
;IOT VECTOR LAST LOGGED?
S~~GI~LI~7INT REG DID NOT LOG VECTOR
;LO~ BYTE SIB = 20
S~~tLU~0~gRT~~~s;8M~~~TF5UE~~TAND

END OF PASS ROUTINE

SEOP:

88ggg4
005237

ng~~ gg8~~a 8~~H1
060572 000001
I~U~ 060574
003027
1569~ 0605 66 8A~6~1
~~30 8~8~og 0605'12

~6~ElU~H~I~~a~ETE56p&u~Vt~T~RD TEST # PRIOR TO SCOPE

1$:

.ENABLE AMA

15690

Jt166,RO

15:26 PAGE 290
VECTOR IS LOGGED IN FLAG REG.

t~g80

mt:

,CPU ERROR REGISTER SHOULD
,BE SET. IT WAS NOT.
,RESTURE OLD PC(4), PSW(6)
,PUT THE LOGGING BACK INTO
,"CONTINUOUS" MODE

i3ERR,ftg4
BITO,

MACYll
T767

~b~6~6

060506
060514
060520

J

5$:

MED
WRWHAMI

000166

1~U7

566~
1 5670

!~U~o~R~R~ut8GBkR8~E&R~~I~¥~N.

•• ***************************************************************

g~8~1g
ls664
5665 060500

15666

;SET UP NEW PC & PSW FOR
;000 ADDRESS ERROR
;FORCE UDD ADDRESS TRAP
;SKIP IF NO TRAP
S~~~tg~~ ~t~C~C(4), PSW(6)

~~nH*~~~******;~~;~*;!U*I~I~~~~1*~~;I2~*!~*~2~~~2*!~*t;~~*~~~*

~~~~ g~8:~~ lo1~gt

5660
15661

sig~IB¥~~U~RR3~TL3~G¥A~CiF~~~ ~A~S1I~~¥EERROR

;ENABLE ERROR LOG AGAIN IN
;LOG FIRST MODE

SA~T¥fiI~Hfo~aiTwa~TE~As;ED.

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

1~g~~

J~~~EI~H&gfoJt=HIB~~Tiul~~E&IRST

,ODD ADDRESS BIT SHOULD
sf6G S
~~l4~~5~THE ERROR
,OK, IF YES

5$

l~gB

15633
15634
15635
15636
15631

SEQ 0288

001126

06510:1
001126

SCOPE
CLR
INC
BIC
DEC
SEOPCT: .WORD
BGT
MOV
SENDCT: WORD
hOPCT
tyPE
MOV

1

TIMES
P.lSS
100000,$PASS
PC)+

~DOAGN

iPC)+,@(PC)+
'

~~~~t-(SP)

~!r~~~E~~iTN¥:~E~A~~ ~O~~I.~IONS

;;DON·T ALLOW A NEG. NUMBER
;;LOOP?
;;YES
;;RESTORE COUNTER

SEQ 0289

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

un!
tun 18

g~g~12 Ig~~8i
0606f
060

P709
5710

I~Hi

1571
15714

I~H~

15717
5718
5119

1

8~8

4

013746
b84402

11~gb

060 40
060642

001405
000005

060650
060657
060g54
060 54
060656
060660

000240
000240
000137
003262
377
060664

gg8U2

06512~

00101

88~~lg
000

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 292
END OF PASS ROUTINE
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxxxxxxxxxxxx

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09

l~B~

;xxxxxxxi~iiiixx~xx~xx~xx~xx~xx~xx~i~~~i~~~xx~xx~xx~xx~XX~XX~XXXXXXX

l57~2

t~~l

.SBTTL

157 5
15726

UHi

15730
15731

I~H~

15734

HB~ 8~8H~

012737
012737
010046
010146
010246
010346
010446
01g637

1574~

000776

~g8H~
l~H~ 060734

I

5745

061036
000340

MOV
MOV
MOV

~l65

~7~~

5768

~Hg

tUn

=g~

000024

800656

HALT
BR

~1~: ~~

R4,- SP
RS - SP

i~~H~U ~1

sa

~tt~~

;;PUSH R4 ON STACK
··PUSH R5 ON STACK
~S'R§-~ P)
ISPUSH ~SWR ON STACK
#~~~Rtp~~#PWRVEC;S~~~~ U~ VECTOR
.-2
;;HANG UP

!~~:~~*~;*~s;;;;~********·*·**·**********************************

060736
060744

012737

060~64

076600

06 66
06 70
86 774

8

0002,~

8H~05
~i~~ 0~9Z68 8H~8j
5756 06tg02
061 04 8H~8i
5~57
5 S~ 06 006 °1~600
010
8 ~Hi
~ ~O g6
5761 g~ 8,~ 1 4401

un

~~OWER DOWN ROUTINE
~PWRDN: MOV
f1lLLUP~SRPWRV~C ;~SET FOR FAST UP
~g~
~b,~LI~~l VEC+ ;)PUSH
~~pfi~~:~o
ON STACK
MOV
R\,- SP
R1 ON STACK

~g~

061036
061042

8U82~
~u~ 8~8l~~ n~~n
060760 00~375
l~i~~ 060762 01 t600

15750
575~
575
575

000024
000026

gH~2~

}5737

Ut

POWER DOWN AND UP ROUTINES

.. ******************************* •• ******************************

060664
060672
060700
060707
060704
060706
060710
060712

000024

~~~

MOV
MED
WCNSSW
MOV
MOV

~g:
MOV

8O~ gU
040
06 042
06
06 52

~()44

844

88~fH

MOV

~~~E

047S20

f9H~g
001630

042527

ISILLUPL@#PWRVEC ;,SET FOR FAST DOWN
SAVR6,~P
';~ET SP
SAVR~
;;WAIT LOOP FOR THE TTY
SAVR
~;~~ITw~~~ THE INC
~P),RO
S~ET OLD SWR VALUE
,WRITE BACK ORICINAL SWR VALUE
;INTO HARDWARE SWITCH REGISTER
ISPI+'~SWR
,;POP STACK
INTO RS
~SWR
SP +,R5
;;POP
STACK INTO

~~ !'~1
SP +~R2

~~ !'~b

~!~gp ~itg~

f:i8

~~

~s~g~ ~+t~~

l=i8

~A

SSPOP STACK INTO R2

lPWR6N~S8PWRV~C !,SET UP THE POWER DOWN VECTOR
40,f'
VEe+ '6E~~~+7THE POWER FAILURE
~POWER
S;POWER FlIL MESSACE POINTER

SPWRMG: .WORD
SPWRAD: ~~~RD

~~~3~'(SP)

JJ:~il::i t~D~~~gP

SILLUP: ~ALT

.-2

SST~~FbBlE~H~PpB5~gE~g5NwOisS~~~~f~TE

RT!

ogo~g~

Og0776
o 0000

~8~

000024
000026

O~ gj9 glt6U
6
o

§PWRUP: MOV
MOV
1$:
CLR

120044

860664
00340

SEQ 0290

ti~i~~o

88bbH

377

MACYll 30A(1052) 15-NOV-'78 15:26 PAGE 291
END OF PASS ROUTINE
'TYPE PASS NUMBER IN OCTAL
TYPOC
TYPE
EOP2
s~lCi ~~I~~RT5¥~~TFO; TYPOUT
MOV
hRTTL,-(~P)
;TYPE ERROR TOTAL
TYPOC
TYPE
SGET42: MOV
fsi~IN~RMIJO~oA~g~i~~R
BEQ
;;CLEAR THE WORLD
RESET
PC,(RO)
;;CO TO MONITOR
SENDAD: JSR
NOP
;;SAVE ROOM
NOP
B~g¥ll
NOP
SDOAGN:
JMP
;;RETURN
t(PC)+
NIT
~RTNAD: .WORD
;;NULL CHARACTER STRING
ENULL: .BYTE
-1,-1,0
.EVEN

i~A~~~i ~ASCIZ
PWRUP:

.EVEN
MOV
CLR
JMP

<12>"POVER" ;;PUT THE SP HERE
STACK,SP
tSURT

I,psw

SEQ 0291

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09
5776
5777
5778
5779
5780
~~B~
061070 062716 000002

MACYll 30A(1052) IS-NOV-7S
POWER DONN AND UP ROUTINES

8gl~Z~

8~6Z8~

ooooio

000002

15785
l~i~~

15793

I~H~

SEQ 0292

TBSER:

ADD

ali

.SBTTL MICROBREIK TRAP SERVICE ROUTINE
'i************************** ************************************

t~U~

15788
15789
15790

PAGE 293

) ******:;;;;~*:;:*:i;*;~;;i~;*;~~;i:;*******************************
; ***********************.*********************************************

1

l 578~
15784

15:26

~U~~ ¥HMT~~~T~~~EhlsS~I~NAE'~I~ED

J*
061104
061110
061112

005237
000002
000000

061112

6;ROUT: INC
RTI
BI336

5894
\5895

g866H

063250
063252

061240
061242
061244
061246

05737
8 01~11
105
37
032 77
001356
104401
065205
000740

}~5~911~4 8gf~g~

0866~6

t~~g~ 8Hllt
t590~

5907
5908
5909
15910
15911

1
t

H~l~

861220

dl~H

061256

000747

Si5666

;THE SERVICE ROUTINE
BERFLG
BETST: COM
RTI
BERR:
TST

2$:

063252

Ig9~~

P§26

19~~~
t~hg

~~H g~B~8
g~B~6

g~;i~~

001124
061276

1~4~~ oH~6~

rnSH
032777
SHit;
0427~7

002000

~612~4

15938

061306

594;
5943

06b~4
061332
061336

UUg 8~l~l~

020037

~04011

l~§:~ g~lj48

l~~:~

15950

~~~~

l 5953
5954

5955

1~~S~

15958
15959

l~g~~

15962

1~963

hgg~

020037
001510

881H~

061346
061350
061352
8gq5~

032777
001104
000416
Op746
°02p7

040000

000004

0~HZ8

06h~0 gl~fiH

b00004

02~6~~

8~0~I3

000004

A057 P

001003
001015
001000
001010

861 j74
8U~8~
061406

061406
061412
061414
061422

0614~4

8~H3~

000453

19H~;

101015

8~UH

000446

5971
15970

061456
061464

32777
8og~~H

004000
001126

15976
15977

061506
061510

012737

000001

H~a~

061552
061560

oOi~h
11
737
01 777

t~9g~ 8~U~~

l~H~ °gU~~ 00140~
861474
89~Bi
l~~~~ 061500 002024

8818A~
l~H~ 8U5~~ f~~~~1 001002
061~30 113h7
1~U~ 061536
061542 8ll~3~ 8~lg08
hUj 061546
06 566

1

g~ ~:Jl

°HZH
Ao 140

1

l~~~~

8~U~g

005200
010037
000002
000200

inn

ggUl~

888Ag~

15990
15991
15994

l~gn

06 600
061602

BIT

~t1~
BIC
CMP
BEQ

MAClll 30A(1052} 15-NOV-78
SCOPE HANDLER ROUTIN~

00

AiL

88108!
001006

001002
001124
063244

15:26

PAGE 296

117472

000004

001003
117406
001006

~858~~

006415

ERROR

063242

061442
061444

1Sn~

)DEPRESS CONTINUE TO ATTEMPT RESTART

~56B

117524

H:JijA~ 8~BH

15966
J5§67

15986
p987

1~~JA~.~a~~fgp~l~o~Rn~fT~~~~nOLS OUT

~tjs

001112

;QKDA-C KOI1-K BASIC LOGIC TESTS
;QKDAC.P11
07-NOV-78 14:09
15946
15947

RSBERT
@IICATERR
REST AR

0'

1~~3.~

1

BIT
BNE
TYPE
BEMSG
BR
INCB
HALT
BR

;SET BUS ERROR TRAP TEST FLAG
;RETURN TO BASIC TEST
,ANY CATASTROPHIC ERRORS PENDING?
$~~TItA~i~TROPHIC ERROR FLAG
;INHIBIT ERROR PRINT
IJ~I~~ X'~lP TO 4" MESSAGE
;TYPE REST OF BUS ERROR MESSAGE

.SBTTL SCOPE HANDLER ROUTINE
••••• *•••• ****.* •••••• ** •••••• ***.** •• **** •• *••••••••• *•• ** •• ****
!'THIS ROUTINE CONTROLS THE LOOPING
SUBTESTS. IT WILL INCREMENT
I*AND LOAD THE TEST NUMB~RS~TSTNM~ INTO THE DISPLAY REG.(DISPLAY<7:0»
i*AND LOAD THE ERROR FLAG ~~ERFLGf INTO DISPLAY<15:08>
~:IU~4!~ITCH OPTl8~~ ~~O'ISTD BY HIS ROUTINE ARE:
;*SW11=1
INHIBIT ITERATIONS
;*SW09:1
LOOP ON ERROR
;*ClLL
,*
SCOPE
i;SCOPE=IOT
$SCOPE:
CMP

15922
15923

159~5

neB

117600

5917
1
I~H~

t ~§U

~¥.~L2~N~ONE

~~~~f~yT,gA~N¥A~U~~!O~~RA~ET~~~DM~~HI~¥S~A~A~K~"~~¥g~T18NAefl~lTI~G

l~n~

l~~~S

}~384

SEQ 0294

Stn~ ~B~§E~~~O~FT~~~(g~ i~NSR~w~S~~L6~:INDICATE IF STACK OVERFLOW CAUSE~

~u~

t5~g3

PAGE 295

117354

001004
001004
001110
001124

MOV
MOV
TST
MOV
BR
CMP
5$:
MOV
BP
~~; i 1I#1I#,~~g
BEQ

CMPB
BHI
BIT

7$:
4$:

~~~

BR
CLRB
CLR
BR
3$:
BIT
BNE
TST
BEQ
INC
CMP
BGE
1$:
MOV
MOV
$SYLAD: INCB
MOVB
MOY
MOY
CLR
MOVS
$OVER: MOV
MOV
CMPB
10$:
$MXCNT:
SCOPEA:

n~

MOY
200
COM
RTI
PTJ

@#SCOFLG

iTHESE TWO INSTRUCTIONS ARE
;USED 1M THE BASIC TESTS TO
;VERIFY THE lOT LINKAGE

SEQ 0295

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
16000
1600i
l600

t~88
1~88~

16007

Ugg~

16010
16011

U8H

16014
16015
160176
1601
16018
16019
16020
16021
16022
16023
16024
H;07'3
10026

16027
16028
16029
16030
16031

USH
UgH
16038

16034
16035
16039

061620

61620 010546
8061626
61622
8Hln
061632 010025
061634
061636
061640
061 fi42
061644
061650
Ofill357.
01)1654
061656
061662
061664
061672
061676
061702
061710
061716
061724

8~HH

061736
061736

010125
010225
010325
010425
022715
001001
010615
012605
105237
001775
013777
005237
011637
16,737
B2Hi
001004
004737
104401
122737

001060
000004

177777
001003
001002
001012
001016

OOOOO~

M6A80
62046
01115
000001

8

8~H:~ ~~H~1 g2;~U
U8~~ 061754
004737

16042
16043
16044
16045
16046
16047
16048
16049
16050

061760
061761
061762
061764
061770
061772
061774
062002
062004
062010

16053
16054
16055

062022
062022

a85~

8~~8U

000
000
000777
005777
100001
000000
032777
001402
013716
00573~
00140
01371
01 '2737

117150

001140
061760

117050
001000
001010
001112
001112
177777

117036

001074

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-7S 14:09
16056 062030 042766 000020 000002
16057
16058 062036 000002
16059
1~81i 8R~82~
063240
16062
168zl
19065
16066
16067

88SAg3

U8~~

16070
16071

198H
t6074

16075

U81~

16078
1607

8
U8~~

U833

t
l!gR~

gOB~

6896

160~0

16091

U8~~

199~6~

t609
16097
16098
19099
.

t6t8~
16102

U18~

Ul86
16107
U18~
un~

062046
062046

8g28~1

06~056

062062
062064

104401
010846
005 00
153700
001004
013746
104402
000426
005300
006300
006300

00111 !i
001014
001016

006~00

R~6~0~~
o 1404

A440
3~8A
;

001115
062 36

000000
104401

001115

°H600

001115

A0

oAl2~~4
10 401

8H88~

Aoo~8~

013046

A8~4n

f8PU
000~71
020040
062202

06.2176
000

MACYll 30A(1052) 15-NOV-78 15:26 PlGE 297
ERROR HANDLER ROUTINE
.SBTTL ERROR HANDLER ROUTINE
.,***************************************************************
~ THIS ROUTINE WILL INCR~MENT THE RRROR FLAG AND THE ERROR COUNT,
~:i:gEG~HEOER~~~T~~EaNHg~18~ AND T E ADDRESS OF THE ERROR CALL
S*THE SWIicH$OPTIONS PROVIDED BY THIS ROUTINE ARE:
.*sW~i=i
HALT ON ERROR
;*sw =
·lNHIBIT ERROR TYPEOUTS
;*SW =
OOP ON ERROR
;*CALL
;*
ERROR
N
;iERROR=EMT AND N=ERROR ITEM NUMBER
$ERROR:
MOV
;SAVE R5 ON STACK
Mnv
;GET POINTER
MOV
~~~l~ ~~R~~RP¥~pIZu'~EGAD FOR rYPOUT
MOV
MOV
;SAVE Rl IN $REGI
"lOY
;SAVE R2 IN SPEG2, ETC.
MOV
MOY
eMP
s~~ ~~ y~~READY STORED IN SREG5?
BNE
MOV
~~~!T~~EI~5$REG5 FOR TYPOUT
MOV
10$:
INCB
7S:
};SET THE ERROR FLAG
BEQ
;;DON·T LET THE FLAG GO TO ZERO
MOV
;;DISPLAY TEST NUMBER AND ERROR FLAG
INC
MOV
Jla~i I~~R~~~onFC~H~~R INSTRUCTION
SUB
MOVB
SS~t~~PT¢~~o~~YiFT~~TERROR ITE~ CODE
BIT
BNE
;; SKIP TYPEOUTS
JSR
;;GO TO USER ERROR ROUTINE
TYPE
20S:
CMPB
;;RUNNING IN APT MODE
BNE
;;NO SKIP APT ERROR REPORT
MOVB
;;SE~ ITEM NUMBER AS ERROR NUMBER
JSR
;;REPORT FATAL ERROR TO APT
.BYU
21S:
.BYTE
BR
;;APT ERROR LOOP
22S:
2S:
TST
;; HALT ON ERROR
, BPL
;;SKIP IF CONTINUE
HALT
;; HALT ON ERROR I
3$:
BIT
;;LOOP ON ERROR SWITCH SET?
£lEQ
;;BR IF NO
MOV
;;FUDGE RETURN FOR LOOPING
4$:
TST
;;CHECK FOR AN ESCAPE ADDRESS
SEQ
ss~fio~~ ~~'ijRN ADDRESS FOR ESCAPE
"'OV
5S:
MOV
;FLAG CURRENT STACK POINTER TO BE TYPED

MACY11 30A(1052) 15-NUV-78
ERROR HANDLER ROUTINE
j#20,2(SP)
BIC
RTI
ERRA:
~~~
@#ERRFLG
.5BTTL

15:26

PAGE 298

;CLEAR T BIT IN CASE ERROR OCCURED
; IN T BIT TESTS

~i~E~HET=2sl~sf~g~§I~~SY~~fFVS~RE EMT

ERROR MESSAGE TYPEOUT ROUTINE

,,***************************************************************

'*THIS ROUTINE USES THE "ITEM CONTROL BYTE" (SITEME) TO DETERMINE WHICH
i*ERROR IS TO BE REPORTED. IT THEN OBTAINS~ FROM THE "ERROR TABLE" ($ERRTS),
;*AND REPORTS THE APPROPRIATE INFORMATION ~ONCERNING THE ERROR.
SERRTYP:
TYPE
~CRLF
H~~C~RA3GE RETURN" & "LINE FEED"
MOV
h,-(Sp)
CLR
,;PICKUP THE ITEM INDEX
RISB
nSlTEMS,RO
BNE
$ERRPC,-(SP)
MOV
TYPOC
SR
1$:
DI':C
ASL
ASL
ASL
ADD
MOV
BF.Q
TYPE
25:
.WORD
,SCRLF
TYPE
3$:
MOV
O).,4 S

o

45:
5S:
6S:

n~E

T:~~D

n
o

SCRLF
MOV
~RO),RO
BNE
MOV
dp)+LRO
TYPE
~~CR.LtRTS
7S:
MOV
IH RO) +,- (SP)
;;SAVE 8(RO)+ FOR TYPEOUT
TVPOC
;;GO TYPE--OCT~b ASCII~A&~ DIGITS)
TST
~RO)
I~E~~ ANO EA HUM E
SEQ
TYPli:
;~TYPE TWO(2) SPACES
SR
BS:
.ASCIZ I I
B~~g~2) SPACES
.EVEN
; *****************************************************************

ij$

!'31

SEQ 0296

SEQ 0297

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09

MACYII 30A(1052)
PRINT ROUTINES

lUB

lun
t.ll1
1m
,

063236

15:26

PAGE 299

SEQ 0298

*******~~II~*~~IVt*~~Vtl¥~i**************************************

;

8~B8t 88gA~3

15-NOV-78

PRINA:

~~~

.S8TTL

TYPE ROUTINE

STYPE:

TSTB
BPL
HALT

@#PRIFLG ,

SO~I~EBiW¥HINS,l~~~TI~~~SA'~ VERIFY
;THE TRAP INS RUCTION

61~~

~l 4
161 5
161~6
161 7

m,l
I'd
um
mm uun
rHO
6133

~B~

614
6 4
6141

'I'

161~

u ~~

16 48
6 4
16 5&
615~
16 5
53
6 54
6155
6}56
6 57

1'1

86r
224
0 ~ 230
06 236
06F40

o~

g6H~~
24'
06~260

0

010046

°H~~9

8888g~

,
3

g~~Hg

AOI01~
13273

0014
0100
0047 7
000000

262
0~~270 A~t6~1
06 272 112046
0&2716
000002
122716

062322

001006

06 332
0r233b
0
0 P40
344

55
88H
1237~l

gon~8

UI~S 8~BU ~HHg

ri60
6 6~

l~lg

Ir64
165
16~
6

I

000100
000040

IS:

001141

000002
000011
000200

l~ll;

l~iH

Illra3!
16
} 61 5

dle~

U18B

16pg

1M)
19l~~
Ul§~
g~go

I h8t
6205

U~8~

1620B

iU~g

6 13
1 ~j2B

I ~I

8o~6

36~ 8o~17~
~~o

062374

5S:
6$:

BHE
TST
YPE
CRLF
LRB
BR
JSP
CMPB

1053ji
000770

8g~3~~

8~~:gg
000040

8~~36~

0624b6

116422

888g~~ AA8~H
062466
000012

~~~B

!

062466

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
16168 062350 001350
161~9
062352 013746 001054
l~ 79 06}356 1~5366 000001
t61il
}6175
16 76

60S:
3S:
4$:

61!:
62 :
2$:

°8U~6

8g~1~~
06 3, 0 AOl11~
105037

SR
MOV

MOV
CMPB
nNE
BITB
BEQ
MOV
JSR
.WORD
BITB
BNE
MOVB
BNE
TST
MOV
ADD
RTt
CMPB

001140
001141

001005

862274
06B 0
06 02
063306
06 310

'226'

001057

000002

~~HARCNT

~~ STYPEC
SFiLLC,(SP)+

MACYIl 30A(1052) 15-NOV-78
TYPE ROUTINE
BNE
2$
SNULL,-(SP)
MOV
DEC8
lSSP)
BLT
JSR
~~I.STYPEC
DECR
;~I1ARCNT
BR
;HORIZONTAL TAB PROCESSOR
MOVIl
8S:
B~,~~~~~c
JSR
9S:
BITB
87, SCHARCNT
BNE
TST
~~P)+
BR
STYPEC: TSTB

~b~B

CMPB
BNE
CLRB
BR
CMPB
BEQ
INCB
SCRlRCNT:.WQRD
STYPEX: RTS

hps
,JYP~c

f~~~H~gPB
~HARCNT

15:26

PAGE 300

SEQ 0299

;;IF NO GO GET NEXT CHAR.
~~i~6 iH~PNbltL~~A~~ARS. NEEDED
;;DOES A NULL NEED TO BE TYPED?
;; SR IF NO--GO POP THE NULL OPF OF STACK
;;GO TYPE A NULL
;;00 Nor COUNT AS A COUNT
"LOOP

REG.

I

TYPEX
H~HSP)
PC)+
PC

.SBTTL BINARY TO OCTAL (ASCII) AND TYPE
.***************************************************************
'THIS ROUTINE IS USED TO CHANGE A 16-BIT BINARY NUMBER TO A 6-DIGIT
*OCTAL (ASCII) NUMBER AND TYPE IT.
*STlPOS---ENTER HERE TO SETUP SUPPRF.SS ZEROS AND NUMB~R OF DIGITS TO TYPE
*CA L:
~~Jos
NUM,-(SP)
;;~~~~E~0~OT~~E6~~ED
*
.BYTE
N
~~N=1 TO 6 FOR NUMBER OF DIGITS TO TYPE
:
.BYTE
M
;;101=1 OR 0
:
ssA~!~~~R~~aDl~iDf~~O~EROS
*~TYPON----ENTER HERE TO TYPE OUT WITH THE SAME PARAMETERS AS THE LAST
:~IZr?S OR $TYPOC
:
TMyOpVON
NUM,-(SP)
;;NUMBER TO BE TYPED
*
;;CALL FOR TYPEOUT
*STYPOC---ENTER HERE FOR TYPEOUT OF A 16 BIT NUMBER
*CALL:
*
MOV
NUM,-(SP)
"NUMBER TO BE TYPED
*
TYPOC
;,CALL FOR TYPEOUT

:

CQKDA-C KDII-K BASIC LOGIC TESTS
CQf(OAC.Pll
07-NOY-78 14:09
16224 862472 017646
o
16225
62476 116637
062715
16226 062504 Ap~3l 06271'
062510
000002
igH~ 062514 00543~
000001
16229 062516
000006 8g~H~
16230 062524
16231 062532 112'13'1 000005 062714
6232 86~540
6 542 81gU~
1
l~B~ 062544
16235 062546 ~B~~~ 062717
6236 062552 005404
062554
~taU4 ggg~~~
1~~3~
16 39 8~~~~~ 1 3'101 062 15
6605 000012
062570
16240

888Sg

fHH

1

gg~~1~
U~H 062600

16243
16244
16245
16246
'( 41
4~

1~2J~

16251
16252
16253
16254
16255
16256
16257
16258
16259
16260

U~~~

16263
16264

062602
062604
062606
062610
062612
062614

g~~~~g

062676
0626JO

g~~~H

062636
062642
062646
062652
062656
062662
062664
062666
062670
062672

U~~~ g~~fl~

16267
16268
16269
162'10
1627~

I627 .
62p
162
62754
16276
162'17
16278
16279

062700

88
~~8~
000404
006105
006105
006105
010503

Y8~~g1
~~gn~

000060
000040
062712
062712
062714

012603
016666

000002

062712
062713

g~HH
062716

Iml
US

000004

000
000
000
000
000000

~8B8~

oBn

ggj8n

IUn

Un!
16
16

0
1

8

88UH

8Hdi

8~~H~ 88~U~ gO~1~~
063140 105037 06 1 4
063 44

105037

Af~gg~
tU~~ 06~
8UI~~
56
gba~g

60
lli~! 86gg6i U4
161
U ~~9
163

8g8
06316g

ud

88go~8

Uj~O

au~

000

88gg81

063 63
063162

rrot

i~~O •.1...

d

88i1

i6~97

if

!6

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKD~C.Pll
07-NOY-78 14:09
062720 112737 000001 063164
16~80
16 81 0627'6 112737 000001 063162
16282
16283 g~~Hl ~~gig~ 000001 063164
U~U g~HU 010046
46
16~86
06H
06 50 ngH~ 063162
16 87 06p54
~n~ 06 756 ~B~~9 000001 001140
8~~~&4 ~B9H 000100 001141
062 7~
062776 gH~6ij 000g04
063002 062 66 000 o~ 000004
00112
l~~§g 8~~81~
~~
0 37 001134
6 98 8~~8~~ °A 570 0
A013 16 001134
06jO~4
06
0 6
86 0 34
2
63
g8Aog~ 001120
063 8 40
846 00041~
U~85 06
063 50 01763
000004 063074
16306 06~856 06~~66 O~~~~g 000004
16~07 06 64 804 ~~ 062210
1938~
000000
16310 063076
063164
06r 76
g~ 18~
001140
63
16314
63 pO
12 8gHl~ 001120
1166H56
8~H~g
og08 04

mn

rl'-~SPL

r

gBg8~

8g~H8 8H8~~

SF.Q 0300

d

062716
177770

001002
805704
01403
005204
052703
05~70,
11
33
104401
10~337
003347
002402
005204
000744

MACY11 30A(1052) 15-NOY-78 15:26 PAGE 301
BIURY TO OCT AL (ASCII) AND TYPE
$TYPOS: MOY
,;PICKUP THE MODE
SP, FI L
NOYS
;;LOAD ZERO FILL SWITCH
MOYB
OF DIGITS TO TYPE
SPlS~JOMODE+1 ;;NUMBER
,;ADJUST RETURN ADDRESS
ADD
BR
ON
FILL
$TYPOC: MOYB
;;SET THE ZERO FILL SWITCH
MOVB
;;SET FOR SIX~6~ DIGITS
A: OMODE+1
$UPON: MOVB
"SET THE ITE A ION coun
5,
3,SP
MOY
MOV
B~tn
~~
~~,: ~~
MOV
;;SAVE Q5
MOYB
;;GET THE NUMBER OF DIGITS TO TYPE
NEG
ADD
;}SUBTRACT IT FOR MAX. ALLOWED
86 R4
MOYB
4fioMODE
SJ~~¥ET~i I~~OU~~LL SWITCH
MOVB
iO LL,R4
MOV
;;PICKUP
THE INPUT NU~BER
~rSP)'R5
CLR
~~~&'t~ET~~BOy~~gT"~9RD
ROL
1S:
SR
2$:
ROL
~~
i5~8R2°Tn~~ DIGIT
ROL
RS
ROL
R5
MOV
~1,R3
3$:
ROL
};GET LSB OF THIS DIGIT
DECB
;;TYPE THIS DIGIT?
~OMODE
RPL
}'SR If NO
7777O ,R3
BIC
;;GET RID OF JUNK
SNE
;;TF.ST fOR 0
TST
,}SUPPRESS THIS O?
• '8R IF YES
BEQ
~~
4$:
INC
;;DON'T SUPPRESS ~NYMORF. O'S
jj'O,R3
BIS
;,MAKE THIS DIGIT ASCII
5$:
BIS
,;MAKE
ASCII IF NOT ALREADY
R3
MOYB
3~~$
SS~~V~y~~RT~I~I~¥GIT
TYPE
DECB
,}COUNT BY 1
7S:
NT
BGT
;}BR IF MORE TO DO
BLT
~~~~S~~ED~~~T DIGIT ISN'T A BLANt<
INC
BR
;}GO 00 THE LAST DIGIT
MOV
;; RESTORE R5
6$:
MOV
H~~~+g~~ ~~
MOV
~~ !'U
HOV
;;SET THE STACK FOR RETURNING
>:4PP)
( ~SP)+,(
P)
MOV
RTI
"RETURN
B$:
• BYTE
;;STORAGE FOR ASCII DIGIT
0
.BYU
;;TERMINATOR FOR TYPE ROUTINE
0
DIGIT COUNTER
;;OCTAL
.BYTE
0
10CHT:
OFILL: .BYTE
0
OMODE: .WORD
11~5~gE'I~~ ~~~I¥~ T~ TYPE
0
.SBTTL APT COMMUNICATIONS ROUTINE
,;***************************************************************

ggAAg~

liT'''

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 302
APT COMMUNICATIONS ROUTINE
},TO REPORT FATAL ERROR
MOVS
~ATY1:
r,fFFLG
;,TO TYPE A MESSAGE
ATV3: MOVB
hy~FLG
BR
,;TO ONLY REPORT FATAL ERROR
lTY4 : MOVB
l,SFFLG
f nyc:
};PUSH RO ON STACK
MOV
RO'-1SP~
;;PUSH
Rl ON STACK
MOV
RIV SP
TSTB
~M L
;;i~O~b~:TY&fi A MESSAGE?
SEQ
CMPB
SSOPERATING UNDER APT?
• 'IF NOT: 8R
BNE
IPTSPOOL,$ENYM ;;SHOULD SPOOL MESSAGES?
BITB
BEQ
S$~~TNa~~SA~~ ADOR.
MOV
ADD
M§dyp~
;,SEE IF'6S~~Pw'EI~~~ }2¥~SION?
TST
1$:
.. IF NOT: WAIT
BNE
MOY
$;PUT AOOR AN MAILBOX
TSTfl
;;FIND END F MESSAGE
2$:
BlfE
SUB
hSGAD,RO
SS~~¥ ~~~~IG~FL=~iRA¥~ WORDS
ASR
MOY
;}PUT LENGTH IN MAILBOX
RO ~MSGLGT
MOV
;;TELL APT TO TAKE MSG.
~4: MSGTYPE
BR
3$:
MOY
;;PUT MSG AD DR IN J5R LINKAGE
ADD
;;PUSH 144~'~PO~E~¥~~KADDRESS
MOV
~i~~6~~(SP)
JSR
;}CALL TYPE MACRO
OC,STY E
.WORD
5 •
1 $:
T5TB
FLG
SHOULD REPORT FATAL ERROR?
~&N~qU UB~ER APT?
¥~~
~iY
SEQ
IF NOT: BR
TST
11$:
FINISHED LAST MESSAGE?
ia~GTYPE
BNE
IF NOT: WAIT
MOY
GET F.RROR =
ADD
~fBU P RETURN ADDR.
m
M§dyp
INC
TELL A TO TAKE ERROR
CLRB
FFLG
12$:
CLEAR F AUL FLAG
eLRB
LFLG
CLEAR LOG FLAG
CLRB
M~LG
~&~A~T~e~SU'oFkAG
MOV
S ~+,Rl
POP RTACK INTO RO
~P +,RO
~~~
RF.TU N
FLG
.BYTE
0
MESSG. fLAG
.BYTE
0
LOG FLAG
~FLG::
FLG: .BYTE
0
FATAL FLAG
.EYEN

liFt.Hv,s,,,
ih~~RO

R~6~~SGAD

t(SP~~'S

4g:

r

r~p~~l

r

tn~n~o6r 0
tn~~9~~o
• SBTTL

8

TRAP DECODER

.

SEQ 0301

MACYll 30A(1052)
TRAP DECODER

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NOV-78 14:09

15-IOV-78

15:26

PAGE 303

SEQ 0302

UB~
UB~

O
UU
634~

1 6343

063166

010046

06~ 00

go~~gg

g~~li~
ga~~~o
063 76 111008

000002

U3~~ 8~3 g~ 0~0200

063222

fUU

16~47

16350

l~~~~

t635~
16354
16355

011646

80838~

U~~~

000004

16358
16359

UU O

1636~
U~U
l~~~~

16367
16368
16369

l~~H

063227
063224

8~Hj3

063232

063210
062210
062516
062472
062532

t6372
16373

IMH
16376
t 6377
t~HS

16380
163Bl

UUi

un~
au~

16388
16389
16390
16391

0632:14
063~)6

063 40
063 ..,2

g~B4~
8~B~g
063254
063256
063260
063~62
063 64

000000
000000
000000
000000
000000
000000
000000
000000
000000
177400
177400
177400

177400

CQKOA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NDV-7R 14:09
16392
16393 063266 000004
6394
6395 063276 063~22

1

19~~~ g~~~gg

063~04

064634

1640~

063312

000000

1664878

063~24

17777A

6410

063332
063334

125252
052525

063336
063340
g6~3H

000000
000000
000000

t6~09 8g~3~g ~66~~7
6:1~

1
lUP

6414

t641~
6418

1U~6 0~3~46
UB g063350
63}52
63 54
6H~
63 56

l

~425

6426
64~78
64

6435

I

063360
063362
063364

0631~6

~: Z 8~j

U~~
6434

79

0g~ 14
863408
063402
063404

IH~H

177776
125252

~H,H

052525
125252
177777

F~~~~

0~2~24
8~~5~5

12S~5~

052~25

b~~*5g.
U~~ g~~~~g 125253
0634i2 052525
~H~ 063414 000000
U~O

644~

6443
6444
6445
6446
16447

1

I

;FLAGS, CONSTANTS, AND VARIABLES
BPTLOC: 0
$~i~~~~O}aT~SER DEFINED ~AINTENANCE
iFLAG USED BY BASIC TESTS FOR TRAP TEST
~~U~g~ gO
;FLAG USED BY BASIC TESTS FOR EMT TEST
;STORES SR<8:0) FOR LOOP ON SELECTED TEST
SELTST:
!~Eig 8~EBA~~CBI~ttSTk~~ 6~TRAi~TIN.TR TRAP
~~~Hgi
;FLAG USED BY BASIC TEST OF BUS ERROR TRAPS
BERFLG: 0
;FLAGS USED BY BUS ERROR AND RSVD INSTR TRAP
CATERR: 0
;SERVICE R2UTINEi
ONCE:
0
MISC~[~2tiloC~O~~:~EI
TL~ HAS BERN PRINTED
;COMMON DATA STRUCTURES AND
JOL11 OUTPUT TEST BUFFER
OBUI-":
177400
177400
177400
177400

g

MACYll 30A(1052)
TRAP TABLE

Isur:

.BLKW

MBUFO:
.,BUFt:

o

g~~~~8 8gj~lt

l!i8~ 8f.j~~g 888888
16406 063322 000000
~41j

;;THIS IS US~ TO HANOL~ THE "GETPRI" MACRO
STRAP2: MOV
(S(PS)(·,(S(~»
;;MOVE THE PC DO~N
MOV
4 PJ 2 _P
;;MOVE THF. PSW DOWN
RTI
;,RESTORE THE PSW
.S8TTL TRAP TABLE
,*THIS TABLE CONTAINS THE STARTING ADDRESSES OF THE ROUTINES CALLED
-*BY THE "TRAP" INSTRUCTION.
ROUTINE
!
$TRAP2
hRPAD: • WORD
TTY TYPEOUT ROUTINE
;;CALL=TYPE
TYPE
TRAP+~~104401~
TRAP+
04402
TYPE OCTAL NUMBER fVITH LEADING ZEROS)
TYPOC ;;CALL=TYPOC
TYPE OCTAL NUMBER NO LEADING ZEROS)
TRAP+ 104403
TYPOS ;;CALL:TYPOS
TYPE OCTAL NUMBER AS PER LAST CALL)
TRAP+4 104404
TYPON "CALL=TYPON

0634~6

0634 0
0634 2
063424

15-NOV-78
4

15:26

PAGE 304

;OLll INPUT TEST BUFFER

g~~6~a

16398

1!!86

000002

000000
000000
000000
177777

DWU:

8
o

ih

400
125252
;ALSO SERVES AS NULL ENTRY FOR ALUADD
ALUADD: 052525
;THIS TABLE OF a ENTRIES IS USED BY THE ALU AOO TEST IN THE
;COMBINED INSTRUCTION HSTS
000000
JSRC OP1
000000
JDST OPI
000000
iANSI

l~~~ii

11~~~~

Y1~1i~

~5~~ 8~~

!AR~20P3

~Ri~30P3

052525
125252
177777
I~S5~25522

,'SRC OP4
lOST OP4
;ANS4
;SRC OP5
lOST
OPS
JANS5
;SRC OP6
iDS! OP6

~~5~~3

iDST OP7

oI 2 24
5~55255
8 ~~
2
d52~i~

~~=E60P7

r~g sg
S~I~70P8
052 25
;DST OPR
ANDTAB: 000000
;ANS8 -- ALSO NULL ENTRY FOR ANDTAB
;THIS TABLE Of 8 ENTRIES IS USED BY THE ALU "AND" TESTS IN THE
;COMBINED INSTRUCTION EXERCISER TESTS

88gsgg
000000

177777

5~~To~~1

ANSI
SRC OP2

SEQ 0303

CQKOA-C KOII-K BASIC LOGIC TESTS
CQKOAC.P11
07-NOV-78 14:09
16448 063426

MACYll 30A(1052)
TRAP TABLE

15-ROY-78

15:26

PAGE 305

HACYl1 30A(1052)
TRAP TABLE
000000
052525
052525

IS-NOV-78

15:26

PAGE 306

SEQ 0304

U~~g 8~U~~

16451

063434

16454
16455

063449

IU~i
IU~~

g~Ul6

06~444

8gd~g

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKOAC.Pll
07-NOY-78 14:09
16458 863457 000000
63454
16459
6460 063456 g~~~~~
063460
82Ugi
06 66
6465 063470 052525

t~t}
64~4

nnu

1U2~

8~~~H B~~~~

64'1 ~
f473
64f
~4 5

063476
063500
061502
06
504

64 0
lU!!
64

r~l!
~: s
64 0
164 ~

3

g~3~~g

8U~H

0635~6

000000

177777
177777

H~~n

It¥m
hHH

A

,~~m

nun

8U~~t l~~~~~
25

063 26

liil
tUd

lU3~
6496

ri

061~'i
82j~4

A 25 ~

~n~

06 5~
863550

552525

o~U~g

ooooo~

~~~~~ H~~;~

497

~4n

6~8°
65

g~8 }

1~~1~
65 ~

ih3

l~~U
65
65

8U~~i
063566
063570

8g~~7~

8~00O
1 ~~~
1777'17

ooooog

a~~~~~5

~nn~

l~~~~~

tim~~~
n

OOOor
nn7!

I~gi~~

A~25

!~i H

063610

B52~~

1 5252

86U8~
og
06 A~~~~~

;SRC OPI
,DEST OP1
HNSI
;SRC OP2
;OSf OP2
"lNS2
;SRC 0O~~
;OSf
;ANS3
;SHC OP4
!i~J40P4
; SRC OP5
;OST OPS
;lNS5

J5~¥ 8~2

"ANS6
hRC op~
;OSf OP
;US7
;SRC ope
052525
;OSf OP8
iLUSCB: B;~;~
;ANS8 -- ALSO NOLL ENTRY FOR ALUSOB
1~3~~I~~EL~N~~R8c~'~~I~~EI~Ig~~OT~~i~E lLU SUB TEST IN THE

063600

063s~6

~5~~ B~~

;lNS7
;SRC OP8
;OST OPS
DRUB: B~~~~
;ANsa -- ALSO NULL ENTRY FOR ORTAS
I~M~~ltIRLfN~~R8c"~~I~~E~~[M~~OT~~TTHE ALU "OR" TEST IN THE
052525

000000

1m
. ~n~u 0~~5~~
r~r
0635 0

Aig~~~

o ~525

;ANS5
;SRC OP6
;DST OP6
;ANS6

~ ~~~3

5~~

an

ANSI
SRC IlP2
OS! OP2
US2
SRC OP)
OST np3
aNS3
SRC OP4
OSf OP4
nS4
SRC OPS
OSf OPS

SEQ 0305

CQKDA-C KDII-K BASIC LOGIC TESTS
01-NOY-18 14:09
CQKDAC.Pll

MACY11 301(1052)
TRAP TlBLE

!

65 0
16521

8636gH. 0 8~ ~
ogf
06 626 U~ U
063630 b25253

r

063636
063640
06~642
06 644
063646

UB}

g~ ~~~

lUii

80

~~~ti

525
6526
6521
6528
16529
16530

U~~4
U~3~

16531
165~8

U~4Z

16541

Ug:1
16544

6545
~546
541
1654B
6549

1

1
19~~~

16552
16553
16554

U~~~

6557
6558

1

06~650

063656
06~6bO
06
662
06 Mi4
063666
0636~0
ggU
~

8

gg~1g~

005502
00'560~
00620
006302
105002
105~O~
105
0
10530
10550~

18~~8

063616

10510

063104
063106

106 O~
151 0
014302

8~H8~
8~HB

06~114

063716

8gjB~

063124
063126
063130
063132
063134

8~3H8

06~742
Ug~g 063144

HB8~

14130,
3O
1r
B8~
041302
051302
006702
00540~
16130

8

828~i~

16561

063146

16564
6565
6566
16567
165fi8
16569

063754
0637!>6

063164
063766

000302
160302

1

8~~H~

~R~B

TSTB
ASRB
ASLB
BISB
XOR
CMPB
131T9
RICB
MOVA
CMP
BIT
AIC
BIS
SXT
~EG
SUB
CMP
BIT
CMPB
!lITB
TST
TSTB
CMP
BIT
CMPB
!lITB
ADD
SWAB
SUB

10ti~02

d0312
131302
005712
~05712
21312
03131~
12131

a~~j

INSTAB: TST
CLR
COM
INC
DEC
ADC
sac
ASR
ASL
CLRB
COMB
INCB
OEca
AOCB

o0 5102
5002
o 5102

8~H~~ b~BH

CQKDA-C KOII-K BASIC LOGIC TESTS
CQKDAC.Pll
01-NOV-7R 14:09

1~~1~

8&1~~~ gtg~g~

16572
16573

063774
063776

16576
16571
6578
6579

064004
064806
064 10
064012

105402
102400
102000
000005

064020

040302

1&~1~ 8~~g83

1~~~O
658~

1

8~~8l6

lr030~

Y8g182
8~g~g~

~~~i 8g:8~~ fi8~8~

6585
~~3~

064026
064030

~~R~ 8~~8~i

88888?

U~~~

U8~

6603
6604
6605

rt

':l

' R2
R3 ~R2

F

:~ ~~~

R3 ,1<2
R3 ,R?

p~

(R3)~R2

nq~~l

rr

il'l"l
:i
~~ ~ ~~

~R~2

H1,R2

15:26

PAGE 30B

;ALSO SERVES AS INSTAB TABLE TERMINATOR

1~~~53

TABLE II
FOLLOWING IS A TlfLE OF INTERNAL REGISTER OPERATION CODES
USED FOR TESTING THE MEo INSTRUCTION. LABELS CORRESPO~O
~gD~;G~~tEEo:A~~~f IU~ UA¥~EB~65E!S THE READ OPERATION
NOTE: WHEN A~DING OR DELETING
ENTRIES IN TH S TABLE, CHECK DUAL
AODRESING TIS TO SEE THAT THE "SCRATCH
PAD LIMITS" ARE MAINTAINED.

un
1
1~~U

16615

~hj
16625

H3~~P2

8

l~~g~

l

~~

R2

8

16608
6609
6610

lliU
6~~1

~~
~~

MED TEST TABL~;S
TLOCl: .WORD
0
0
PSWHOL: .WORD
TABBEG:
TABEND: :=8~g
40
STGBLIC: .BLK,.
VADR:
.WORD
0
0
PA1716: .WORD
PAlSoo:
TLOC2: :=g~8

888888
000040
000000
888888
000000

d~n

R2
R2
R2
R2

~ 77421

000000
000000

}6591

~~
~~

MACYI1 30A(1052) 15-NOV-78
TRAP !AIlLE
ADD
MOV
MOV
~OVB
ROL
ROLB
Nt::GB
IlVS
BVC
RESET
CMP
~J~~~
flIT
R3,R2
BIC
R ,R2
CMPB
R ,R2
BITB
R ,F2
BYCB
R ,R2
BISB
DWTS:
o
1
400

;*

0641.6

06F66

shUg
064174

20\

~8j

204

88~

ooj
004

TBL2:
ASP

~~t

R3A
R4A

.BYTE
.BYTE

.BYTE
.BYTE

SEQ 0306

S¥~~INN+~~TO~U+N~I~~~~~OfNTOi~i08~ INSTRUCTIONS
ROM LOCATIONS

R2

1

14030~

15030

illl
~Jl~l~ ~~~~~i
6594

l
I

011302

PAGE 307

S~~I80P8

~i~~~i

aH~ 8UU~ li~~~~
16524

15:26

elNS5
$sRC 0~6
lOST 0 6
(lNS6
,SRC OP~
lOST OP
Jn~7 OPS

~~!m
or

U~H 8~UH 8~igig
0636~6

16516

15-NOY-78

SF.Q 0307

CQKOA-C KOII-K BASIC LOGIC TESTS
CQI(OAC .Pl1
01-NOV-78 14:09
005,
16626
205
16627 g~~~6~
206
006
16628 064202
210
010
211
U~~g 064204
064206
212
213
16631 064210
014
16632 064212
4
16633
16634 8~Hl~
16635 0642~0
011
211
01°1
lUl~ 8~H~i
n~
16638 064226
222
g~j
6639 064230
223
6640 064232
226
026
16641 064234
227
027
16642 064236
230
030

rH

1
UgH 8U1lg
16645 064244
16646
16647
16648
16649

t~~~£
1 ,,(-,'i2

16t)53

16(,54
166~5
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671

UfH
16674
6675
6676
116677
16678
16679
16680
16681

064246
064250
064252
0642~4

064706
064256
064260
064267.
064264
064266
064270
0647.72
064774
064276

g~Hgg

064304
064306
064310
064:H2
064314
064316
064320
064322
064324
064326
064330
064332
064334
064336
064340
064342
064342
064344

~H

234
235
236
23.,
241
242
243
244
245
246
250
251
252
253
254
255

~~~

260
261
~62
63
266
270

~H

274
275

~H

300
301

sU
gU

o

83~

oj.,
o 4
8~g

031

041
042
043
044
04S
046
050
051
OS'!
053
054
055
056
051
060
06l.
06"
063
066
07(1

8H
074
075

g1~

10(1
10l.

CQKOA-C KDI1-1( BASIC LOGIC TESTS
CQKOAC.l'll
07-NOV-78 14: 09
10:;!
16682 064346
302
16683 064350
303
103
16684 064352
304
104
064354
lOS
UU~
~81
10
1668
16688 064362
111
064364
11~
a6~z 064366
11
~H
16g9~ 8~HH
1669
224
B~
16693
025
225

ggUg8

86~H~

un~ og~40~
06 40

16696

19~~~

iB
~~~

000000

HZ
8g~

inn

U708
O~

150
15

11.,1

0644 0

000000

6~0~ gu:;~

rm
tUn
mr

Ug

~~ g

lU
151
177

H€8:~i

TBL3:
NOPS:

s*

~oo

317

8U:

064436
06443

UH~ gg2U
Z
064441
064442

2~~

Hl

In

115
267

000
007
040
047

114

PAGE 309

SEQ 0308

.8YTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
FOSTO:

~,g ~
~r~Or

~~~~8~~2

;A SCRATCH PAD-HI

~ ~, 0

n:8j~

}~r7
~~gn
000

2 4 034

~l~~gn
.ByfE

237,037
)B SCRATCH PAD - LO

~4~,041
2: ,g~~

244~044

~:g~8~~
1~~~g~~

;'!52,05~

~~l~g~4

255,055

~~~:g~~
3~~~8~f

;B SCRATCH PAD - HI

~~j'8~j

266~066
270,070

~H:8H
H~'8H
276 076

f

.BY E

217,077
iC SCRATCH PAD

~8~~18~

PAGE 310

SEQ 0309

~UfiH

'it
0644f
0
0644 ~

.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
FOST1:

MACY11 30A(1052) 15-NOV-78 15:26
TRAP TABLE
LPBA:
.BYTE
~g~'lg~
LCUA:
.BYTE
LFGIN: .BYTE
304: 104
LWHlM: .BYTE
LUG:
.BYTE
i8~~18~
CNSCO
.BYTE
.BYTE
CNSCl
3H~IH
.BYTE
g~,~~ .BYTE
CSP :
CNSTO:
316,116
RTll:
.BYTE
224,024
.BYTE
RT!A:
~25,0~5
RT S:
.BYTE
RT B:
.BYTE
g~~86~
.WORO
0

;:

gU~~i
06442

:un

FACO.4:
FACO.S:
FEA:
BSP2:
CSPl:
.BYTE
LJAH:
LSERV: .BYTE

!*
{*

~~p

16736
16737

Hg~:ji

FAC2.4:
FAC2.5:
UR6S:
FOST2:
IICSS.O:
WCSS.l:
WCSADR:
RZERO:
RVECT:
FACO.O:

.it

6 9
167 0

iun

URi

R5B:
R6B:
FAC2.0:
YAC2.1:

H~

6715
6716

l~i
~
67 8

&A~i:5:

FOST3:
WCSA.O:
"CSA.l:
GN"HAM:
CNSTS":
CtfSSW:
CNSCDR:
FAC1.0:
FAcl·r
FAC • :
FACI. :
fAC1.4:
FACl.S:
FPSHI:
ASP2:
BSP1:
RIB:
R2B:

15:26

:nu ~n:8n

FAC3.3: .BYTE
FAC3.4: .BYTE

'it
'*
Sit

064404
064404
064406
064410
064412

r

HB:~i

-*
;!

16699

16704
16~85

MACYll 301(1052) 15-80Y-18
TRAP TABLE
.BYTE
R5A:
R6A:
.BYTE
~8~'
8~~
210' 0 0
FAC3.0: .BYTE

TBL4:
ROA:
R1A:
ROB:
R7B:
CNST2:
CNSTl:

;:

TABLE III
THE FOLLOWING IS 1 LIST OF "NOP" OPERATION CODES

~ua3R~I~hA¥EAU~~8
.BYTE
.BYTE
.BYTE
.BYTE
.BYTE
.8YTE
.WORD

Hg'H~

tl;U

~H~~~ ~3D~~Dwt~~TN~TT~ANG.
A
B
C
D

150~151
6
7

jGROUP
GROUP
;GROUP
,GROUP

0

;A 0 TERMIJilTES TABLE

r 'f

§~~ ~~

J~~8H~ ~

TABLE IV
THE LIST BELOW CONT1INS THOSE OPERATION CODES
CORRESPONDING TO THE INTERNAL REGISTERS WHICR MUST

~~Ii~~5~fy~E~~R31~hYIBE~tg~~ eM~l ~~~cfi¥t8N~N~t~ ..

.BYTE
.BYTE
~8~' °8~
.BYTE
24~:840
.BYTE
24
}41
.BYTE
~14:
.BYTE
17, }47
TABLE v

fsL5:
LeDTA: .BYTE
MD:
.BYTE
CNSCTL: .BYTE

:nu

ng

115
267

,LOBYTflHYBYTE - WRITE CODE, READ CODE
S~X~~~T ~~STA~Yc=~~ ~~S~8IE T CODES

;TRIS TABLE CONTAINS

TH~

OPERATION

jiR¥~~ ~&s;HgiETllti8N~ I§~GJ~IERS
;MICROBREAK REGISTER. THEIR
;ASSOCIATED MICRO-ADDRESSES ARE IN

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 311
TRAP TABLE
;THE NEXT TABLE
.BYTE
06
.BYTE
JAM:
14
SERV:
PBA:
.BYTE
CUI:
fLAG:
.BYTE
.BYTE
U~
DREG:
.BYTE
REV:
!4~
SREG:
COUNT: .BUE
NUA:
.BYTE
RES:
.BYTE
DCSO:
; INIT REG
.BYTE
153
DCSl:
;TA8LE TERMINATOR
.BYTE
0
.EVEN
;TABLE VI
f;L6:
iTHIS TABLE CONTAINS THE MICRO-ADDRESSES
ULCDTA: .WORD
3330
.WORD
3pO
!~~~:HT~R¥E~¥A¥"~ A~l2A~~5NM~~~~~REIK
.WORD
UMD:
j
,CONTIINED IN THE PRECEEDING TABLE.
.WORD
UCNSCTL: :=8~B
.WORD
UJAM:
USERY: .WORD
.WORD
3176
UPBI:
.WORD
UCUA:
UFLAG: .WORD
.WORD
j3~g
UDREG: .WORD
.WORD
UREV:
O
3 50
USREG: .WORD
3r
UCOUNT : .WORD
.WORD
§3~1
UNUA:
.WORD
g~g6: .WORO
j~56
3 ~4
UINIT: .WORD
UDCS1: .WORD
3721
TABLE VII
~.
!.
THIS TARLE HOLDS THE OPERATION CODES AND THE CONSTANT
{.
VALUE EXPECTED FOR CERTAIN INTERNAL PECISTERS.
faL7:
C['JAM: .WORD
100,77600
CLSEPV: .WORD
CLPBA: .WORD
18~=~gooo
CLCO!: • WORD
19~:~oooo
CLFGIN: .WORO

:Q~DA-C ~DI1-K BASIC LOGIC TESTS
:QKDAC.Pll
07-NOV-78 14:09
064443
067
16P3
140
064444
16 3
°U~~~
1674~
674
143
86444~
16r
06445
344
144
~4
345
16745 gU~g~

IH

U
UH~ 8U~U
064456
U~~9
U s~ 8UUl
16753 064462

tr

6 4
6 55
6 56
16757

H~~~

06445~

064463

153
000

064464
064464

16 60
16761
16 62
166 64
63
l6765
6 66

8644r

16769
16fO

0645 4
0645f8

1
U1f~

u;

347
351

0644~8

g~:h2

644 6

gU~ ~

003330
003150
003375
003271
803~40
OJ 24
O
003U
003 1
003170

064534

~n~

064536
064536

000100

16?9!
679

064552
064556

000103
000104

6n~

0~4~ ~

gH~

8g4~U 88818~

Jill

-.

0~7600

828808

8g888~

QKOA-C KOI1-K BASIC LOCIC TESTS
07-NOV-78 14:09
QKDAC.P11
4 064562 800105 054000
6 95 064566
00107 024000
16r
16 96 064572 OOopo 17i400
17 600
06~576

WI!
~i8~

1 6 R04

Ih8~
680B

8~4~~g2
0646
8646 6
Ug~g

e09

8Un8
064633
64634

UU

8g:U8
064640

rI~mUH

16817
18
16B
6 19

I~m
gl~~
6 24
6825

U~~
U~3

8UgH

6 37

un

r~~
g

4
69
6 4
4
6
45
6r

A88~88

000116

00000
888881

000
125

377

252

~~~

001

120

888A~6

6

MACYl1 30A(1052) lS-NOV-?S
TRAP TABLE:
CLWHAM: .WORD
i8~'~~S88
CLrAG: .WORD
CCNSCO: .WORD
110:177400
111,177600
CCNSC1: • WORD
C8NSSf
•
WORD
11~'~88000
C ST O:.WORD
1 4'
CCNST : • 1i0RD
CC NSTO: • WORD
116=0
CeNST!: • WORD
A17 ,1
.WORD
.EVEN
OBTA:
000,371,252,125
.BYTE
DBTB:
000,001,120,253
.BYTE
;~ESSAG!,:

027523

020102

0201~4
8gU~8 0405
7 020123

064656
8646r
646 6

8g:~0~

864710

8Ui~~

OU146
°ff6
~ ~~
064170

!i~O 8
6 3}

iili

~~hH

02°H4
8H048
052040
024040
024040

851505
51111
051505
04 520
050123

051504
051504
004524
0044~1
0045
0044 1
004451

8UH~23 8~~g~i
8~~n~
O~b~O
r2 2
201r

o~H ij

nHI

02r

,'T 8U3?1
050050

8~~8i6
0650 4

865042
65050
65056
065061

1 3

gg3i
024

~

2
052123

8~~~~~

011
051040

020011
020 1
024

gAA

868gB

t:"'r

EM :

1S:26

PAGE 312

SEQ 0311

TABLES

• ASCII
.ASCIZ

'SIB DST '
'WAS DST '
' OEST'CHT>
' (IR)'CHT>' TEST'CHf>' (PC)·' (SP)''WAS SP'' (IR)'' TEST'' (PC)'<8T>' IS R3'
<12)'ENO PISS 1/ '

Elol :

EM7:
EM6:
EM5:

.1SCII
.ASCII

SRC OP

TEST'<12>-CQIDAC

0~0512

BEMse:

.ASCII

-TRAPPED TO 4 PC = -

050101
047524
041520
020123
042520
042411
004504
R46101

RSMSG:

.ASCIZ

-TRAPPED TO 10 PC

EMIl:

.ASCIZ

-TESTS SKIPPED-

0"11:

.ASCIZ"

EM12:

.lscrl

IMED DID NOT ABORT IN USER MODEl

gl~~ig
04~10!j

EM13:

.ASCIZ

INED EXECUTED IN USER MODEl

EM14:

.ASCIZ

IMED CHANGED P5WI

EMI5:

.ASCII

IMICROBREAK TRIP-TO-4 DID NOT OCCUR I

U~l~~

EMI7:

.ASCIZ

ILOGCUA LOGGED WRONG I

8~J~U

EM21:

.'SCIZ

ICSP CONSTANT WRONGI

EM22:

.ASCIZ

IBAD DATA READ BY A NEDI

gUUt

05 503
04 111
020122
000
042105
043516

8 4~440
4 524
05 440
04 515
041440
042105

040505
050101

820A~~

S~l~H 047g~~

SEQ 0312

=-

iiil'!
&~~81g

020124
0124
o01 2523
o 2504

.ASCII -ERROR COUIT

PAGE 313

EOP2:

8~~Ag~ 84i~2g

8488~8

15:26

0475~2

047A~5

000040
051124
°l0104

15-101-78

KD11-K BASIC LOGIC TESTS-<15><12>

=-

PC""EXPCTD"'REG-WAS-REG+l''REG-S/B-REG+l'

,

PC'(HT>' (IR)'' TEST'
PC//MEDCODE MICROBK REG.I

I

PC//FLGREGI

PC/ICPUERR//LOGJAMI

SEQ 0315

CQK01-C KOI1-K B1SIC LOGIC TESTS
CQKD1C.P11
07-NOV-78 14: 09
843514 0425}2
p074 067430
7075 067436
20040 0415 0 8~~~H
17076 067444 033461
037066
17077 067452 051455 gU3~~ 050040
17078 067460 026501 030474
067466
6O
04O
H8~6 067474 8H8
o 306! o 64 6
0405H
gU1 Ug~ ~
H8~~ g~~~~a 036055
17083 067516 000076
0460 1
1'084 8gH~g 8Ug:~
0045 1
7085
7086 067534 847514 842107 05~1 1
05 107
04501
1~8~~ 8~~g~6 043501 47g6~
040 050040
17089 067553
17090 067560 042515 042515 8gtig~
H8§~
8~8 050040 004503
17093 067574 047514 051507 051105
17094 067602 041526 000105
p095 067606
7096 067614 8~8~~8 8~H6g 8~f3!1
11097 067622
o0
0~Hg5 042126
1709P
110qq 067630 801016 001076 001100
17100 067636 000000
17101 067640 001016 0011 00 001102
17102 067646 001062 000000
001016
001102
17103
17104 8g1~~6 001104 88AA88
In05 067664 001016 000000
17106 067670 001016 001064 001062
17107
000000
17108
001016 001062 000000
17109 067706 001016 001064 001066
067714
001062
001070 000000
P110
001064
001016
001066 88A868
7113 067734 001060 001066 001070
17114 067742 001064 001072
17115
001016 001076 001062
17116 g~H~~ 000000
17117
067756
000
000
000
000
000
7119 067760
067764
p1~0 067764
71~ 067764
001072
o 7766 00 070
IH~~ 067770
S6~
6
8~6660 0010~4
6 g8A8A8
l~H~
"1129 070006 001072 0010~0 001064

M1CVll 301(1052)
TRAP TABLE

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
17130 070014 001062 001016 001060
17131 070022 000000
1713~
8j88j~ 886868 001124 001062
000001

MACYll 301(1052)
TR1P TABLE

°r

g
gnB8

1

8

8gHZS

ggH16

PllS

l~h~ 8!HU

HB4

gg1

,

15:26

PAGE 317

PC''

OH27:

.1sCIZ

/

PC//LOG01Tl//LOGTAG/

OH32:

.1SCIZ

/

PC//MEMERR/

OH42:

.1SCIZ

/

PC//LOGSERYCE/

DH44:

.1SCIl

gJ~~~~

8gHM

i BB

15-NOY-78

8818

.EVEN
OTl5:
0121:
0122:

.WORD
• WORD
.WORD
.WORD
.WORD
DT25:
.WORD
0126 :
• WORD
.WORD
DT27:
DTEIS1: .WORD
.WORD
OT46:

8lHi

DFlS:
DFl7:
.EVEN
OT~:
DT :
DT4DT~6:
DT :
OT6:
DTS:
DT3:

OTtl:

.END

.BVn:
.BYTE

.WORD
.WORD
.WORD
.WORD
• WORD

.IIORD

PC//EXPCT//RECVO/
$F.RRPC,$TMPO,$TMP1,0
SERRPC,$1MP1,STMP2,SREGO,0
SERRPC,STMPl,$TMP2,STMP3,0
~ERRPC,O

ERRPC,$REG1,SREGO,0

~ERRPC,~REGO,O

ERRPC, REG1,SREG2,SREGO,$REG3,0
SERRPC,$REG3,$REGl,$REG2,0
SREG10,$REG2,$REG3,SREGl,SREG4
$ERRPC,STMPO,$REGO,O
0,0
0,0,0

fEG4

~~g3

REGl,$REGO,$ERRPC,$REG5,$REGAD,O
SREG4,$REG3,SREGl,SREGO,$F.RRPC,$RF.GAD,0

15-NOV-78

15:26

PAGE 318
SEQ 0317

SERRPC,$TESTN,$REGO,O

MACY11 30A(1052) I5-NOV-7S 15:26 PAGE 320
CROSS REFERENCE TABLE -- USER SY~BOLS

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09

:~t~~ ~
t~~~OP~
ADDwI
'DOW :=
ADOW }=
ADOW =
o
t
~

888888
888888
0088 00
00
00
000880
000
888 88

°

8g=1 888 88
tDg~I~~
:gg~j ~

AODW4 =
AODWS =

tog=~ ~

A8oW8 =
AODW9 =

:g~~~T~

t~~¥~

:

AFATAL=
ALUADD
ALUSUB

:=:g~~~

AMADR3=
AMADR4=
AMAMS1=
AMAMS2=
AMAMS3=
AMA~S4=
AMSGAO=
AMSGLG=
AMSGTY=

t=t~~~~

AMTY~3;

~j~
4~~
g~~

~~j

88

gij

888g88
000800

939
944
945

Ug;~

941
942
935

~~j

933

14i~~
§1j
igA~~

APTSIZ=

OOO~OO

16330#

ATA

063276

,~j~

:~Jfpn= 8g~tg2
t~~~EG= 88~g8~

1~11f#
16~jj#

~SH

CQKDA-C K011-K BASTC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll
9096
9772
16~95#
AnSTN= 000000
9B
AUNIT == OOOgOO
933
AUSWR= 0
00
q33
AVECT1: 088 00
AVECT2= 000000
933
1285#
OOlr n
A 02
1451
g
88~ g~
1494

00~i46

8g ~~
002570

g8~~~8

t8H

A041
A046
BASTC

BERR
BETST

~H80 ~
BITO~

=
BITO =
BITg3 =
Bn 4 ::
BIT05 =

BHg~

003034
003 6
065 05
063 ~O
061 20
061217
g8g88l
000802
000 04
OOOO~O
0000 0
OOoro

OOT'

U~fEG

::: 88g
gg
OOOgOO

BITOR
BIT09 = 001 00
BITI = 000 O?
~ 88j888
BlTlj ::= 01088°
BITI
020 0
B1TH = 040080
B1T~~ = 1000 0
BIT
= 000004
~ 888g}8
BITS = 000 0
BIT6 = OOoro
~ 888 88
BIT9 = 001000
KKFLAG 061 2
KROUT 8gi ~4"
BPTL(JC
BPTVEC= 000014

ntH

un
UH

948

9i 3

9 3
9 3
933

888 88
~j3~
000 0 0 , 3
000 00
933
888
21~
000 00
933
000000
933
888888
888888
3~)
000000
933
063334
14007
0~3554
14067
888888
gjj
000000
933
000000
933
000800
933
000 00
933
000000
933
000000
933
000000
933
000000
933
000000
933

t~6tA~= 8gg4~~
t~A~~R~ 888888
:~t~~V: 8888g~

tH
A~~O
t!
A 32

SEQ 0318

r

1~~~
isA6
1691

HH

1815

nu fr

15909
4468
4506

l~U~

815
~05
fl04
803
80!
80
80
799

14132
938
16333#
16142
16291
946
,691
643
7836
8039

814

~u
7~~

nA

16289
16332#

16331#

~~gt

1U!5
7894

H~~
79 8

~n~

87 2

~~~1
H~~

nH

3e!2

MACY11 30A(1052) IS-NOV-78 15:26 PAGE 321
CROSS REfERENCE TABLE -- US~R SYMBOLS
9299
9248
9262
9285
9147
9133
9935
11084
11127
11171
9870
9826

9386
14409

9418
14429

9490
14481

9532
14501

8054

li8g~

1

447
123f;

H~08#
1~22

15
814
813
812

IB~8fr
15336
2297

U~K~II

15365
15161

794

8gB

SEQ 0319
9767
14548

13221
15413
15417

13260
15541
15454

13277
15588
15535

13329
15619
15572

156 5
15609

133~9

13427
15654
15636

13458
15669

13490
15903#

15161
15602

15180

15454

15495

15572

15602

15609

15847

15174
15347

15369
15522

15620

7505

8320

9241

10026

10896

14917

3H
809
B8~

806
2958

18~~~
1~7g~

I~U~

16048

15042
15347

15970
16033

15180

iBH

l~g~~

1~~~~

1224
1225

15592
15423

9fl

1~~Ufr

15B~

1U~R

1~H5#

12 62
822#

~897

.1
1696
17 a
17h,
1820
1~1~

122}

1~~~~

~~~~

1m!
1~~S
1

~AS

B8~1

HB

~833

1289
1501

813

806
15084

090

HA~

~~~

11485
90~
690

3H

764
1~909
692

2751
7680
7895
B06R

797~64
81 4

7865
8040

9110
9821
937

1

199
796

16439#

1

dU

H~o

l~

U#
13902

~~3~

15790
4924

fr

15793#
5797

6649

11708

CQ~OA-C

KDll-~

~~~~
ng8~
ng8~

064r6
881 ~g
001634
001 646
88 ~8a
001716

CQKOAC • I? 11

BT005
BT006

U8~Z

BTOll
BT012
BT013
BT014
BT015
BT016
U8H
BT021
U8B
BT024
BT02~
I'.T026
'\1'027
'T030
8T031

88HU
001162
802002

og~8~t

002070
002116

88~H~

UgH
Br034

002256
002310
002334
002374
002420
002440
002460
002500
002520
002540
002600
002640

BT037

002740

usn
Ugt~

BT042
BT043
BT044
8T045
BT046
CATERR
CCNSCO
CCNSC1
CCNSC2
CCNSTO
CCNSTl
CCNST2
:
CCR

o
giUf
CLCUA
CLFGIN
CLJAM
CLPBA
CLSERV
CLUG

g8~B8

8826~g

00~044

003064
003106
003p4
003 62
063252
064572
064576
064602
064616
064622
064612
177746
064606
013412
064552
064556
064536
064546
064542
064566

MACY11 30A(10S2) IS-ROY-78 1S:26 PAGE 322
CROSS REFERENCE TIBLE -- USER SYMBOLS

BASIC LOGIC TESTS
07-NOV-18 14:09

IfnU
1275

lUg

1m

1330

B~a

u~a

1374
1390
405
422

8.~8~

06~364

€I~H

8~~i,8
064 34

064232

CIST2
064432
COUNT
06~~55
8&UERR== 00015
66
CRLF = 000200
064~42
064 70
~~n
CST200 064366
064441
CUi
064610
DBTA

A'

DBTB
DCSO
DCS1
DDISP :I
DF15
0P'l7
E S1
OHI
ORr
DR
DR 3
DH 4
OH25

BU

I

8n,~

064634
06446~
0 4
1~~~~
067 56
067760

UHn

861335

6~Or

8g7~ ~

86rn

o~ ~~8

OH32
067553
BH4
8~?07~
067~86
DUa
OR46
067262
DISPLA
°42
O~SP~E
b74
oDREG
TR :I 0
O~
06445
OSWR
=
n~;10
DTEISI
4
DTl
067 64
RHO
gf~6:

8
88

DT~~

Of

gn~

06~61~

06716

8~U~g

un
Ij91

1 93

III! lid
Ita
14~8

1
UH
1475

441

4'~

1503
1529
1552
1568
1592
1607
1621
1634
1648
1662
1675
1697
1719
1740
1754
1768

l~~~

1461

15~8
~ S

26
11
1 48

n~~

1595

1 06
1727

16 4
1637
1651
1665
l6U
~H;
1737

1743

11~6

1185

U~

1846
1863

n~~

lUih

l~aH*

1 §63

1590!l*

15912*

16383 It

15227*

15211*

15291*

15293*

15407*

1601

1~~~

lW

l~~~

16~0

nl1
1
119~1
H4~

H~~

an

1854
1870
1885

um}

16798
16801
16802
16800
1220
16799
4609
167921
16791
167891
16791

15225*
4621#

U~2

IH~
1824

1878#

~88~

15408

15447*

15451*

15453*

15457*

15412*

I~Hg

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-78 14:09
CUlHAM 064562
16794~
CNSCDR 064234
16641
CNSCTL 064442
1673~
CNSCO
668
8~4Ug
CNSSW
CNSTSW

SEQ 0320

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 323
CROSS REFERENCE TABLE -- USER SYMBOLS

SEQ 0321

1~gn

16640

t6~39

~7n

16727
16748

1~H

UIH

731

U~U

U~U

lUU

16198

Ung

15591

15620

15628

3378
98b9

16690

1~H5

97
Ij1 8
16,n
16~H
1041
1068

1'

l

UU

1066
10 1
10 5

~H~
IBJg

17i~3#
10 4

l~i~~J
118~~

T lutll

Hoi
1127

fAU
12Al

l~dl

16745
117~68
976
1011
1818
981

18~~

lU44'

IUU,

17119
17049

11063#
1033
1148

3574
9868
3655

96 9
1109
3695

1~M~

1¥8~8

16398

16809#

Hl~

HU

IH~8#

1141

1176

17068#

1092

11095#

17089.

ig~

171131

IU8!

3566
9846
3494

1

1

15221

hIllHI
~~

lU4~#

792

1060
16028*
15447

HB~~t

l~Ul

~366

~n~

1B~t

15457

15472

1r8l~

1ng~

1rH~

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 324
CROSS REFERENCE TABLE -- USER SYMBOLS

CQKOA-C KOI1-K BASIC LOGIC TF.STS
CQKOAC.Pll
07-NOY-78 14:09

8tH
8h

OTr6
OT
7
OT4
OT46
OT5
OT6
OT7
OWTA

8~:J~~a
06fOO
06
706
06 722
070006
067764
067746
067772
067770
067766
063322

18~~

I8H

H~8
1107

lng~1
hd~

986
991
1212
996
1001
1006
2322
2"151

~t8~~

EA02
EA032
EA033
EA034
EA041
EA046

~~n~~

EMTVF.C=
EM1
EM10
Et.n~
EMI
EMU
EM14
EM 15
EM16
EM17
EM2
EM21
EM22
E~23

EM24
£10126
EM27
EM3
EM30
EM31
EM32
EM33

~~H

EM36
EM37

064032
002166

00~24~

88 ~ZO
002564

00~6r
00
6 4
00 0 0
003230

8~H6~

000010
064640

064~24

g~~ ~~

06!>373
065425
06544'5
067034
065510
064640
065534
065557
065606

gg~%~

065731

8~~gAr

066604
066113
066144
066F,
066 5
066345
066422

m~l

171 Ii

~ij8~

~~~~

9058
10587
2547
1491
1525,
1547
1583
1693
1715

UH
19§51
11 6
1203
825#
<)74

8009
9095
10614
549
492

i

1584

EOPI

065103

15701

~~¥

~R~l

06~oA5

g~~~~8
gg~A~b

ERRFLG 06t240
ERRVEC= 000004
EX002
001640

~88l
~8g~

~Q8~

~81~

g81~5g
8g1~1~

88i~~~

ogi7~~

E012
Eg13
E
14
E;6

00 016
00 042
001 164
00
36

~g~~

gg

~82~

27
E8
E 30

~g~~
E83~

~o~6
~82j

E044
E045
E 015A

~ g~~

E
E
E
E
E
E
E
E

O~7

0 0
0 1
0 3
032
033
034
041

88

j~

2~2

1f6~~#

4425*
8181
1287

l~~~
Ij~~

q98

tj~~
1407n

B~~l

l~~~l

14241
1439K
472

t~8~#

1

1505
1531
1554
1594
1699
1721
1742
1823

00~040

3610

I~St
l~~~

l~~a

lA6~1

n~3

1U~ 1~~d#
86r

864

~ij~g

n1~

1~9r
1~H
13~3~

8603

16396

16588#

~530

n~~

2746
3215

Hl~
~*e~

19~h

16920#

1ZZ~

002206
002252
002304
002370
002574
002634

~Ag3~0 g24~~~

lUij!

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 325
CROSS REFERENCE TABLE -- USER SYMBOLS

l~lg~

1872
1887
1453

00~674

3602

IIB~

l~~t

n~g

~~!~

1

003130
003156
002102

gg~~t~

Inn

989
1168
1175

ll~g

697
1204

Inoa

1770

168~
g83~g~

~9U

HU

169441
16949
6957
6962
16972#
16980

734

08

15B8#

8067

j594
178

~1H

H8HI

16924#
168Pj

00
00 474
514

~i~

15B5

~O~~

1014

H1e1

U~Ar

1650
1664

g8go

19~U

~~H
~n~

17106#

16905
169091;

lU~

1052
1210
994

8~6~31

109~69
67
3 16
1496#

p9B
184

Inn-

168~8

1154
1161

067143
064666

1
n33

liB

16B 1
1702B
16B97

n9

EM46
EMS

2575
316

IU~

16815

CQKOA-C KOII-Y. BASIC LOGIC TESTS
CQKOAC.Pll
07-NOV-78 14:09

f~~~

nu
H6~

lin

1~8 7
168R3

1065
1071
1077
1084
1059
1105
984
1112
1119
1126
1133

064640
066515
066044

~~B
H;~

HU

1710811

16S~~

18~~

1020
1026
1032
103B
1045
10Q1

EM4
EM40
EM41
EM42

1

SEQ 0322

171 3

19H
7980

OWTB
EA017

18l:

1184

079
086
1191

13~~

16060"
14917*

l~~~g#

1~99

1302

BH

BB1

15951*

15953*

15956*

SEQ 0323

CQKOA-C KOII-K BASIC LOGIC TESTS
CQKDAC.Pll
01-NOV-19 14:09

Bgg:~

8~~118

FACO.4
FlCO.5
FAC1.0
FAC1.l
FlCl.2
FAC1.3

064332
064~34
064 36
064 40
064242
064244

1lunlt

FAC2J
FAC2.3
FlC2.4

064216
064300
064302

16660
16661

Hn:~

8gH82
064210

1a~B

HH:~ gU~~8
H~~:O 8U1H
8~Hg~

Hg:ij
FAC3.3
FAC3.4
FAC3.5
FOSTO
FDSTl

064212
064214
064340
061\254

~gn~

FFA
FLA;~
FPSHI
GNS
GNWHA~
HI
::
HT

8~4B8

064336
0/:>4450
064252
\J
064226
J00200
000011
063266

******

IBur
IDENT1
INCRSV 8~Bg~
INlT
INSTAB 82H~t
I86~EC:: 000020
001642
1004
1005
1006
001120
001734

88HM

I8n
19B
1013

002030

IOt6
10~1
10 0
10 1
10 2

002124
002154
002236
002266
002312

881i~g

00~006

88~8~g

18~~

MACYll 30A(1052) 15-NOV-18 15:26 PAGE 326
CROSS REFERENCE TABLE -- USER SYMBOLS

6615
6642
6643
16644
1664!i.
16646
16647

IU~~

Ug~1

6628
6629
6630

UgH

16fi49
16665
16635
16676!
16743
16f)48
R36
16638!
1225
129
11058
4581
4638
15836
1930!t
13858
q231t
1283

BHIt
1342

16366
15485

Inn
4602

16854#
15851
15717
16'52~rt

18~~

g8~~!g

I8U
104~

88~63b

002 50

1037

88j8~~

18~4
I 45

1046
JAM
JMP5
JMP5A
LCDTA
LCUA
LF
LFGIN

t~~~p

og~120
o 146
003212
064444
41420
41466
064436

8

83~5j~

:

064352

~~H~g

:: 000100
LO
LPBA
8UU~
LSERV
LUG
064356
LWHAM
8Un~
MBUFO

16361
5495
6198
17069
16393,

1

1636f!

16369

16821
17073

16822
17075

16821
17084

16831
17089

16844
17092

16846
17095

16851

16972

17049

17055

15850

1289#

1156
1311
1386
1402
1418
14~59
14
14 0
14119
1521
1543
1563

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
002346
1023
002404
1024
1605
002422
161a
1025
1026
002442
lfi3~
164
002466
1027
002506
1030
1660
26
00r
00 560
00 620
1033
1034
002660

ISH

SEQ 0324

MACYll 30A(1052) 15-NOV-18 15:26 PAGE 327
CROSS REFERENCE TABLE -- USER SY~BOLS

SEQ

15"1
UH1
HH
IHg.
fao
196
812

U~~
186

USg

6739
1
1Hr&

16733,
7
166~3

aug
<)

64
1 839
12 41

F

H~~t

16686,
16685#
~O43

Hj

jS~~:
3469

~lgl

5684

S~~1

h~9

~691

~5'4
924

~~1g

9910
10441

IH~~# usoa
16192

16198

16861

16865

12305
15485

12328
15495

12346 '

12365

H~r r~~
654
lU
Uar
up· ~~n*
~h~
5 40
~n1

un ~~u
g.!!
r U4
~8U
83

7~38

955

~u

9932
10416

10747

~g9l*
65

1

~9i -

3~95
~~~8
5 5~

~!~!
l8ti

K~~4

U~~
9951

10776

12395

m
IP
i 1~

Illi

t*
4~8~-

3501

inr U86
un un
n~8
i!U

gd~

13az~

1,51
~1
1

gn

12608

nil
lr~*

~h

Ui 3

15 6

~n~

8196

nu

18~~~

12639

n~!

ni
~Igi

flj ·
3
98
9 694

3~U
18~~~

12670

B~~*
2~0

i4~l
36 9*
~~j~

ndZ
UI ~
88

~U~
98A

18~2~

12701

12132

nf
~*r,~ Ud
nn
4

~8

55 3
5833

98i~

14~
~i3

*

I·~'1
16

94~

18b~

12767

12932

23 6-

HA~
~Ha*
31 *
28

~8U·

~89,

5600
5857

~4~e*

56~3

585

nl~ Uy!
Hi

8850
9170

un

18~U

~Z~~

8869
9205

ng~

H~~~

dU

lur
9r!
ilk
un

lY3~H

0325

CQKOA-C KOI1-K BASIC LOGIC TESTS
07-HOY-18 14:09
CQKOAC.Pll
1l08~

063316

M8UF!
MO

M~O

= g~~2~g

osT

MEOHLT
HEOT1
MEOTlO

055 4
056 011
856
60
=~g;p
56 42
MEOT4
056tOO
055
12
MEOO
055514
ME01
MEMERR: 117144.
NOPS
064.404
NUA
064.456
OBUF
g~H~~
ONCE
ORUB
063414
PABORT: 000200
PAlt)OO 064162

~~pI6

864~6g

PIRQ = l~i
PIRQVF.= OOoro
~RIFLG
063 36
RINA
06~ 02
PRO
=
00 000
PR~
= 000040
~R
= 000100
R3
: 000~40
PR4
: 000 00
PR5
= OOoro

n~

PS
PSW

h

~ 1g~~ 176
~g
=
= 117176

14517

8685
129 6
167 51

871
12925*

1~61*

1

1~~§~

15186
15337
15542

14m
15045

HSU
HZ88
1519
535
5571
1
14924

l

1HA~

15306

15310

4603

16388#

IH~3

15 4

U§5~

16749
4582
192 *
1
16603

16~Ot
16
4
35
829
1930
403

1

754
155
156
151
758
159
732
733
1631
4234
H~O*

t!I~~
1~1~~;

Il
i 658l;
15458
15764

733

1~~~

h3B*
41r*
H43·
12570*

H~~~:

"'I

t~~3

mIl

lU~n

1

8Un8

864f6
8U

I

UU~

51

8Hfgg

~OB4

043~6g

04~

OB5

~ngK

:

7

88t356

~S~8*

10 01
13914
14998

n~u

15482
15150

uu~* uu~

una*
7875*

lU~r
10~~u*
61
16400
16404#

lS3~~

1~0~~
Ish
15503

15 65
15514

15~9~
5 28

1601

1605

l~~ty

1~0~3

IUU
781;

1~g~8*
15051

l~Hl

15536

15494

12~g~~

4636*

16385#

4410*

16115*

16317#

1446

1467
1706
4~62
4 85

14!:l5
1707*
4266*

U~?:

4380*
BUl*
12587
12788*
14944*

HH~

12594*

1~~~1:

IP~~*

12!49*
12613*
12820*

1496

1505
UU*

4639*

46~1

H~6*

l~l&f:

1 628*
12840*

1 9741
161H

IHH

156r

l~89*

r:

4701

1~2~4
1 4

BE~3: Hg~~: H~~

1~~1r

15091
15529
15543

15118
15656

15671

l~~a~

15590

H~ig~

15853

15907

15914

14918
15832*

15835#
16381#

15994*
15942

163BO#
16379#

14903

15773

i5~~~
~483
15515

l~~~J

15137

IU~~

Il~93
1 049

IH6?

1514
HU*
4687

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 329
CROSS FEFERENCE TABLg -- USER SYMBOLS
15738* 15744* 15759* 15760*

U
1

8d~ti

~gft~

iBH

157
1~9 1 *
4 06*
4~09

l~I S~g:
H*

un:
:

HH: U~~
474~
i : f~~n* I~~~

T'

na~*

14

14~H*

HB*

154691
15773

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14:09
15728*
PWRVEC: 000024
RCSR : 177560
1260
4492
1261
ROBR = 177562
ROFLAG: 000144
~36
1~~3~
~8t5~g
15 60
ROLFGI: 000104
15384
ROLJAM: 888lg0
~gt~u~ 000 2
ROLT olG: 000 01
ROLWlIA= 800~05
15086
~~~HAM= og~ ~~
15839
15848
RESTAR 061176
RESVEC= 000010
14905*
064453
69U
REV
5842
15910
RSBERT 061150
4456
RSERR
061122
p8~B
RSMSG
15841
68
06jt32
4444*
4450
46
RSVFLG 06
4441
15832#
RSVTST 061 14
16692
RTlA
064372
RT}B
g~~H~
IU~1
RT A
1661:15
064.400
RT B
16670
RYECT
064322
16669
064320
~~fRO
}6723
g~~Hg
6725
ROB
1662}
665
8U~~~
R B
1662
R A
16653
R B
624
R A
064F2
654
064 62
R3B
R4A
0~H7~
Ug~~
R4B
6626
R5A
064 66
~~I
~g
66
7
R6B
15009
R~A
8~44~g
R
B
1502~
H1Ut
Hla* 1~~ t
~E8~~x
15940* 15941
SELTST 063~ 2
064 45
SERY
167~g#
~8nRR 8H9~~
11310. B~g1#

T

ntU un~

SEQ 0326

ml
52*

8881U

1Z3

15143

1241~*

0640'50
057712
061054

~~Zl

nux

15081
14995
15009

12564*

PSWHOL
PTRP1
PWRUP

B~g~*

88
111 482**

M1CYll 30A( 1052) 15-NOV-78 15:26 PAGE 328
CROSS REFEREWCE TABLE -- USER SYMBOLS
11105
uu~ UH~
BU~
H~H* 16399 BU~*
OU
1r93~
3J6~
1714
33~8
1~H*
933*
96 * ,~n~
;* 16U7
1 80
13864
13908*
In~~ Hn~ 1°12
13206
3196
14960
14964
14921
14951
14952
15093
15104
15117
15~2~
15 4
15205
l~!~~
154 0
15461
I~P~
15610
15655
n~~~ 156~; 15626
14925
1492 1#

U8fb

119 8
1431

11978#

1918

1934

15627

SEQ 0327

CQKDA-C KDII-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOY-78 14:09
START
001630
B40
1274#
STGBLK 064056

MlCYll 30A(1052) 15-NOV-78 15:26. PAGE 330
CROSS REFERENCE TABLE -- USER SYMBOLS
15715

SWR
SWREG
SilO
51100
SWO~
SWO
SI1I03
51104
SIII05

1UU
160

~n~~T~

~=8~
SWO~

SW09
Sill
SWI0
SWll
SII12
SW13
SW14

o6ZZH
001040

000176
:: 000001

':11 H ll2U*
~~~I

~ ggg8g~
=
::
::
=
=

774
773
772
771
770
7f'>9
76B
786
767

~·'!1 I.

:~,O
"
SW4
SW5
SW6
SII7
swa
SIII9
TABBEG
TlSEND
TAG
TBITVE=
TBL2
TBLl
TBL4
TBLS

8a8888
100000

16598
nBf
16599
1226
820.
4945
4995
16722#

64536

1504~

ro
8

gUl~

+~t~
ts"

TSTI0
TSTI00
TSTI0l

~A8~8

15838

15485

15495

13846
827#

1gBj~

03532
07200
07274

8H~~

TSTtl
TST 10

03564
1002~

1

~3~Z

3228
3265

U33
2066

I l
T~I tl~

181g2
118~t8

fST 21
TST 22
fSTI23

0614
10670
10714

3680
3702
3718
3746

TSTi27
TSTl3

03656

TnuO U8~2

~788

10224
10266
0356

TST114
ST 15

Utl~o

°l~~~~

JUH~ l~zn
h020

fSTI3~Jl
nI
Ul ~7
In ~o

tn.lt~ IIIIII
Inh,

f~~

11114

U~~

H~~

db~

38U

h8

Ulf

l:

nil
uu

8

0

di149 gu ~~
UTi550 alB
44
TST
011416
TSf 51 811436
fSf 52
. 456

n~~

~083g

fS1'153
fSTl54
fST 55

0115~4
0i15
6
0 16 2

4 70
4096
U!4

oAl0

4 88

UTI60
TSTi6~
TST
6
TST 6

olloH

TSTp~

nJ ~

g IpO
4

4

012100
012152
012274

15940

15449

15459

15505

15509

15517

16596#

15945

15963

15970

15906

nn~1

15781
15238

15289

15296

~u

3456
3482
3508
353l
355
359 •
3633
3644

Ut
1;
TST113

15938

U9AU

4640

~g~1#

3~371

3 74

CQKDA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
TSTl02
07366
3302
3336
TST! 03
07446
3329
07526
TSTl04
33111
~~~3
TSTJ05
07606

UJt8~

15906

~n

778
15938
4632

l~HO

11846
1942

00034
00014

15841

~B~
83
782

1

mH
82B

52422

15838

~n

~3A~4

64046

15152*

763
762
785
784
783
782

000004
('00010
GOO02a
000040
000100
000200
000400
oo
64052
64054
00040
00014
64166
64404
64422

nl:~

TBSER
TKVEC
TLOCI
TLOC2
TPVEC ::
TRAPVE=
TRTVEC::

l
ml

000002
002000
004000
ClOOOO

n~~~

~U

m

000004
OOOOi O
0000 0
0000 0
000100
000200

~ gg~ag8

S -11 'j

160

160 3

SEQ 0328

416~

~165

4~U

hg2

UU

u~~

Hd
nu
3561

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 331
CROSS REFERENCE TABLE -- USER SYMBOLS

SEQ

0329

MACYll 30A(1052) 15-NOV-78 15:26 PAGE 332
CROSS REFERENCE TABLE -- DSER SYMBOLS

CQKDA-C ~Dl1-~ BASIC LOGIC TESTS
07-NQV-78 14 :09
CQKDAC.Pll

UnM SIHH
54O
TSTr~

in
TST

°U

8~~
~70 g
012664
8B3i~
8BH~

nUB
nHn
TST175
niH~
TS12
TST20

TST~OO

n~ 8~

T5T203
TST204
TST205
1ST206
TST~07
TST 1
1ST210
TS1~1~
1ST
1
1ST~1

1ST 14
TST2 5
15T~16
1ST 17

UtBo

gBn~

013556
003350

8UJb8
013620

8H~~~

013 60
014020
014042

8U~~~

014106

8UH~

014;'6
o01424
4 2g
014264
014332
004214
014374

nB~~
TST23
T5T230

HnH
151233

1ST234
1ST235
T5T236
TST237

r131u

4397#

::~~IJ

~~H#
4541
4559

t~~~#

it~~

4669
4689
4711
4731
4753
4767
4782
2224
4797

~~H
U~!

014656
014726
014764
015034
004250
015104

4!l71
4886
4912
p47
933
4959
4976
502A
5045
5071
5089
5115
2264
5141

015354

Bn
5246

015542
015616

5352

814H~
fHB~ 014622

15T223
15T224
1ST225

~n~#

gl~H~

gl~4H

nH~o g~~~H
015744
nH4~ 016014
nH4~ 8U~~~

~~~~
5325
~j~~

5406
5432
5458
5484

CQKDA-C KDlt-K BASIC LOGIC TESTS
CQKDAC.Pl1
07-NDV-78 14:09
TST245 016200
~~~g
151246 016250
5562
1ST247 016320
004360
2312
TST~5
5599
016376
5616
Ut2~~ 016452
5644
T5T252 016530
15T253 016604
~n6
15T254 016662
5728
T5T255 016740
1ST256 017020
giij~
1ST257 017072
2341
004434
5819
nH~o 017170
5845
15T261
15T262
~~6~
15T263 017404
5Q32
T51264 017464
5957
gH~~ 8H~ga
5984
67 017646
6011
t~~?
151210 8y4H~
6062
15T27i
6088
T5T27
6114
1ST27
0076
1ST~74
~Ug
1ST
75 o

8BHti

nH

u:t ~~

15T3
1ST30
T5T300
T5T301

88~h~g
8H:
8~8H~

003364

gg~j,~

020444

0'560
f~HU o0~0514
o 0630
82gn~

TST304
15T305
TST306
07
T5T3 0
15T311
15T312
TST313
14
1S1i 15
1ST

un l

Hi
H
TST32
T51320
T5T321

TST3~2
TS1i
TST 34

1ST 25

8HgH
021062
021132
021200
021250
021320
821366

on~~g

004606
21604
21666
0~1744
2020
2074
22152

8

8

~Ha

974

4374#

44~91

U3i
4483#
4532#
45~0.
45
6
1969
2~09
4 ~t
l696
4:~u
60
4774

HH
4804

U~l

l848

9~~
:n~
~~~6
:~~~

5035
5052

~gU

~H~

~5f8
gq

5 53
51'9
5 O~

~ ~9
~U2
~lH

5465
5491

~ACY11

30A(1052) 15-NOV-78 15:26 PAGE 333
CROSS REFERENCE TABLE -- USER SYMROLS

~~H

5569

~~~g

5624
5652
5~80

~7g~

5766
5792

~ijH

~BU
5910
5940

5~65

~ou
t~U
6069

~~n
6147
6173

~H~

~ 379
243
6269

6276

~H~
6398

6354
6379
6405

U~5

6424
2395
6450
6476

198~

t~~o

~j~i

~~n
g457

6502

~4S~

~~S9

~587

~~~~
6636
2413

~~8~

6727
6754
6781
6eOR

SEQ 0330

d~~1

6~U
~421

6~68

6735
6762
6789
6816

SEQ 0331

CQKOA-C KDII-K BASIC LOGIC TESTS
CQKOAC.pll
07-NOV-78 14:09
TST3i~

TSi327
T5'f33
T5T330

nun

1ST333
TS1334
TST335
15T336
T5T337
TST34
T5T340
TST341
T5T342
T5T343
T5T344
T5T345
T51346
TS1347
T5T35
TST350
'J'S1351
':' ~;r352
r $'1'353
1'51354
l' s·~:~ ')5

rST?"6
TS1 3 57
T5136
TS1360
T5T361
T5T362
T5T363
T5T364
T5T365
T5T366
T5T367
T5T37
T5T310

tnn~

TST313
T5T374
T5T315
T5T316
T5T377
T5T4

nU80
T5T401

J~t~8~

T5T404
151405
15T406

i

~H~~

gU~

BU~

24f28
68
69 5
69 2
6969
6996
7023
1050

04646

22510
22562
22640
022716

~ a~~~~
22770

23122
23200
23254
23332
023410

8

8B~~l

023604
004736
023654

8BH:

0~6112

SEQ 0332

MACYll 30A{l052) 15-NOV-78 15:26 PAGE 335
CROSS REFERENCE TABLE -- USER SYMBOLS

SEQ 0333

1212
7239

H~~

2474
7318

H~3

l~n
~~I6

8~~~~~

PAGE 334

7131

g~j~6~
g~~g~~
026202
026272
026344

15:26

H~~

1396
1418
7444
7465
1492
2494
7518
7544
1565
7593
7620
7644
1668
7693

8~S4n

15-WOV-78

CROSS REFERENCE TABLE -- USER SYMBOLS

'~H
~104

024054
024124
024200
024244
024324
004712
024406
024462
024526
24600
24654
024122
024710
025044
005026
02'i112
025166
025226
025212
025336

8

MACYll 30A(1052)

,.,B

7142
7761
7781
7801
7822
7852

H~9

799q
8026

8055
8076

CQKDA-C KD11-K BA5IC LOGIC TEST5
CQKDAC.Pll
07-NOV-78 14:09

i~J:iO

0~~J~4

9~lS

T5T473

033264

9589

f5T500
f5T50~
T5T50
15T50
T5T504
TST505
T5T506
TST507
TST51
15T510

033550
00~3~14
3072
0 3752
034030
034110
00~4421~, 24
~.1
005520

97 4
97~42
97
97 R
9805
9832
9854
9876
2721
9B98

I~~~13

034420
034470

T5T516
15T517

034676
034752

iST52~

~35076

T5T524
T5T525

035274
035346

l8Iel
10208
10234

15T53
151530

005600
035566

2?S4
10320

f5f47~ g3321~

t~t~i~ 8~~~~~
J~~:~~ 81~~g~
i~tgo 88~:6i

i~t~l~

8jajg~

T5T51~ g~:~1t

J~~~~o 8~~6ia
T~fg~1 O~~~~~

I~i~~~ 81~2~~

I~fg~~ 8j~~i~
t~t5~~ 8j~8~8
I~I~1~ 81g~j8
i~t~~7

15T540
15T541

~~~6

10014
10045
10072

1~Z~3#
101~6

18~8l

I8~~~
18lg~
l8:*~
1~~~~

0~gi5~
037032

i~i~:~
I~±g~o 8g~1~~

18~9~

10656
10~82

l87g~
l~i~~

CQKDA-C KD11-K eASle LOGIC TESTS
07-NOV-IS 14:09
CQKDAC.Pll
TST551
T51552
fST553
15T5'i4

in~~~

T5T557

037172
037260
037340
o°f426
7526
7612
037676

o

8~H~~
tH~go
51561 040020

T5T562
151563

nH~~

15T566

~51567

5157
151570

nt~H

iST573
51574
1ST575
TST51~

5T5
5T6
15T60
15T600

1

iH~g1

T~nB

151613
4

H8~~

11046
11068

040322
040374
006010
040446
040510
040560
040£;22
040672
040732
040772

1117A
11199
11221
11242
11264
11282
11304

8~HH

006062
041102

gn~n

nU8~ 8lB~~
041422

T51605
T51606
f5T607
15T61
i51610

18~B

10853
10883
10917
10947
10977
2821

040064
132

°rg g,g3

8n~u

006124
041604
041660
041734
D
04r
04 100

UUl
H~
T5T61~ 81
042310

T51617
nU10

8g~H~
o0~r56
542
nu~~ 8~ ~fg

nUH

1Hi~

2865
11353
11375
11407

tUB
11486

H:,

p516

lr

11568
94

I

~~a

IUUi

11°76
098
120
11142
11186

Hr~
I}
~o
72

1

1 87
1 r~

i~02~#
i
P2j'2
58
1 85

151630
T5T631

043104
043140

12020
12039

Hn~

H~Hf

P~H

Han#
11499
1p24
1 550

11454
11506
11532
11558

115 3

11576

11584#

~815#

IU~7

1167~#

884
11
~u
11962
11983

1~$gl

11~941

IbH

1136'1#

11412
p437
1469
11496

11186

ln8~
HU~
H~g8

11954
11980

~~Hr

r

I11054
8H

11773

04 014

83~~rg

10801#
10831
10861
10891
1°925
0955
10985
29

1
IHi9
11134
IHU l~U~

TS1625
T51626

04~740

SEQ 0335

§§lg

10547
10575

8366~0

MACYll 301(1052) 15-NOV-78 15:26 PAGE 337
CROSS REFERENCE TARLE -- U5ER 5YMBOLS

~561

036304

i~t~~1 8j~~g~

T5T544
151545

SEQ 0334

~~li
~~~8
~~gO~

036434

83g~§~

MACV11 301(1052) 15-NOV-78 15:26 PAGE 336
CR05S REFERENCE T1BLE -- U5ER SYMBOL5

1l~g1

It3H
11851

}

1

1~8g~f
12027
12046

11989#

1

llg~~

lUlU

MACYll 30A(1052) 15-flOY-78 15:26 PAGE 338
CROSS REFERENCE T1BLE -- USER SYMBOLS

CQKDA-C KDII-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll
T5T632 043174

~~tB~ g4H6~

IST635
15T636
T5T637
TST64
TST640

843510
43666
044044
006274
044126

T5T643
T5T644
T5T645
T5T646
T5T647
TST65
15T650

044332
044450

t~tg:;

8ttH~

8::~8~

045106
006352
045310
045426
045544
045662
046000
046116
046250
046370
0116406
.1 tlli53 0
()47030
047076
047232
047346
047430
047512
047574

t~tg~;

151653
IST654
TSTfi55
':'5'1'6'16
';31657
7ST66

;;;'1'6(.0

1'STf,61
151662
TS1663
TSI664
151665
T5T666
15T667

lim mill
13~

1~6

12~l~

955#

i~~
12390

H~~al

1rr'

B1~~

12488
12545
2975

1

1~20~1

1 6~4
12695
12726
12757
12793
12828
2993
12873
12956
12976

1

047766

T51674
T5T675

050416
050600

1333A
13390

T5T7
T5T70

003476
006504

2034
3029

T51702
T5T703

051244
051324
51424
51530
051636
gs1744

nUB

g~8~U

nnH

8~~86~

UH8~ g~Hg4

nH8~

3

TST706
T5T707
T5T71
T5T710

g~~~~

052120
052206

UliB

BH~

B~i~

H~38'

2983#

3001#

B8U

13079
13104
131r·

1li~184h

g~~~~3

niNo
T5T671

SEQ 0336

IBF

B:~U

nml
p597

13542
13564
3615
13650
13685
3046
13728!
13755
13782

3019#

mill

1340

041
j 037
1

lu~n

13702,
3054

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NUV-7B 14:09
TST713 852304
TST714
52436
H~!~
52526
~~HU 052556
T5T~~7 852644
T5T
li
~~~8~
1 938
TST 0
H9ij~
5 01
5 074
14864
14124
T5Ti~4
53~60
TST7 5
53 44
14184
14230
1ST726
5p30
5 404
14~74
l~~n
~nH7
06634
3 94
TST730
TST731
~~~~~
53634
H~~~ 14r5
5373 g
TST734
5403
14430
o~
TST73S
54142
14466
~h
4509
TST~~6
U~~~
1ST 7
~~~:~
066'7
TST 4
Ing~
54422
TST74~
586
54506
TST~44
4615
TST
Ui~
~~~~:
TST 4
r 4644
14 ~
TST744
54730
14666
1467
T5Tf5

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 339
CROSS REFERENCE TlRLE -- USER SYMBOLS

SEQ 0337

Hn,

8n

l74j

UliU

r

UiHl

IHH

lnu

r
1

'Uli

i~U!
06734

ni
~~
T8T75
TST~5!

~5iU
5~ 06

nt ~

TSTr
TST 54

55506
55634

TST757
1STr
TST 60
T5T
TST766~

~~~~2

57~42

TST 6~
TST76
tST766

~ml
g~~~

~u ~i

r un!

un~
3~2

]4 4
14
141 ~

I: "I
~g~~

Ud~
60168

Ililll

TYPE

::

8~48t
04101

15t~1
140

fYPOC
'rYPON
TYPOS

=
= rU02
0 04
=
04403

r9g~

T51~6

UH~7

l~n

lUh
3163#

54J
5568

h6U

Ug~t

u~u

1~~3t
584

IUU

15707

Ul8j

liUt.

15840
16366#

15844

15908

16036

16071

16088

16090

CQKDA-C KDI1-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll
1217
1935·
UBREAK= 177770
16765
DCNSCT 864474
16776
UCOUNT
64~22
UCUA
}6770
064 ~6
6779
064 0
UOCSO
16781
064534
UOCSI
16773
064514
UOREG
16771
UFLAG
0645!0

HS:~T

ULCDTA
UM
UMO
UNUA
UPBA
URES
URgy
UR6A
UR6B
USERY
USRRG
VAOR
tIICNSSW=
WCSADR
WCSA.O

=gU:A
WCSE\.l

8U~

a

16761
1216
16763
16771
16769
16778
16714
16634

g~~5n

16715

og4f6

gfi~ ~~
064~22

8~:

ti

064314
4
WRFl.AG=
WRLCUA= 000r
8~
WRLDAT=
WRLFGI= 000 04
WRLJAM=
WRLPRA= 888i gg
WRLSER= 000 01
WRLT AG=
8~
WRLWHA=
WRIiHAM= 800h2
000101)
WWP
=
177564
XCSR
XDB~
= 177566
APTHD 000700
ASTAT= ****** u
062744
ATVC
ATYI
8g1H~
ATV3
06273fi
ATY4
AUTOB 001034
BDlDR 001022
BDDAT 001026
CHARC 06246fi
CKSWR= ***** .. u
CMTAG
880882
CM1
000014
CM2
CM3
000006

888

og8

U~~:
1~~g!

15751

16668
16636

Ug~t
16667
1237

B~5

m11

1243
1241
1253
1249
1235
1221
1262
1263
!l51
16311
16282

1

l~t~~#

16041
893
895
16164
16377
91
88~f
913
911

fH)f!!

15044
15235

l~g~~

4513
857#
16326
16284#

MBADR
8g~7g~
MFLG
MSGAD 001iJ4
MSGLG 001136
MSGTY
MXCNT 8ga~8
NULL
NWTST=

rAIL

16174*
914,

~u

UUI!

88h&b1

Hl~6:

859

863

941
942

16302*

16~~~t

U~H*

91 UX
I ~h31

9~5

159
90
p39
151

15140

15142
15291
4534

15163
15293
4552

15706
15451
12427

16181

16190*

16195#

~Ut

§tH

15456
15453
12450*

15537
12460

918t
918

919

15514
12483*

15612
12494

15638
12551

12799

12880

16 83

1

J~6~8*

15121

16~81ft

1

1

15094

15233
15237

CQKDA-C KOII-K BASIC LOGIC TESTS
07-NOV-78 14:09
CQKDAC.Pll
920#
CM4 :: 000005
9]91
948
CPUOP 001146
927
15707
001115
CRLF
q39#
DEVCT 001130
15697
15709
OOAGN 060654
fno
15711#
ENDAD 060644
15699#
ENDeT 060600
15718#
ENULL 060660
944
001140
ENV
l~g~~
945
ENVM
001141
15690
060550
EOP
EOPCT 06056~
}5700
156961
884
1~§gi
890
~~~~~ 881815
4623
15650
ERROR 061620
891# Hng*
ERRPC 001016
17111
q71# 16085
ERRTE 001150
16035
ERRTY 062046
ERTTL 001012
888i It3Ui
15934*
925
ESCAP 001112
943#
ETARL 001140
pEND
~~~
ATAL 88H~g
16280 1
06 64
FFLG
16167
09
FILLe 001056
16198
908
FILLS 001055
•892
GDlDR 001020
894
g~~~; 8gbgu
15708
16371
GTSWR= ****** U
70B
HD
= 000000
HIBTS 800700
~ij~#
ICNT
01004
1~1U*
15728
ILLUP 061036
899#
INTAG 001035
889
ITEMB
928
U8~f
88HU
LF
16321
063163
LFLG
1~n6t
LPADR 001006
8B61
887
LPERR 001010
B~n:
12149
12834* 12878*
13777*
001120

SEQ 0338

U1~q

064464
140000
064470
064524
064504
06452fi
06451t
064216
064~06

MACYll 30A(1052) 15-NOY-78 15:26 PAGE 340
CROSS REFERENCE TABLE -- USER SYMBOLS
14901* 15081* 15115* 15145*

16~9~

1t

915#
915

919

1

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 341
CROSS REFERENCE TABLE -- USER SYMBOLS
924#
922#
92311
921#
16095
16090
16071
16059
16036
15845
15715#

SEQ 0339
16099

16163

16198

IHH }gin

16313
16291

H~~~* 1~§~\

15967*

15993

16026*

16059
17101

11103

17105

17106

17108

17109

1~547.

11824*
12638*
13569·

IU~~:

11889*
12700*

rZ~4:
~14~*

Bni:

lU!~:
159 5

12070*
12766*
\3 50.

I2
1IH 98**

1370r

~~gU

2038,
2291

~grn

BIU

,~Ul

nn.

~133'
400

16013!

IH~~

H~~~

16059
17132

1601'1

17099

15705
15936*

15846*
15983*

16029*
16051

16059
16053

16059

l6Pl
6 98

16320*

16328#

1~1~~#

15977*

15992

6198
16040

16059

16074

15965*
11677*
12367*
12961*

Hn~:

l~~U

1891

B

n~x~*

12550*
13524·

15980
16326#

16038

16142

16315

16319*

nyu: ung:

934#
16322*
16300
16303*

1598~

73 *
493*
13501*

12396*
13134*

~9781
206

U~j~:

199~1
222

H~~~:

~OO7'
252

g~g~:

14 ~~Z: IHS*: Hn:

13Z86:
6 1~992
~9~~:

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKDAC.Pll
07-NOV-78 14:09
2418
2686
2952
3271
3630
3852
:H5
467§
54~90
50
5 93

~q~~

6in

1U~

9085
9502
9810

181H

IOs2~

PRSI

h529
909

lhn

B
12~H

B~gl

~s~~
985~

18s~1
l~~~~
115~5

1621311

938#

1929*
15769#
15728#

lU~~#

U
U
U
U

SAVRE: ****** U

342
2612
31 8

3091
~~~~I
~1U

28~9

t
~~9~

3956

3986
4248
4565
4831

UH
4801

~U3

~~n

5789

u:a

5850
6196
6532

r~~
8i13

~57g

6840

6~U

B~7

8595
8941
9407
109~08
18
10 83
10 40

n~~

9343
9660
9969

18g~~
10659
1030
iBlA
fP024
UH 11700
12043

10~~,
ti581

da~A'

13399jf

19~~~*

ng~~

144341
14789
15148
15555
16215#
15718

15972

15993

17101

17106

17108

3808
4001
4210
4567
4845
5145
5514
5881
6222
6558
6}20
i5H

~~~3

un
9439

J36~~
t8~H
7

HU

13849
14152
14537
14891
15211

17115

17127

Htin
13493

1

~U~I
U~g

1118j
12140
12630
13051
13516
13851
14154
1456H
14893
15279#

11754
12103

H~~j

13429
13179
14092
14470
14817
15150
15640#

HbH#

15694*

2649
2908

~~~7

382~

4016
4310
4645

ns~

5540
5901
6247
6584

H3Z

1624

H~~
~Mi

9460

196~~
18~~g

HUt
11816

Inn
13016

13539
13879
14212
14590
14929
15281

15759

U~H

16312
911#
913"

7129
15546*

1

1 d8

rWD=
mm u
~m~ ,m~~

15693*

9~11

UH
0296

18~U

n~~i

us~~· 1~~~~1t
5392#

35g~

9196
9566

13H1
136641
13912
14331
14716
15028
15431#

h~~o

16260*

15762#
15~U
16312#

a1a~

1~94~

15318
16231*

1

6A
0 614
65 00

80d

I~~lr l~~~g* 1~~~~

r

oog~~

41

13189
13629
13952
14301
14672

CQKOA-C ~DI1-K PASIC LOGIC TESTS
CQKDAC .Pll
07-NOV-1S 14:09
001064
17 06
Gl
914
001066
REG2
915
11 09
RF;G3
916
17109
801070
REG4
917
01°F
171tg
0010 4
REG5
918
8:
13030
13~8r 13413*

SETUP=
SVLAO
SVPC:
SWR =

.nh

13150
13594
13935'
14259

15~~~i

1

U31

13126
13592
13919
14257

US:S

-*****
******
******
******
001060
001062

~~~~

98p

d~B

QUES
ROCHR:
ROOEC:
ROLIN:
RODCT=
REGAO
REGO

5621

~~2~

Hn~
11503

ggAHg
001114

4693

~~u

ni~

a~a~

~~:~~

~3n

UH
8030

8001

062714
062716
061560
001126
g00706
61044
061032
060664

2980
3308
3648
38 67

66h
7028

7001

DCNT
OMODE
OVER
PASS
PAST!>1
POWER
P'liRAO
Pi/RON

~~H

MACY11 30A(1052) 15-NOY-18 15:26 PAGE
CROSS REFERENCE TABLE -- USER SYMBOLS
2418
2542
~~u
2141
2801
3016
2998
3075
3358
3333
435
3684
3666
75~
94
~89~
417
4508
Hl~
4186
49\'
504 2
~~~~
5302
5649
~~h
56"
601j
20
U~~
n~5
6h2
6813
7055
7163
70~2
7497
H~1
H4~
1806
8081
8141

ih~~#

~68'

gqH~* 1l}~069*

1 04 *
13419*

74r *

~6il

~ 3

199~

7

3851

:~~g

4 00
4923
5283
5628
5995
6332
6680
7035
1

38

~

~~n
4944

~&~~
60 2
gn~

1062

HgB

1342J*

~g~a
8

4411

n7~

5336
5684
6048

g'l~9
10

B~H: B~I~: IH§~:
134 4* 13411*

13445-

15747*
16048

15768#
16055

l~H

I~H

~jl~

3689
398~
U40

uu

~~6~

60h

gi2~

7116

~~~~

716

dl!

3 12

~~u
U~1

37 8

~638
~~~8

46 3
5 5~

6099

~n~
61l
64 1

~n5
7141

~~H

2~ 1

~ ~

U~

~Hg

504

~r utI 8l~,
s~n j4U Id
!III~
9~d 9~ ~ n~! n
10~45
19~~i inU lZ!I~
H~r5
IUiJ H~~~ H~9~ I!~!!
i~dl
H8

a03~

9 30
9844

9!52

nn,

13234

lin~ I3346
832

15039
15116

1~~U

i3iO~
3 ~6

H~6

§6Y8

05 6

11 3A

17129

17132

M1CYli 304(1052) IS-NOY-78 15:26 PAGE 343
CROSS REFERENCE TABLE -- USER SYMBOLS
11127
11111
11129
IH09
1'113
7126
1 11
17113
11111
11125
11129
171~3

r
U
runnt ~lHdl1 ~mlrI nu
U!

I~Hr l~l~~
159~29#
H~~4 159

17109

hIll iun
l~~~~

1

Bn~

102 4
10640

10303

tunj

Luo
13436

1~~H

l~~~~

IlInil!~

10613

134r
131

Ul

IU9.1

148

153~0
59 6

2~~6

~ 4~

~i8

12~60*

13 05*
13486*

711

~~n
2831

615~
84

~48

119~

~'~4
8 AO
854~

n~l
U~

18
11g59
737
li
I1 ~3~
020
33
1 69 j

718

2~n~4
2850

U~t

482

4838
5126

583~
611

~5H

1~24
15~~
8~0

Uh

~~~i

6203
6539

~~go

89

7r~
~n
ngl
9414

10361
107.20

10390
10747

UI1 136~~
85~4

lU~86
117
l~gU

1 058

13500

11~n

1~~g1

IH95
15446
15928

ln~~

IBn:
16055*

nn

I'lj
4~1
nit5
1 ~lg9
~~~6
480
508

SEQ 0341

1!~81

1 76

ln~~: IU~~:

11127

'~9

~O 6
l5~

ub
3798

U~l

4i5~
5 52

15571
15945

~ ~9

3813

3828
40 1
43 5
46
488 ~

H~g

:~~6
4 53

gU~

H~l1
79

~303
6~1

6229
6565
6927

82r
n~
94 6

136~~

10418
10116

lim
B~~8

IU5~

15646
15951

21~8

~in

~~8'
554~

790
g 1I Hi
1AA
1 083
13108

iUn

~3~3

12999*
13365*

5914
6254

~5U

8~98

~656

9~n

13Z~~

1044
10805

IH~i

UUj
iUh
1313
1360§
15687
15959

911

~~g~

1

~~H

5944
6280
6619

63i~5
19 9
8319
88 83

l6

~4aa

131~8

104 6
e35

nus
H
iUn
855

~33

13157

1~~~3

Bg~~:

n~
i~U
3843

9f

:In
4 80

489i
525
5600
5969
6306
6648
1008
p55
619

Rgg~

un

13tH
10504
loess

Ih8

UUa

196
1367~
402
t§95

1

nUi

MACY11 30A(1052) 15-NOV-78 15:26 PAGE 344
CROSS REFERENCF. TABLE -- USER SYMBOLS

CQKDA-C KDI1-K BASIC LOGIC TESTS
CQKDAC.P11
07-NOV-78 14: 09

SWRMK= 00 00
rMARG
OO!!"
TESTN
00lF40
TII.IF.S 00
TKB

i~~o
TMP2
I'M
P!
TMP3

TMP4
TN

00

46

8818~2

88HSg
OOH04
88 ~8

15968
16048
946'

15~~~

94

904

~u

15969
16059
4631

15970

~Ut: In~g*

1 In ~!
1 ~~~e
143r*

9r
9 3
6 8
1974

1t9 2*
95r

4968
4956 *
4966
1 49~9
19 9

8~~#

~8 ~#

91

~8n

nij~n
2269
2351

~a~41t

1~U

149~6*

2~3~

~273

H5~#

24~8

UUIt

1

~~~~

3~60

316

BB#
3456
3535

3461
3539

3465
3540#

jO§g

j~~~

376<1

j~H#
3912
3960

a8g~#

4119

~H4#

4398
4475
4'i51
4669
473:>
4791

38~rt

H~$"

U~~#

~H~1t

:~~~#

4740
4793#

H16
4411

4484
4559
4678
4742#
4797

U3A

4968
50561/:

B~6

4845
4895

4970#
5071

~~~~

~Z~O#

6041

6046

6048#

6~~9
6 81

6304

1

596~

~~~~#

~p~"

6459
65r#
66 ~
67

6461#

~n8#

H~r#

7344

!n;

68,Olt

~g

i

7087
77fo#
66
7 48

Hij~# 76
~~~1#
7668
2
p46
7Uh

~637

A15i
823 #

U~8

85r

B~

fit

8789
88r4#
89.
90 9
9196
93 6

U1~#
9566
9646

2691#
2759

03~
209
2156#
2224

nn
14§~tt
f66
638#
704
63
831#
~904
980
38

4440 *
58 98 *

14476*
1582r
15 9 *
15 16*

p47
992

rF-lo

~8~~#

2165
2229
2295
7371#
~432
499
~570

2~3~

1952
96
~4g#
233

Bi~#
1~ijj

~5HIt

2~13

r

1J~a#

j191

r

9~4
30 9#

H81

BHlI

3466#
3553

3558

3562

348~

3491

35~3tt

3784#

H2g!f
3788
j838
886

n§~#
2975

j8~~#

31g~

~~I~1t

H~
HA~n
3482

U,h

HH
44lfi

4~g~#

4680#
4753
4801

H~~

U7~#
4g~A#

4136

U~~1t
44 0
:~~~

4689
4757
4806

~908

jU3#

H~~

U~~

6#

39r
39
40 5
40 5
4140

:Ht#
a~2~#

45~8#

4693
4762
4808#

~771
845
~912
985#
3046

H6~

nUll
4079
4141#

:~4~

44~1

:~lglt

4698
476H
4812

r

1956

~g~g#

211
2174
2234#
2312
2384
2441
2504#

2~U

2322#
2395
2458
2524
9
6684#
730
,796
869
2930

~583

653
2714#
2776
2849

HUff
3051
H~a#

3333
3413
3492#
3594

HU#
3793
j~~~1t

3937
3986
4034
4080#
4167

1H~#
435

4521
4650
4700#
4767
4816

~054

2H~#

2"47
2h7
2388

~~t~#

2589
2654#
2721
2780
2850#
2921
299R

2184
2252
2321
2389#
2453
2520

~726

~J8~#

29~6

3002
3056#

H~~

r

3003/1

~970

012#
206
p3
19
2257#

1

2~3a

~462

2525#

~~q~
731#

~6H#

2071

nHn
2264

2347
2404
2463#
2537

~gH#

931#

2741
2805
nH#

3 65
p58
439
3518#
3634

3Hi
3362
3440#
3531
3635#

~aOI
873

~8H
p3#

~8~8#

3599#

3075
HH#
3354
3435
17
630

3798#

3803

3808

3A12

~8~~

3951
4001
4049
4106#

3956
4005
4050#
4114

4534#
4659
4720

:~~l

4 94
4464#
4547
4666#
4731

4880
4944#

~~~~#

5119
5229
5309#
5406

51~4

5388

4875
4942
9
55r15 #
5 24
5307
5390#

5644
5733
5829
gZi1#
6092
6175

5649
5738

5654
5740#

6428
6511

~~bj#
~~O~

~~5~

3 ~4
3337
3414#
3508
359S

H~1

3797
3~4~1t

H1~

jUg'
3513
H~~

3~~1

j9~2

~946

4096
4172

4101
4176

4439

4440#
4533
4655
4715

~Zjg#

H&~

:~~~#
4711

lBi

~6~~#

r

~~~n

n8t
3947#
4105

H~Z#

n5~1t

4~88
B1j# 24~7U
~~
1
n#
4463
4459

~H~1t

:~H#

4722#
4702
4831

Hg~

~~61#

t~~~

:~~~

MACVl1 JO~(1052) 15-NOV-78 15:26 PAGE 345
CROSS REFERENCE TABLE -- USER SYMBOLS

5336#
5432
5514
5598
5684#
5784

6996
7082

ng~

!~~~1t

3927
3975

5334
54 7
55 0 #
55 3
5682

gHg

194~

3922
3971
48ggff
4131

5329
54t5
54 5#
55 9
5677
5768

~~~~#

1
1
US, 3: H9~~*
U8Z2 17103
li3B:

391 It
3966

4399#
4480

1966
2011
~059#
128

15992

512
7099 *
5129*
15056*

3916
3961/#
4011
4060
4123

H3~#

~6M
~~~S#

15978*

3783

4124tf

;6ij~#

15975

4404 *
496

37H

~8U

14654*

p~32
5 68*

1569 *

3774

U,~

14625*

1599~*

j~1~lt

37~0,*
U1~

14596*
17103

nng:

j~4~

CQKOA-C KD11-K BASIC LOGIC TESTS
CQKDAC.P 11
07-NOV-78 14:09
4963
5054

Bg~

14567*
17101
17103

16008

2151
2210
2274#
2361

2952

~~g~#

2746#
2821

1454r
BM9
17101

16007

2893
2155
2211#
2286
p66
422
2483#

2690
2754
2826
2896
2957#
3029
3095
3165#

2681
2745

SEQ 0342
16045

16006

~9~4#

~~~~#

16033

15992

19~2

~u~

16029

15985

lU~l: lng~:

14~}5

16009

15982

nUIt
1IUn
ng
001

~~~?

~Hg

U~~#

6556
6646
6739#

4!l50

489'1/t

4976
5075
5150
5257jt
5352
5436
5519
5600#
5700
5789
5886
5969#
6062
6144

g~6l#

6398
6480
0563

g9~~#

5J63if

H1~1t

Bn

~~HlI

~~H#

~~~8

~ng#
~~g~

~~H#

5356

5616
5705
5'194
~8R8#
5984
6066
6149

&1H#
6402
6485

g~~~#

6759
6845

5621

6071

a
6r
6 43

6 25
6407
6487#

g~~g

~1~1

5626

5CJ0
599
607· It
61 6 6
6..!47
6330
6409#
6502
6584
6678
6766#

1

7104

7109

7h3

r

7370

717~

BH
7379

f54
530#
620
7697

7624
71 02

:P~ij

~~!2#

75 7
76 7

n~~#

7914

006
B
0~8#
81 9

U~~

:P~~
7~55#

44
523
602
7679#

H~,

~Za~#

8098
9173

8794

8796#

~8~1#

9571
9648#

5361

498711

7008#

68~5

8~~~#

~3~8#
9~ ,

5089

930g
7089#

8254
8350
8435#

9085
9201

4860
4921

6764
6847#
942
028
7114

8 50
B41j
85!6#

n~j"

a§BJt
4980
5080

4856
4916
4985
5062#

nn
~~n

9090

ng~#

gH1
9573#
9656

8451

nf~
8~

4
9092#
9227

~3U

9~09#
9589

9660

nB# 9

H11/1
~~i3

7604#
7693
p65
~32
7921#
SO~6
81 3
81 8

a1~§#
8455
8543

B~j~#

p~7lt

HUn
7939

518
9593
9665

H~~1t

18HIt

~1

7943
8035
8110#
8196

84 0
8545#

8462#
8562

80~0

lr#

e
H~ ~

1~41
8~0

Uta nfg#
S~3
i U2t i~55#
89 611
9116
9233

~~~~

7033
7116#

91 2
92 g

§~n#

8~~~

!~:~
822#

nr

91 ,
9240#

~U8
9528

9600it
9680

4865
4923#
5028

~n~

5283#
5379
5462
5545
5628#
5778
5824
5912
5995#
6088
6170

~~H

6424#
6506
6589
6680#
6781

U~~

7035#
7131
7217
'1301

7U~1!

1549
7629
7704#
F81
856
7948
8037#
8pO
~ 00
68
8~l#
84
8
8567

1

HQ 0343

a~~1#

l~H

~9.5~#

51 0#

~~~1#

~~~~#

5032

5298
5383

~1~~#

gnb"
6786
6~72

~ 54#

050

1H~

'1303#
7396
7470
7554
7631#
7717

H~l

7950#
8055

8~B~
81 0#
8 97
8482
8572

50~7

Ha9

~~H#

g8H
6177#
gj~i

6791

g~l~#

7055

HH#
7318
7401

~~~:
~~41

60~0

60994
2
6r
673
6 56
6435#
6528

~~F
679g#
6n~

~060
~r~#

h

7
7406

6~12#

6n~

~062#
H~~

7327
7408#
492
570
7653
7728#

ng~

7968
8059

~H~#
7

US

~48'
574#

8064
8,32#
8 23

Uat
8489#
~~~2

S8H#
9159

~U~#

94~~#

g~~a

9617
9684

~5h

6808

iUl#
7972

~6~8#
91 3

9539
9621
9689

g1~~jJ

645~

n~g#

~6!g
91 9#

9274

6196

1

7648
7726

H8~~#
~8U

§~~~
~~~ij#

g~H#

i~ZJ#

H~s~#
8841

~~~i

5656#
5758
5850
5942

~~J~#

7644
7721

R9~~#

8837

5045

UB
8846

H7~

954
9626
9691#

9164

USI'
9628#
9704

5049

~h~#

5410

g~1~#
5672
5763
5855

~Z~~#

6118
6201
gHg#
6454

g~P#

67 7
6813
6~98

670 ~l#
7

H~§
Hf~#
7~~~

8227

1655#
7742
~806
890
7979#
076
l47
8232

8505

8509

7977

~~~~#

Ua~#

8

U~~#

nn# nn#
8857

~g~~

9166#

U8~
H~~#
~~ij~

8867
8952

§~~6#

9311
94p

g~6r#
9641
9713

CQKOA-C KOI1-K BASIC LOGIC TESTS
CQI
9159
'>545
956b
9593
<;'103
992',
9947
Ul791i
10325
10354
103 3

a,gg

!~P~

13493
1:1919
14506
14990
lti3581/
;) 16';lit
:)474
.~:' 21
31 'it;

13516
13935
14'537
15026
16367
830n
2184

IH~j

;>494
2H40

7170

3191
3662
J'J07
41(;7
4689
4')59
5379
5784
619:>
65bO
6996
7396

11~13

fl562

1644

".' 1,

): ')51~
-'Bb5
32:>8
3680
39.22

Hn

4Q76
'5406
5~19
6218
6607
7023
7419

n~~

7712
!H20

• HEAD-=:
.KTIl

IH~r

11503
11943

IH~~

~~~np

HH~

1141JQ
1190

n~~

10629
11046
11326
1160')
12001
12334
14430
141'175
1i98#
b9A#

8590
9005
9497
9P54
10734
10656
1106B
11336
11496
11624
11020
12352
14466
720
699

1i9A#

70f!

8Q7:1
9476

1Zn~

1148e

1.
1#

CQKOA-C KOI1-K BASIC LOGIC TKSTS
CQKOAC.Pll
07-N(JV-78 14:09
• SwRLO
• lCTl

: ~HR
:• CATC
~HX
• CMTA

·

:•

g~38
~ll~
ERRO

: ~~t+

:

~~~ff

• RODE
• RODe

:• ~H~
SAH
•• SCOP
~G~g
• SIZE
• SUPR
• TRAP

• TYPIl

TYPO
•• TYPF.
• TYPO
: i~gA
• ABS.

un
~*i~

l~l3J

lrb~~~

11555
B6
1 452

H~~

15148
16369
1961
2224
2537
~81'l7
265
3702
391'

~~

t

~~~8

~~~~
6636

7050
7444
7801
B196

~gU
~5~~

10~62

0682
1090
111353
1!491)
627
1 039
13184
14502

MACY11 30A(1052) 15-NOY-7S 15:26 PAGE 355
CRUSS REFERENCE TABLE -- MACRO NAMES
7570
7648
7672
78 97
7!:ir

~~~~
8 6~

923
9331
18411

ln~t
p005
l~a~~
3!)92

uu~

7~ i
3
89
9274

9

1&81
104 0

I~Hg

1~6~1
104

IIFa~
629
1409~

nn 18~h
Ilil

138U
10469

H~U
nUi
If41
I
ilr6~
r~o

1 04~
59
1361164

1411~

15209

H~~9

1~~16

HH
2560

2583

~5.U

2002
2281i

Bg~

3718
43~51
43
4 53
5045
5458
5876
6269

~8H

7465

HB

8645
9079

~~~~

10291
0709
1
11H~
11516
11632

IB~~

14533

~H~

3746
3966

Hg~

5071
5484
5902
6295
6700

H~1

7852
8250
3672
9116
9'561
19:B8
10736

IBH
11521
11635
12095
13261
14557

3354
3760
3981
4304
47q2
5089
5510
5932
6321
751B

7544

~$~~

nn
~~~~
~n01

9153
9"iA9
9942
10349
10764
11156
11385
11524
11660
12132
13330
14586

B

230
P74

1#

H
Ii

H

15724

U
11~
If
l~

1/#

U
1#

1ft

It
11'

IIi

H
070034

698#

15916

6981t

16335

698
698
698

1

000

ERRORS OETECHD:
~B~~~iM~fN~~Q~~A~.~~t6~b~/SOL/NL:TOC=CQKDAC.SML,CQKDAC.Pl1

RUN-TIME RATIO: A6P/151=5.7
CORE USED: 39K (77 PAGF.S)

10524

~644

~1~~

HA~

HU~

tnu

137~5

13752

iHg~

2034
2141
2663
2993
3404
3789
4011

HB

5141
5562
5984
6372

9U~

7565
7939
8340
8759
9~27
9tJ7

8732
9190
§6H
loh8
10793

10823

11542
lf73

pe02
2196

HH~

hl~
18~h

19~5~

lUZi
11547

114615
1~6
iUU

UH~

U~g!

1!!553
2050
2361
2681
3011
3410
3803
40P
14, ~
482
'5193
5589
flOl1
639A
6808
7212
7593
7968
8369
A785

3g~~
19~H

10853
11221
11412
11!J50
lle3B
12204
13650
14666

MACY11 30l(1052) 15-NOV-78 15:26 PAGK 356
CROSS REFERENCE TARLE -- ~ACRO NAMES

U

IH

9~~~
0103

IHU
IHU
15431
15392
2016
2312
975
3379
3774
6
43r65
4 97
5115
553f
5957
6347

719#

U
lJI

699

i~i~

7721

a~8~

4 ~
i9r
8
0579

7746
81i5
85 q
~94
46
981
1018
10606

g

pl
IBgS
IHlb 11783
11754

UHi
13~p

1;1gl
1 339

2066
237')

2088
2395
2721
3046
3482
3833
4055
4521
4856
5246
5644
6062

U
~
156~0
1J~~

3456
3818
4040
4475
4841
5220

~3H
~~~~

H3Z
7997

8397
BAll
9305
9680

18g~4
10~83

H4~~

1156B

B~6Z

13~~5

14 09

PB09
lUt,

7765

uh un
tnn
B~4~

1~B48

BB~~

IP~~

U~98
846

B4H

HH
2754

HH
2771

2146
2453
2796

U~~

3877
4114
4655
4917

H~H

I 13Z I ~H

10099
10520
10947

11573
11900
12225

11576
11929
12256

1H~~

U~1~

95~l

I}BI6

10072
10492
10917

~1gl

lUg
98
1026

7644
8026
8424
8837

7i~~

SEQ 0352
780b

13~~3

10212
10633

3086
3508
3847
4070
4541
4B71
5272
5672
6088
6476
6888
7292
7668
8055
£.451
8857

~450

7785

~1~~

IHH

:~~1

U~34
891

3104
3531

4~59

4BB6

~~g3

6114
6502
~915

7~U

g~ig
8878

Hg~

10126
10547
0977
1 1287
11447
11594

IH~~
IH~Z

n8~g
451

phr
1~894

U333
H~~

~H~
6140

6528
6942
7344
7717

~ggg

8909
9433
9778
10154
10575
HOOt>
11304
11464
11597

BH2
IUU

SEQ 0353



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2014:02:15 15:00:22-08:00
Modify Date                     : 2014:02:15 14:21:08-08:00
Metadata Date                   : 2014:02:15 14:21:08-08:00
Producer                        : Adobe Acrobat 9.55 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:a13248e0-3102-ea4f-acc1-82bccf7639dd
Instance ID                     : uuid:e99279ad-f98b-b041-b020-e4b54a5f5a7f
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 183
EXIF Metadata provided by EXIF.tools

Navigation menu