OpenCores
URL https://opencores.org/ocsvn/ag_6502/ag_6502/trunk

Subversion Repositories ag_6502

[/] [ag_6502/] [trunk/] [genstates/] [states.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 olegodints
% Common blocks
2
 
3
@READ_AT_PC:
4
(:1     AB <= PC
5
 
6
 
7
@SELECT_EA:
8
(:1     AB <= EA
9
 
10
@SELECT_S:
11
(:1     AB <= S
12
 
13
@READ_AT_EA:
14
(:1     @SELECT_EA
15
 
16
@INC_PC:
17
(:2     PC <= PC + 1
18
 
19
@FETCH:
20
(0:1    @READ_AT_PC
21
(0:2    @INC_PC
22
 
23
@ENDC:
24
(:2     T <= 0
25
 
26
@UNDOC:
27
        @ENDC
28
 
29
@LOADNZ_SB:
30
(:2     N,Z <= SB
31
 
32
@LOADNZ_RES:
33
(:2     N,Z <= RES
34
 
35
@LOADNZ_SB_RES:
36
(:2     N,Z <= SB,RES
37
 
38
@LOADC_RES:
39
(:2     C <= RES
40
 
41
@LOADV_RES:
42
(:2     V <= RES
43
 
44
@LOADV_SB6:
45
(:2     V <= SB[6]
46
 
47
@ADD:
48
        ALU_CF = 0
49
        ALU_DF = 0
50
        ALU_OP = ADC
51
 
52
@INC:
53
        SB = 0
54
        ALU_B = SB
55
        ALU_CF = 1
56
        ALU_DF = 0
57
        ALU_OP = ADC
58
 
59
@INC_C:
60
        SB = 0
61
        ALU_B = SB
62
        ALU_CF = ALUC
63
        ALU_DF = 0
64
        ALU_OP = ADC
65
 
66
@DEC:
67
        SB = 0
68
        ALU_B = NOT SB
69
        ALU_CF = 0
70
        ALU_DF = 0
71
        ALU_OP = ADC
72
 
73
@COPY_ALU:
74
        SB = 0
75
        ALU_B = SB
76
        ALU_OP = ORA
77
 
78
@ADD_DB_X:
79
        ALU_A = DB
80
        SB = X
81
        ALU_B = SB
82
        @ADD
83
 
84
@ADD_EAL_PCL:
85
        ALU_A = EAL
86
        SB = PCL
87
        ALU_B = SB
88
        @ADD
89
 
90
@COPY_DB:
91
        ALU_A = DB
92
        @COPY_ALU
93
 
94
@ADD_DB_Y:
95
        ALU_A = DB
96
        SB = Y
97
        ALU_B = SB
98
        @ADD
99
 
100
@INC_DB_C:
101
        ALU_A = DB
102
        @INC_C
103
 
104
@INC_DB:
105
        ALU_A = DB
106
        @INC
107
 
108
@INC_EAL:
109
        ALU_A = EAL
110
        @INC
111
 
112
@INC_ALU:
113
        ALU_A = ALU
114
        @INC
115
 
116
@DEC_ALU:
117
        ALU_A = ALU
118
        @DEC
119
 
120
@INC_S:
121
        ALU_A = S
122
        @INC
123
 
124
@DEC_S:
125
        ALU_A = S
126
        @DEC
127
 
128
@CF_OPERATE:
129
(1:1    @READ_AT_PC
130
(2:2    CF <= IR[5]
131
        @ENDC
132
 
133
@IF_OPERATE:
134
(1:1    @READ_AT_PC
135
(2:2    IF <= IR[5]
136
        @ENDC
137
 
138
@DF_OPERATE:
139
(1:1    @READ_AT_PC
140
(2:2    DF <= IR[5]
141
        @ENDC
142
 
143
@VF_CLEAR:
144
(1:1    @READ_AT_PC
145
(2:2    VF <= 0
146
        @ENDC
147
 
148
@NF_TEST:
149
        T <= 0 IF NF != IR[5]
150
 
151
@VF_TEST:
152
        T <= 0 IF VF != IR[5]
153
 
154
@CF_TEST:
155
        T <= 0 IF CF != IR[5]
156
 
157
@ZF_TEST:
158
        T <= 0 IF ZF == IR[5]
159
 
160
% Addressing modes
161
 
162
@IMM:
163
(1:1    @READ_AT_PC
164
(1:2    @INC_PC
165
 
166
@ZP:
167
(1:1    @READ_AT_PC
168
(1:2    EA <= DB
169
        @INC_PC
170
(2:1    @SELECT_EA
171
 
172
@REL_READ:
173
(1:1    @READ_AT_PC
174
(1:2    @INC_PC
175
        EAL <= DB
176
 
177
@REL_JUMP:
178
(2:1    @READ_AT_PC
179
        @ADD_EAL_PCL
180
(2:2    PCL <= RES
181
        T <= 0 IF_C7F
182
(3:1    @READ_AT_PC
183
        ALU_A = SIGN
184
        SB = PCH
185
        ALU_B = SB
186
        @ADD
187
(3:2    PCH <= RES
188
        @ENDC
189
 
190
 
191
@ABS:
192
(1:1    @READ_AT_PC
193
(1:2    EAL <= DB
194
        @INC_PC
195
(2:1    @READ_AT_PC
196
(2:2    EAH <= DB
197
        @INC_PC
198
(3:1    @SELECT_EA
199
 
200
 
201
 
202
@INDX:
203
(1:1    @READ_AT_PC
204
        @ADD_DB_X
205
(1:2    EA <= DB
206
        @INC_PC
207
(2:1    @READ_AT_EA
208
        @INC_ALU
209
(2:2    EAL <= ALU
210
(3:1    @READ_AT_EA
211
        @COPY_DB
212
(3:2    EAL <= ALU
213
(4:1    @READ_AT_EA
214
(4:2    EAH <= DB
215
        EAL <= ALU
216
(5:1    @SELECT_EA
217
 
218
 
219
@ABSX_READ:
220
(1:1    @READ_AT_PC
221
        @ADD_DB_X
222
(1:2    EAL <= DB
223
        @INC_PC
224
(2:1    @READ_AT_PC
225
        @INC_DB_C
226
(2:2    EAH <= DB
227
        EAL <= ALU
228
        @INC_PC
229
        T <= T + 1 IF_ALUCZ
230
(3:1    @READ_AT_EA
231
(3:2    EAH <= ALU
232
(4:1    @SELECT_EA
233
 
234
 
235
@ABSY_READ:
236
(1:1    @READ_AT_PC
237
        @ADD_DB_Y
238
(1:2    EAL <= DB
239
        @INC_PC
240
(2:1    @READ_AT_PC
241
        @INC_DB_C
242
(2:2    EAH <= DB
243
        EAL <= ALU
244
        @INC_PC
245
        T <= T + 1 IF_ALUCZ
246
(3:1    @READ_AT_EA
247
(3:2    EAH <= ALU
248
(4:1    @SELECT_EA
249
 
250
 
251
@ABSX_WRITE:
252
(1:1    @READ_AT_PC
253
        @ADD_DB_X
254
(1:2    EAL <= DB
255
        @INC_PC
256
(2:1    @READ_AT_PC
257
        @INC_DB_C
258
(2:2    EAH <= DB
259
        EAL <= ALU
260
        @INC_PC
261
(3:1    @READ_AT_EA
262
(3:2    EAH <= ALU
263
(4:1    @SELECT_EA
264
 
265
 
266
@ABSY_WRITE:
267
(1:1    @READ_AT_PC
268
        @ADD_DB_Y
269
(1:2    EAL <= DB
270
        @INC_PC
271
(2:1    @READ_AT_PC
272
        @INC_DB_C
273
(2:2    EAH <= DB
274
        EAL <= ALU
275
        @INC_PC
276
(3:1    @READ_AT_EA
277
(3:2    EAH <= ALU
278
(4:1    @SELECT_EA
279
 
280
 
281
@ZPX:
282
(1:1    @READ_AT_PC
283
        @ADD_DB_X
284
(1:2    EA <= DB
285
        @INC_PC
286
(2:1    @READ_AT_EA
287
(2:2    EAL <= ALU
288
(3:1    @SELECT_EA
289
 
290
@ZPY:
291
(1:1    @READ_AT_PC
292
        @ADD_DB_Y
293
(1:2    EA <= DB
294
        @INC_PC
295
(2:1    @READ_AT_EA
296
(2:2    EAL <= ALU
297
(3:1    @SELECT_EA
298
 
299
 
300
 
301
@INDY_READ:
302
(1:1    @READ_AT_PC
303
        @INC_DB
304
(1:2    EA <= DB
305
        @INC_PC
306
(2:1    @READ_AT_EA
307
        @ADD_DB_Y
308
(2:2    EAL <= ALU
309
(3:1    @READ_AT_EA
310
        @INC_DB_C
311
(3:2    EAH <= DB
312
        EAL <= ALU
313
        T <= T + 1 IF_ALUCZ
314
(4:1    @READ_AT_EA
315
(4:2    EAH <= ALU
316
(5:1    @SELECT_EA
317
 
318
 
319
 
320
@INDY_WRITE:
321
(1:1    @READ_AT_PC
322
        @INC_DB
323
(1:2    EA <= DB
324
        @INC_PC
325
(2:1    @READ_AT_EA
326
        @ADD_DB_Y
327
(2:2    EAL <= ALU
328
(3:1    @READ_AT_EA
329
        @INC_DB_C
330
(3:2    EAH <= DB
331
        EAL <= ALU
332
(4:1    @READ_AT_EA
333
(4:2    EAH <= ALU
334
(5:1    @SELECT_EA
335
 
336
@IND_JMP:
337
(1:1    @READ_AT_PC
338
(1:2    EAL <= DB
339
        @INC_PC
340
(2:1    @READ_AT_PC
341
        @INC_EAL
342
(2:2    EAH <= DB
343
(3:1    @READ_AT_EA
344
        @COPY_DB
345
(3:2    EAL <= ALU
346
(4:1    @READ_AT_EA
347
        @COPY_DB
348
(4:2    PCH <= RES
349
        PCL <= ALU
350
        @ENDC
351
 
352
% Operations
353
 
354
@LDA:
355
(:1     SB = DB
356
(:2     AC <= SB
357
        @LOADNZ_SB
358
        @ENDC
359
 
360
@ORA:
361
(:1     SB = DB
362
        ALU_A = AC
363
        ALU_B = SB
364
        ALU_OP = ORA
365
(:2     AC <= RES
366
        @LOADNZ_RES
367
        @ENDC
368
 
369
@AND:
370
(:1     SB = DB
371
        ALU_A = AC
372
        ALU_B = SB
373
        ALU_OP = AND
374
(:2     AC <= RES
375
        @LOADNZ_RES
376
        @ENDC
377
 
378
@EOR:
379
(:1     SB = DB
380
        ALU_A = AC
381
        ALU_B = SB
382
        ALU_OP = EOR
383
(:2     AC <= RES
384
        @LOADNZ_RES
385
        @ENDC
386
 
387
@CMP:
388
(:1     SB = DB
389
        ALU_A = AC
390
        ALU_B = NOT SB
391
        ALU_DF = 0
392
        ALU_CF = 1
393
        ALU_OP = ADC
394
(:2     @LOADNZ_RES
395
        @LOADC_RES
396
        @ENDC
397
 
398
@BIT:
399
(:1     SB = DB
400
        ALU_A = AC
401
        ALU_B = SB
402
        ALU_OP = AND
403
(:2     @LOADNZ_SB_RES
404
        @LOADV_SB6
405
        @ENDC
406
 
407
@CPX:
408
(:1     SB = DB
409
        ALU_A = X
410
        ALU_B = NOT SB
411
        ALU_DF = 0
412
        ALU_CF = 1
413
        ALU_OP = ADC
414
(:2     @LOADNZ_RES
415
        @LOADC_RES
416
        @ENDC
417
 
418
@CPY:
419
(:1     SB = DB
420
        ALU_A = Y
421
        ALU_B = NOT SB
422
        ALU_DF = 0
423
        ALU_CF = 1
424
        ALU_OP = ADC
425
(:2     @LOADNZ_RES
426
        @LOADC_RES
427
        @ENDC
428
 
429
@ADC:
430
(:1     SB = DB
431
        ALU_A = AC
432
        ALU_B = SB
433
        ALU_DF = D
434
        ALU_CF = C
435
        ALU_OP = ADC
436
(:2     AC <= RES
437
        @LOADNZ_RES
438
        @LOADC_RES
439
        @LOADV_RES
440
        @ENDC
441
 
442
@SBC:
443
(:1     SB = DB
444
        ALU_A = AC
445
        ALU_B = NOT SB
446
        ALU_DF = D
447
        ALU_CF = C
448
        ALU_OP = ADC
449
(:2     AC <= RES
450
        @LOADNZ_RES
451
        @LOADC_RES
452
        @LOADV_RES
453
        @ENDC
454
 
455
@ASL_A:
456
(1:1    ALU_A = AC
457
        ALU_CF = C
458
        ALU_OP = ASL
459
(:2     AC <= RES
460
        @LOADNZ_RES
461
        @LOADC_RES
462
        @ENDC
463
 
464
@ASL_M:
465
(:1     @COPY_DB
466
(+:1    RW = W
467
        SB = ALU
468
        DB <= SB
469
        ALU_A = ALU
470
        ALU_CF = C
471
        ALU_OP = ASL
472
(:2     @LOADNZ_RES
473
        @LOADC_RES
474
(+:1    RW = W
475
        SB = ALU
476
        DB <= SB
477
(:2     @ENDC
478
 
479
@LSR_A:
480
(1:1    ALU_A = AC
481
        ALU_CF = C
482
        ALU_OP = LSR
483
(:2     AC <= RES
484
        @LOADNZ_RES
485
        @LOADC_RES
486
        @ENDC
487
 
488
@LSR_M:
489
(:1     @COPY_DB
490
(+:1    RW = W
491
        SB = ALU
492
        DB <= SB
493
        ALU_A = ALU
494
        ALU_CF = C
495
        ALU_OP = LSR
496
(:2     @LOADNZ_RES
497
        @LOADC_RES
498
(+:1    RW = W
499
        SB = ALU
500
        DB <= SB
501
(:2     @ENDC
502
 
503
@ROL_A:
504
(1:1    ALU_A = AC
505
        ALU_CF = C
506
        ALU_OP = ROL
507
(:2     AC <= RES
508
        @LOADNZ_RES
509
        @LOADC_RES
510
        @ENDC
511
 
512
@ROL_M:
513
(:1     @COPY_DB
514
(+:1    RW = W
515
        SB = ALU
516
        DB <= SB
517
        ALU_A = ALU
518
        ALU_CF = C
519
        ALU_OP = ROL
520
(:2     @LOADNZ_RES
521
        @LOADC_RES
522
(+:1    RW = W
523
        SB = ALU
524
        DB <= SB
525
(:2     @ENDC
526
 
527
@ROR_A:
528
(1:1    ALU_A = AC
529
        ALU_CF = C
530
        ALU_OP = ROR
531
(:2     AC <= RES
532
        @LOADNZ_RES
533
        @LOADC_RES
534
        @ENDC
535
 
536
@ROR_M:
537
(:1     @COPY_DB
538
(+:1    RW = W
539
        SB = ALU
540
        DB <= SB
541
        ALU_A = ALU
542
        ALU_CF = C
543
        ALU_OP = ROR
544
(:2     @LOADNZ_RES
545
        @LOADC_RES
546
(+:1    RW = W
547
        SB = ALU
548
        DB <= SB
549
(:2     @ENDC
550
 
551
@STA:
552
(:1     RW = W
553
        SB = AC
554
        DB <= SB
555
(:2     @ENDC
556
 
557
@LDX:
558
(:1     SB = DB
559
(:2     X <= SB
560
        @LOADNZ_SB
561
        @ENDC
562
@STX:
563
(:1     RW = W
564
        SB = X
565
        DB <= SB
566
(:2     @ENDC
567
 
568
@LDY:
569
(:1     SB = DB
570
(:2     Y <= SB
571
        @LOADNZ_SB
572
        @ENDC
573
@STY:
574
(:1     RW = W
575
        SB = Y
576
        DB <= SB
577
(:2     @ENDC
578
 
579
 
580
@TAY:
581
(:1     SB = AC
582
(:2     Y <= SB
583
        @LOADNZ_SB
584
        @ENDC
585
 
586
@TYA:
587
(:1     SB = Y
588
(:2     AC <= SB
589
        @LOADNZ_SB
590
        @ENDC
591
 
592
@TAX:
593
(:1     SB = AC
594
(:2     X <= SB
595
        @LOADNZ_SB
596
        @ENDC
597
 
598
@TXA:
599
(:1     SB = X
600
(:2     AC <= SB
601
        @LOADNZ_SB
602
        @ENDC
603
 
604
@NOP:
605
(:2     @ENDC
606
 
607
@TSX:
608
(:1     SB = S
609
(:2     X <= SB
610
        @LOADNZ_SB
611
        @ENDC
612
 
613
@TXS:
614
(:1     SB = X
615
(:2     S <= SB
616
        @ENDC
617
 
618
@JMP:
619
(:2     PC <= EA
620
        @ENDC
621
 
622
@PUSH:
623
(1:1    @READ_AT_PC
624
        @DEC_S
625
(2:1    @SELECT_S
626
        DB <= SB
627
        RW = W
628
(2:2    S <= ALU
629
 
630
@PULL:
631
(1:1    @READ_AT_PC
632
        @INC_S
633
(2:1    @SELECT_S
634
(2:2    S <= ALU
635
(3:1    @SELECT_S
636
        SB = DB
637
 
638
@PHA:
639
(1:1    @PUSH
640
(:1     SB = AC
641
        @ENDC
642
 
643
@PHP:
644
(1:1    @PUSH
645
(:1     SB = P
646
        @ENDC
647
 
648
@PLA:
649
(:1     @PULL
650
(:2     AC <= SB
651
        @LOADNZ_SB
652
        @ENDC
653
 
654
@PLP:
655
(:1     @PULL
656
(:2     P <= SB
657
        @ENDC
658
 
659
@INX:
660
(:1     ALU_A = X
661
        @INC
662
(:2     X <= RES
663
        @LOADNZ_RES
664
        @ENDC
665
 
666
@INY:
667
(:1     ALU_A = Y
668
        @INC
669
(:2     Y <= RES
670
        @LOADNZ_RES
671
        @ENDC
672
 
673
@DEX:
674
(:1     ALU_A = X
675
        @DEC
676
(:2     X <= RES
677
        @LOADNZ_RES
678
        @ENDC
679
 
680
@DEY:
681
(:1     ALU_A = Y
682
        @DEC
683
(:2     Y <= RES
684
        @LOADNZ_RES
685
        @ENDC
686
 
687
 
688
@INC_M:
689
(:1     @COPY_DB
690
(+:1    RW = W
691
        DB <= ALU
692
        @INC_ALU
693
(:2     @LOADNZ_RES
694
(+:1    RW = W
695
        DB <= ALU
696
(:2     @ENDC
697
 
698
@DEC_M:
699
(:1     @COPY_DB
700
(+:1    RW = W
701
        DB <= ALU
702
        @DEC_ALU
703
(:2     @LOADNZ_RES
704
(+:1    RW = W
705
        DB <= ALU
706
(:2     @ENDC
707
 
708
@JSR_ABS:
709
(1:1    @READ_AT_PC
710
(1:2    EAL <= DB
711
        @INC_PC
712
(2:1    @SELECT_S
713
        @DEC_S
714
(3:1    @SELECT_S
715
        RW = W
716
        DB <= PCH
717
        ALU_A = ALU
718
        @DEC
719
(3:2    S <= ALU
720
(4:1    @SELECT_S
721
        RW = W
722
        SB = PCL
723
        DB <= SB
724
(4:2    S <= ALU
725
(5:1    @READ_AT_PC
726
        @COPY_DB
727
(5:2    PCH <= RES
728
        PCL <= EAL
729
        @ENDC
730
 
731
@BRK:
732
(1:1    @READ_AT_PC
733
        @DEC_S
734
(2:1    @SELECT_S
735
        ALU_A = ALU
736
        @DEC
737
        RW = W
738
        DB <= PCH
739
(2:2    S <= ALU
740
(3:1    @SELECT_S
741
        ALU_A = ALU
742
        @DEC
743
        RW = W
744
        DB <= PCL
745
(3:2    S <= ALU
746
(4:1    @SELECT_S
747
        RW = W
748
        DB <= P
749
        @INC_EAL
750
(4:2    S <= ALU
751
(5:1    @READ_AT_EA
752
        @COPY_DB
753
(5:2    EAL <= ALU
754
(6:1    @READ_AT_EA
755
        @COPY_DB
756
(6:2    PCH <= RES
757
        PCL <= ALU
758
        @ENDC
759
 
760
 
761
@RTS:
762
(1:1    @READ_AT_PC
763
        @INC_S
764
(2:1    @SELECT_S
765
        ALU_A = ALU
766
        @INC
767
(2:2    S <= ALU
768
(3:1    @SELECT_S
769
        @COPY_DB
770
(3:2    S <= ALU
771
        PCL <= RES
772
(4:1    @SELECT_S
773
        @COPY_DB
774
(4:2    PCH <= RES
775
(5:1    @READ_AT_PC
776
(5:2    @INC_PC
777
        @ENDC
778
 
779
@RTI:
780
(1:1    @READ_AT_PC
781
        @INC_S
782
(2:1    @SELECT_S
783
        ALU_A = ALU
784
        @INC
785
(2:2    S <= ALU
786
(3:1    @SELECT_S
787
        ALU_A = ALU
788
        @INC
789
(3:2    S <= ALU
790
        P <= DB
791
(4:1    @SELECT_S
792
        ALU_A = ALU
793
        @INC
794
(4:2    PCL <= DB
795
        S <= ALU
796
(5:1    @SELECT_S
797
        @COPY_DB
798
(5:2    PCH <= RES
799
        @ENDC
800
 
801
% Extra operations (incomplete)
802
 
803
@LAX:
804
(:1     SB = DB
805
(:2     AC <= SB
806
        X <= SB
807
        @LOADNZ_SB
808
        @ENDC
809
 
810
 
811
% Real commands
812
 
813
#00: % BRK
814
(0:     @FETCH
815
(1:     @BRK
816
 
817
#01: % ORA (IND,X)
818
(0:     @FETCH
819
(1:     @INDX
820
        @ORA
821
 
822
#03: % *SLO (IND,X) - incomplete
823
(0:     @FETCH
824
(1:     @INDX
825
        @UNDOC
826
 
827
#04: % *NOP ZP
828
(0:     @FETCH
829
(1:     @ZP
830
        @NOP
831
 
832
#05: % ORA ZP
833
(0:     @FETCH
834
(1:     @ZP
835
        @ORA
836
 
837
#06: % ASL ZP
838
(0:     @FETCH
839
(1:     @ZP
840
        @ASL_M
841
 
842
#07: % *SLO ZP - incomplete
843
(0:     @FETCH
844
(1:     @ZP
845
        @UNDOC
846
 
847
 
848
#08: % PHP
849
(0:     @FETCH
850
        @PHP
851
 
852
#09: % ORA #IMM
853
(0:     @FETCH
854
(1:     @IMM
855
        @ORA
856
 
857
#0A: % ASL A
858
(0:     @FETCH
859
        @ASL_A
860
 
861
#0B: % *ANC #IMM - incomplete
862
(0:     @FETCH
863
(1:     @IMM
864
        @UNDOC
865
 
866
#0C: % *NOP ABS
867
(0:     @FETCH
868
(1:     @ABS
869
        @NOP
870
 
871
#0D: % ORA ABS
872
(0:     @FETCH
873
(1:     @ABS
874
        @ORA
875
 
876
#0E: % ASL ABS
877
(0:     @FETCH
878
(1:     @ABS
879
        @ASL_M
880
 
881
#0F: % *SLO ABS - incomplete
882
(0:     @FETCH
883
(1:     @ABS
884
        @UNDOC
885
 
886
#10: % BPL REL
887
(0:     @FETCH
888
(1:     @REL_READ
889
        @NF_TEST
890
        @REL_JUMP
891
 
892
#11: % ORA (IND),Y
893
(0:     @FETCH
894
(1:     @INDY_READ
895
        @ORA
896
 
897
#13: % *SLO (IND),Y - incomplete
898
(0:     @FETCH
899
(1:     @INDY_WRITE
900
        @UNDOC
901
 
902
#14: % *NOP ZP,X
903
(0:     @FETCH
904
(1:     @ZPX
905
        @NOP
906
 
907
#15: % ORA ZP,X
908
(0:     @FETCH
909
(1:     @ZPX
910
        @ORA
911
 
912
#16: % ASL ZP,X
913
(0:     @FETCH
914
(1:     @ZPX
915
        @ASL_M
916
 
917
#17: % *SLO ZP,X - incomplete
918
(0:     @FETCH
919
(1:     @ZPX
920
        @UNDOC
921
 
922
#18: % CLC
923
(0:     @FETCH
924
        @CF_OPERATE
925
 
926
 
927
#19: % ORA ABS,Y
928
(0:     @FETCH
929
(1:     @ABSY_READ
930
        @ORA
931
 
932
#1A: % *NOP
933
(0:     @FETCH
934
(1:     @NOP
935
 
936
#1B: % *SLO ABS,Y - incomplete
937
(0:     @FETCH
938
(1:     @ABSY_WRITE
939
        @UNDOC
940
 
941
 
942
#1C: % *NOP ABS,X
943
(0:     @FETCH
944
(1:     @ABSX_READ
945
        @NOP
946
 
947
#1D: % ORA ABS,X
948
(0:     @FETCH
949
(1:     @ABSX_READ
950
        @ORA
951
 
952
 
953
#1E: % ASL ABS,X
954
(0:     @FETCH
955
(1:     @ABSX_WRITE
956
        @ASL_M
957
 
958
#1F: % *SLO ABS,X - incomplete
959
(0:     @FETCH
960
(1:     @ABSX_WRITE
961
        @UNDOC
962
 
963
#20: % JSR ABS
964
(0:     @FETCH
965
(1:     @JSR_ABS
966
 
967
#21: % AND (IND,X)
968
(0:     @FETCH
969
(1:     @INDX
970
        @AND
971
 
972
#23: % *RLA (IND,X) - incomplete
973
(0:     @FETCH
974
(1:     @INDX
975
        @UNDOC
976
 
977
#24: % BIT ZP
978
(0:     @FETCH
979
(1:     @ZP
980
        @BIT
981
 
982
#25: % AND ZP
983
(0:     @FETCH
984
(1:     @ZP
985
        @AND
986
 
987
#26: % ROL ZP
988
(0:     @FETCH
989
(1:     @ZP
990
        @ROL_M
991
 
992
#27: % *RLA ZP - incomplete
993
(0:     @FETCH
994
(1:     @ZP
995
        @UNDOC
996
 
997
 
998
#28: % PLP
999
(0:     @FETCH
1000
(1:     @PLP
1001
 
1002
 
1003
#29: % AND #IMM
1004
(0:     @FETCH
1005
(1:     @IMM
1006
        @AND
1007
 
1008
#2A: % ROL A
1009
(0:     @FETCH
1010
        @ROL_A
1011
 
1012
#2B: % *ANC #IMM - incomplete
1013
(0:     @FETCH
1014
(1:     @IMM
1015
        @UNDOC
1016
 
1017
#2C: % BIT ABS
1018
(0:     @FETCH
1019
(1:     @ABS
1020
        @BIT
1021
 
1022
#2D: % AND ABS
1023
(0:     @FETCH
1024
(1:     @ABS
1025
        @AND
1026
 
1027
#2E: % ROL ABS
1028
(0:     @FETCH
1029
(1:     @ABS
1030
        @ROL_M
1031
 
1032
#2F: % *RLA ABS - incomplete
1033
(0:     @FETCH
1034
(1:     @ABS
1035
        @UNDOC
1036
 
1037
#30: % BMI REL
1038
(0:     @FETCH
1039
(1:     @REL_READ
1040
        @NF_TEST
1041
        @REL_JUMP
1042
 
1043
#31: % AND (IND),Y
1044
(0:     @FETCH
1045
(1:     @INDY_READ
1046
        @AND
1047
 
1048
#33: % *RLA (IND),Y - incomplete
1049
(0:     @FETCH
1050
(1:     @INDY_WRITE
1051
        @UNDOC
1052
 
1053
 
1054
#34: % *NOP ZP,X
1055
(0:     @FETCH
1056
(1:     @ZPX
1057
        @NOP
1058
 
1059
#35: % AND ZP,X
1060
(0:     @FETCH
1061
(1:     @ZPX
1062
        @AND
1063
 
1064
#36: % ROL ZP,X
1065
(0:     @FETCH
1066
(1:     @ZPX
1067
        @ROL_M
1068
 
1069
#37: % *RLA ZP,X - incomplete
1070
(0:     @FETCH
1071
(1:     @ZPX
1072
        @UNDOC
1073
 
1074
#38: % SEC
1075
(0:     @FETCH
1076
        @CF_OPERATE
1077
 
1078
#39: % AND ABS,Y
1079
(0:     @FETCH
1080
(1:     @ABSY_READ
1081
        @AND
1082
 
1083
#3A: % *NOP
1084
(0:     @FETCH
1085
(1:     @NOP
1086
 
1087
#3B: % *RLA ABS,Y - incomplete
1088
(0:     @FETCH
1089
(1:     @ABSY_WRITE
1090
        @UNDOC
1091
 
1092
#3C: % *NOP ABS,X
1093
(0:     @FETCH
1094
(1:     @ABSX_READ
1095
        @NOP
1096
 
1097
#3D: % AND ABS,X
1098
(0:     @FETCH
1099
(1:     @ABSX_READ
1100
        @AND
1101
 
1102
#3E: % ROL ABS,X
1103
(0:     @FETCH
1104
(1:     @ABSX_WRITE
1105
        @ROL_M
1106
 
1107
#3F: % *RLA ABS,X - incomplete
1108
(0:     @FETCH
1109
(1:     @ABSX_WRITE
1110
        @UNDOC
1111
 
1112
 
1113
#40: % RTI
1114
(0:     @FETCH
1115
(1:     @RTI
1116
 
1117
#41: % EOR (IND,X)
1118
(0:     @FETCH
1119
(1:     @INDX
1120
        @EOR
1121
 
1122
#43: % *SRE (IND,X) - incomplete
1123
(0:     @FETCH
1124
(1:     @INDX
1125
        @UNDOC
1126
 
1127
#44: % *NOP ZP
1128
(0:     @FETCH
1129
(1:     @ZP
1130
        @NOP
1131
 
1132
#45: % EOR ZP
1133
(0:     @FETCH
1134
(1:     @ZP
1135
        @EOR
1136
 
1137
#46: % LSR ZP
1138
(0:     @FETCH
1139
(1:     @ZP
1140
        @LSR_M
1141
 
1142
#47: % *SRE ZP - incomplete
1143
(0:     @FETCH
1144
(1:     @ZP
1145
        @UNDOC
1146
 
1147
#48: % PHA
1148
(0:     @FETCH
1149
(1:     @PHA
1150
 
1151
 
1152
#49: % EOR #IMM
1153
(0:     @FETCH
1154
(1:     @IMM
1155
        @EOR
1156
 
1157
#4A: % LSR A
1158
(0:     @FETCH
1159
        @LSR_A
1160
 
1161
#4B: % *ALR #IMM - incomplete
1162
(0:     @FETCH
1163
(1:     @IMM
1164
        @UNDOC
1165
 
1166
#4C: % JMP ABS
1167
(0:     @FETCH
1168
(1:     @ABS
1169
        @JMP
1170
 
1171
#4D: % EOR ABS
1172
(0:     @FETCH
1173
(1:     @ABS
1174
        @EOR
1175
 
1176
#4E: % LSR ABS
1177
(0:     @FETCH
1178
(1:     @ABS
1179
        @LSR_M
1180
 
1181
#4F: % *SRE ABS - incomplete
1182
(0:     @FETCH
1183
(1:     @ABS
1184
        @UNDOC
1185
 
1186
#50: % BVC REL
1187
(0:     @FETCH
1188
(1:     @REL_READ
1189
        @VF_TEST
1190
        @REL_JUMP
1191
 
1192
#51: % EOR (IND),Y
1193
(0:     @FETCH
1194
(1:     @INDY_READ
1195
        @EOR
1196
 
1197
#53: % *SRE (IND),Y - incomplete
1198
(0:     @FETCH
1199
(1:     @INDY_WRITE
1200
        @UNDOC
1201
 
1202
#54: % *NOP ZP,X
1203
(0:     @FETCH
1204
(1:     @ZPX
1205
        @NOP
1206
 
1207
#55: % EOR ZP,X
1208
(0:     @FETCH
1209
(1:     @ZPX
1210
        @EOR
1211
 
1212
#56: % LSR ZP,X
1213
(0:     @FETCH
1214
(1:     @ZPX
1215
        @LSR_M
1216
 
1217
#57: % *SRE ZP,X - incomplete
1218
(0:     @FETCH
1219
(1:     @ZPX
1220
        @UNDOC
1221
 
1222
#58: % CLI
1223
(0:     @FETCH
1224
        @IF_OPERATE
1225
 
1226
#59: % EOR ABS,Y
1227
(0:     @FETCH
1228
(1:     @ABSY_READ
1229
        @EOR
1230
 
1231
#5A: % *NOP
1232
(0:     @FETCH
1233
(1:     @NOP
1234
 
1235
#5B: % *SRE ABS,Y - incomplete
1236
(0:     @FETCH
1237
(1:     @ABSY_WRITE
1238
        @UNDOC
1239
 
1240
#5C: % *NOP ABS,X
1241
(0:     @FETCH
1242
(1:     @ABSX_READ
1243
        @NOP
1244
 
1245
#5D: % EOR ABS,X
1246
(0:     @FETCH
1247
(1:     @ABSX_READ
1248
        @EOR
1249
 
1250
#5E: % LSR ABS,X
1251
(0:     @FETCH
1252
(1:     @ABSX_WRITE
1253
        @LSR_M
1254
 
1255
#5F: % *SRE ABS,X - incomplete
1256
(0:     @FETCH
1257
(1:     @ABSX_WRITE
1258
        @UNDOC
1259
 
1260
 
1261
 
1262
#60: % RTS
1263
(0:     @FETCH
1264
(1:     @RTS
1265
 
1266
#61: % ADC (IND,X)
1267
(0:     @FETCH
1268
(1:     @INDX
1269
        @ADC
1270
 
1271
#63: % *RRA (IND,X) - incomplete
1272
(0:     @FETCH
1273
(1:     @INDX
1274
        @UNDOC
1275
 
1276
#64: % *NOP ZP
1277
(0:     @FETCH
1278
(1:     @ZP
1279
        @NOP
1280
 
1281
#65: % ADC ZP
1282
(0:     @FETCH
1283
(1:     @ZP
1284
        @ADC
1285
 
1286
#66: % ROR ZP
1287
(0:     @FETCH
1288
(1:     @ZP
1289
        @ROR_M
1290
 
1291
#67: % *RRA ZP - incomplete
1292
(0:     @FETCH
1293
(1:     @ZP
1294
        @UNDOC
1295
 
1296
#68: % PLA
1297
(0:     @FETCH
1298
(1:     @PLA
1299
 
1300
 
1301
#69: % ADC #IMM
1302
(0:     @FETCH
1303
(1:     @IMM
1304
        @ADC
1305
 
1306
#6A: % ROR A
1307
(0:     @FETCH
1308
        @ROR_A
1309
 
1310
#6B: % *ARR #IMM - incomplete
1311
(0:     @FETCH
1312
(1:     @IMM
1313
        @UNDOC
1314
 
1315
#6C: % JMP (IND)
1316
(0:     @FETCH
1317
(1:     @IND_JMP
1318
 
1319
#6D: % ADC ABS
1320
(0:     @FETCH
1321
(1:     @ABS
1322
        @ADC
1323
 
1324
#6E: % ROR ABS
1325
(0:     @FETCH
1326
(1:     @ABS
1327
        @ROR_M
1328
 
1329
#6F: % *RRA ABS - uncomplete
1330
(0:     @FETCH
1331
(1:     @ABS
1332
        @UNDOC
1333
 
1334
#70: % BVS REL
1335
(0:     @FETCH
1336
(1:     @REL_READ
1337
        @VF_TEST
1338
        @REL_JUMP
1339
 
1340
#71: % ADC (IND),Y
1341
(0:     @FETCH
1342
(1:     @INDY_READ
1343
        @ADC
1344
 
1345
#73: % *RRA (IND),Y - incomplete
1346
(0:     @FETCH
1347
(1:     @INDY_WRITE
1348
        @UNDOC
1349
 
1350
#74: % *NOP ZP,X
1351
(0:     @FETCH
1352
(1:     @ZPX
1353
        @NOP
1354
 
1355
#75: % ADC ZP,X
1356
(0:     @FETCH
1357
(1:     @ZPX
1358
        @ADC
1359
 
1360
#76: % ROR ZP,X
1361
(0:     @FETCH
1362
(1:     @ZPX
1363
        @ROR_M
1364
 
1365
#77: % *RRA ZP,X - incomplete
1366
(0:     @FETCH
1367
(1:     @ZPX
1368
        @UNDOC
1369
 
1370
#78: % SEI
1371
(0:     @FETCH
1372
        @IF_OPERATE
1373
 
1374
 
1375
#79: % ADC ABS,Y
1376
(0:     @FETCH
1377
(1:     @ABSY_READ
1378
        @ADC
1379
 
1380
#7A: % *NOP
1381
(0:     @FETCH
1382
(1:     @NOP
1383
 
1384
#7B: % *RRA ABS,Y - incomplete
1385
(0:     @FETCH
1386
(1:     @ABSY_WRITE
1387
        @UNDOC
1388
 
1389
#7C: % *NOP ABS,X
1390
(0:     @FETCH
1391
(1:     @ABSX_READ
1392
        @NOP
1393
 
1394
#7D: % ADC ABS,X
1395
(0:     @FETCH
1396
(1:     @ABSX_READ
1397
        @ADC
1398
 
1399
#7E: % ROR ABS,X
1400
(0:     @FETCH
1401
(1:     @ABSX_WRITE
1402
        @ROR_M
1403
 
1404
#7F: % *RRA ABS,X - incomplete
1405
(0:     @FETCH
1406
(1:     @ABSX_WRITE
1407
        @UNDOC
1408
 
1409
 
1410
#80: % *NOP #IMM
1411
(0:     @FETCH
1412
(1:     @IMM
1413
        @NOP
1414
 
1415
#81: % STA (IND,X)
1416
(0:     @FETCH
1417
(1:     @INDX
1418
        @STA
1419
 
1420
#82: % *NOP #IMM
1421
(0:     @FETCH
1422
(1:     @IMM
1423
        @NOP
1424
 
1425
#83: % *SAX (IND,X) - incomplete
1426
(0:     @FETCH
1427
(1:     @INDX
1428
        @UNDOC
1429
 
1430
#84: % STY ZP
1431
(0:     @FETCH
1432
(1:     @ZP
1433
        @STY
1434
 
1435
#85: % STA ZP
1436
(0:     @FETCH
1437
(1:     @ZP
1438
        @STA
1439
 
1440
#86: % STX ZP
1441
(0:     @FETCH
1442
(1:     @ZP
1443
        @STX
1444
 
1445
#87: % *SAX ZP - incomplete
1446
(0:     @FETCH
1447
(1:     @ZP
1448
        @UNDOC
1449
 
1450
#88: % DEY
1451
(0:     @FETCH
1452
(1:     @DEY
1453
 
1454
 
1455
#89: % *NOP #IMM
1456
(0:     @FETCH
1457
(1:     @IMM
1458
        @NOP
1459
 
1460
#8A: % TXA
1461
(0:     @FETCH
1462
(1:     @TXA
1463
 
1464
#8B: % *XAA - incomplete
1465
(0:     @FETCH
1466
(1:     @UNDOC
1467
 
1468
#8C: % STY ABS
1469
(0:     @FETCH
1470
(1:     @ABS
1471
        @STY
1472
 
1473
#8D: % STA ABS
1474
(0:     @FETCH
1475
(1:     @ABS
1476
        @STA
1477
 
1478
#8E: % STX ABS
1479
(0:     @FETCH
1480
(1:     @ABS
1481
        @STX
1482
 
1483
#8F: % *SAX ABS - incomplete
1484
(0:     @FETCH
1485
(1:     @ABS
1486
        @UNDOC
1487
 
1488
#90: % BCC REL
1489
(0:     @FETCH
1490
(1:     @REL_READ
1491
        @CF_TEST
1492
        @REL_JUMP
1493
 
1494
#91: % STA (IND),Y
1495
(0:     @FETCH
1496
(1:     @INDY_WRITE
1497
        @STA
1498
 
1499
#93: % *SAX (IND),Y - incomplete
1500
(0:     @FETCH
1501
(1:     @INDY_WRITE
1502
        @UNDOC
1503
 
1504
#94: % STY ZP,X
1505
(0:     @FETCH
1506
(1:     @ZPX
1507
        @STY
1508
 
1509
#95: % STA ZP,X
1510
(0:     @FETCH
1511
(1:     @ZPX
1512
        @STA
1513
 
1514
#96: % STX ZP,Y
1515
(0:     @FETCH
1516
(1:     @ZPY
1517
        @STX
1518
 
1519
#97: % *SAX ZP,Y - incomplete
1520
(0:     @FETCH
1521
(1:     @ZPY
1522
        @UNDOC
1523
 
1524
#98: % TYA
1525
(0:     @FETCH
1526
(1:     @TYA
1527
 
1528
 
1529
#99: % STA ABS,Y
1530
(0:     @FETCH
1531
(1:     @ABSY_WRITE
1532
        @STA
1533
 
1534
#9A: % TXS
1535
(0:     @FETCH
1536
(1:     @TXS
1537
 
1538
#9B: % *TAS ABS,Y - incomplete
1539
(0:     @FETCH
1540
(1:     @ABSY_WRITE
1541
        @UNDOC
1542
 
1543
#9C: % *SHY ABS,X - incomplete
1544
(0:     @FETCH
1545
(1:     @ABSX_WRITE
1546
        @UNDOC
1547
 
1548
#9D: % STA ABS,X
1549
(0:     @FETCH
1550
(1:     @ABSX_WRITE
1551
        @STA
1552
 
1553
#9E: % *SHX ABS,Y - incomplete
1554
(0:     @FETCH
1555
(1:     @ABSY_WRITE
1556
        @UNDOC
1557
 
1558
#9F: % *AHX ABS,Y - incomplete
1559
(0:     @FETCH
1560
(1:     @ABSY_WRITE
1561
        @UNDOC
1562
 
1563
 
1564
#A0: % LDY #IMM
1565
(0:     @FETCH
1566
(1:     @IMM
1567
        @LDY
1568
 
1569
#A1: % LDA (IND,X)
1570
(0:     @FETCH
1571
(1:     @INDX
1572
        @LDA
1573
 
1574
#A2: % LDX #IMM
1575
(0:     @FETCH
1576
(1:     @IMM
1577
        @LDX
1578
 
1579
#A3: % *LAX (IND,X)
1580
(0:     @FETCH
1581
(1:     @INDX
1582
        @LAX
1583
 
1584
#A4: % LDY ZP
1585
(0:     @FETCH
1586
(1:     @ZP
1587
        @LDY
1588
 
1589
#A5: % LDA ZP
1590
(0:     @FETCH
1591
(1:     @ZP
1592
        @LDA
1593
 
1594
#A6: % LDX ZP
1595
(0:     @FETCH
1596
(1:     @ZP
1597
        @LDX
1598
 
1599
#A7: % *LAX ZP
1600
(0:     @FETCH
1601
(1:     @ZP
1602
        @LAX
1603
 
1604
#A8: % TAY
1605
(0:     @FETCH
1606
(1:     @TAY
1607
 
1608
#A9: % LDA #IMM
1609
(0:     @FETCH
1610
(1:     @IMM
1611
        @LDA
1612
 
1613
#AA: % TAX
1614
(0:     @FETCH
1615
(1:     @TAX
1616
 
1617
#AB: % *LAX #IMM
1618
(0:     @FETCH
1619
(1:     @IMM
1620
        @LAX
1621
 
1622
 
1623
 
1624
#AC: % LDY ABS
1625
(0:     @FETCH
1626
(1:     @ABS
1627
        @LDY
1628
 
1629
#AD: % LDA ABS
1630
(0:     @FETCH
1631
(1:     @ABS
1632
        @LDA
1633
 
1634
#AE: % LDX ABS
1635
(0:     @FETCH
1636
(1:     @ABS
1637
        @LDX
1638
 
1639
#AF: % *LAX ABS
1640
(0:     @FETCH
1641
(1:     @ABS
1642
        @LAX
1643
 
1644
#B0: % BCS REL
1645
(0:     @FETCH
1646
(1:     @REL_READ
1647
        @CF_TEST
1648
        @REL_JUMP
1649
 
1650
 
1651
#B1: % LDA (IND),Y
1652
(0:     @FETCH
1653
(1:     @INDY_READ
1654
        @LDA
1655
 
1656
#B3: % *LAX (IND),Y
1657
(0:     @FETCH
1658
(1:     @INDY_READ
1659
        @LAX
1660
 
1661
#B4: % LDY ZP,X
1662
(0:     @FETCH
1663
(1:     @ZPX
1664
        @LDY
1665
 
1666
#B5: % LDA ZP,X
1667
(0:     @FETCH
1668
(1:     @ZPX
1669
        @LDA
1670
 
1671
#B6: % LDX ZP,Y
1672
(0:     @FETCH
1673
(1:     @ZPY
1674
        @LDX
1675
 
1676
#B7: % *LAX ZP,Y
1677
(0:     @FETCH
1678
(1:     @ZPY
1679
        @LAX
1680
 
1681
#B8: % CLV
1682
(0:     @FETCH
1683
        @VF_CLEAR
1684
 
1685
#B9: % LDA ABS,Y
1686
(0:     @FETCH
1687
(1:     @ABSY_READ
1688
        @LDA
1689
 
1690
#BA: % TSX
1691
(0:     @FETCH
1692
(1:     @TSX
1693
 
1694
 
1695
#BB: % *LAS ABS,Y - incomplete
1696
(0:     @FETCH
1697
(1:     @ABSY_READ
1698
        @UNDOC
1699
 
1700
#BC: % LDY ABS,X
1701
(0:     @FETCH
1702
(1:     @ABSX_READ
1703
        @LDY
1704
 
1705
#BD: % LDA ABS,X
1706
(0:     @FETCH
1707
(1:     @ABSX_READ
1708
        @LDA
1709
 
1710
#BE: % LDX ABS,Y
1711
(0:     @FETCH
1712
(1:     @ABSY_READ
1713
        @LDX
1714
 
1715
#BF: % *LAX ABS,Y
1716
(0:     @FETCH
1717
(1:     @ABSY_READ
1718
        @LAX
1719
 
1720
 
1721
 
1722
 
1723
#C0: % CPY #IMM
1724
(0:     @FETCH
1725
(1:     @IMM
1726
        @CPY
1727
 
1728
#C1: % CMP (IND,X)
1729
(0:     @FETCH
1730
(1:     @INDX
1731
        @CMP
1732
 
1733
#C2: % *NOP #IMM
1734
(0:     @FETCH
1735
(1:     @IMM
1736
        @NOP
1737
 
1738
#C3: % *DCP (IND,X) - incomplete
1739
(0:     @FETCH
1740
(1:     @INDX
1741
        @UNDOC
1742
 
1743
#C4: % CPY ZP
1744
(0:     @FETCH
1745
(1:     @ZP
1746
        @CPY
1747
 
1748
#C5: % CMP ZP
1749
(0:     @FETCH
1750
(1:     @ZP
1751
        @CMP
1752
 
1753
#C6: % DEC ZP
1754
(0:     @FETCH
1755
(1:     @ZP
1756
        @DEC_M
1757
 
1758
#C7: % *DCP ZP - incomplete
1759
(0:     @FETCH
1760
(1:     @ZP
1761
        @UNDOC
1762
 
1763
#C8: % INY
1764
(0:     @FETCH
1765
(1:     @INY
1766
 
1767
#C9: % CMP #IMM
1768
(0:     @FETCH
1769
(1:     @IMM
1770
        @CMP
1771
 
1772
#CA: % DEX
1773
(0:     @FETCH
1774
(1:     @DEX
1775
 
1776
#CB: % *AXS #IMM - incomplete
1777
(0:     @FETCH
1778
(1:     @IMM
1779
        @UNDOC
1780
 
1781
 
1782
#CC: % CPY ABS
1783
(0:     @FETCH
1784
(1:     @ABS
1785
        @CPY
1786
 
1787
#CD: % CMP ABS
1788
(0:     @FETCH
1789
(1:     @ABS
1790
        @CMP
1791
 
1792
#CE: % DEC ABS
1793
(0:     @FETCH
1794
(1:     @ABS
1795
        @DEC_M
1796
 
1797
#CF: % *DCP ABS - incomplete
1798
(0:     @FETCH
1799
(1:     @ABS
1800
        @UNDOC
1801
 
1802
#D0: % BNE REL
1803
(0:     @FETCH
1804
(1:     @REL_READ
1805
        @ZF_TEST
1806
        @REL_JUMP
1807
 
1808
#D1: % CMP (IND),Y
1809
(0:     @FETCH
1810
(1:     @INDY_READ
1811
        @CMP
1812
 
1813
#D3: % *DCP (IND),Y - incomplete
1814
(0:     @FETCH
1815
(1:     @INDY_READ
1816
        @UNDOC
1817
 
1818
#D4: % *NOP ZP,X
1819
(0:     @FETCH
1820
(1:     @ZPX
1821
        @NOP
1822
 
1823
#D5: % CMP ZP,X
1824
(0:     @FETCH
1825
(1:     @ZPX
1826
        @CMP
1827
 
1828
#D6: % DEC ZP,X
1829
(0:     @FETCH
1830
(1:     @ZPX
1831
        @DEC_M
1832
 
1833
#D7: % *DCP ZP,X - incomplete
1834
(0:     @FETCH
1835
(1:     @ZPX
1836
        @UNDOC
1837
 
1838
#D8: % CLD
1839
(0:     @FETCH
1840
        @DF_OPERATE
1841
 
1842
#D9: % CMP ABS,Y
1843
(0:     @FETCH
1844
(1:     @ABSY_READ
1845
        @CMP
1846
 
1847
#DA: % *NOP
1848
(0:     @FETCH
1849
(1:     @NOP
1850
 
1851
#DB: % *DCP ABS,Y - incomplete
1852
(0:     @FETCH
1853
(1:     @ABSY_READ
1854
        @UNDOC
1855
 
1856
#DC: % *NOP ABS,X
1857
(0:     @FETCH
1858
(1:     @ABSX_READ
1859
        @NOP
1860
 
1861
#DD: % CMP ABS,X
1862
(0:     @FETCH
1863
(1:     @ABSX_READ
1864
        @CMP
1865
 
1866
#DE: % DEC ABS,X
1867
(0:     @FETCH
1868
(1:     @ABSX_WRITE
1869
        @DEC_M
1870
 
1871
#DF: % *DCP ABS,X - incomplete
1872
(0:     @FETCH
1873
(1:     @ABSX_WRITE
1874
        @UNDOC
1875
 
1876
 
1877
#E0: % CPX #IMM
1878
(0:     @FETCH
1879
(1:     @IMM
1880
        @CPX
1881
 
1882
#E1: % SBC (IND,X)
1883
(0:     @FETCH
1884
(1:     @INDX
1885
        @SBC
1886
 
1887
#E2: % *NOP #IMM
1888
(0:     @FETCH
1889
(1:     @IMM
1890
        @NOP
1891
 
1892
#E3: % *ISC (IND,X) - incomplete
1893
(0:     @FETCH
1894
(1:     @INDX
1895
        @UNDOC
1896
 
1897
 
1898
#E4: % CPX ZP
1899
(0:     @FETCH
1900
(1:     @ZP
1901
        @CPX
1902
 
1903
#E5: % SBC ZP
1904
(0:     @FETCH
1905
(1:     @ZP
1906
        @SBC
1907
 
1908
#E6: % INC ZP
1909
(0:     @FETCH
1910
(1:     @ZP
1911
        @INC_M
1912
 
1913
#E7: % *ISC ZP - incomplete
1914
(0:     @FETCH
1915
(1:     @ZP
1916
        @UNDOC
1917
 
1918
#E8: % INX
1919
(0:     @FETCH
1920
(1:     @INX
1921
 
1922
#E9: % SBC #IMM
1923
(0:     @FETCH
1924
(1:     @IMM
1925
        @SBC
1926
 
1927
#EA: % NOP
1928
(0:     @FETCH
1929
(1:     @NOP
1930
 
1931
#EB: % *SBC #IMM
1932
(0:     @FETCH
1933
(1:     @IMM
1934
        @SBC
1935
 
1936
#EC: % CPX ABS
1937
(0:     @FETCH
1938
(1:     @ABS
1939
        @CPX
1940
 
1941
#ED: % SBC ABS
1942
(0:     @FETCH
1943
(1:     @ABS
1944
        @SBC
1945
 
1946
#EE: % INC ABS
1947
(0:     @FETCH
1948
(1:     @ABS
1949
        @INC_M
1950
 
1951
#EF: % *ISC ABS - incomplete
1952
(0:     @FETCH
1953
(1:     @ABS
1954
        @UNDOC
1955
 
1956
#F0: % BEQ REL
1957
(0:     @FETCH
1958
(1:     @REL_READ
1959
        @ZF_TEST
1960
        @REL_JUMP
1961
 
1962
#F1: % SBC (IND),Y
1963
(0:     @FETCH
1964
(1:     @INDY_READ
1965
        @SBC
1966
 
1967
#F3: % *ISC (IND),Y - incomplete
1968
(0:     @FETCH
1969
(1:     @INDY_READ
1970
        @UNDOC
1971
 
1972
#F4: % *NOP ZP,X
1973
(0:     @FETCH
1974
(1:     @ZPX
1975
        @NOP
1976
 
1977
 
1978
#F5: % SBC ZP,X
1979
(0:     @FETCH
1980
(1:     @ZPX
1981
        @SBC
1982
 
1983
#F6: % INC ZP,X
1984
(0:     @FETCH
1985
(1:     @ZPX
1986
        @INC_M
1987
 
1988
#F7: % *ISC ZP,X - incomplete
1989
(0:     @FETCH
1990
(1:     @ZPX
1991
        @UNDOC
1992
 
1993
 
1994
#F8: % SED
1995
(0:     @FETCH
1996
        @DF_OPERATE
1997
 
1998
 
1999
#F9: % SBC ABS,Y
2000
(0:     @FETCH
2001
(1:     @ABSY_READ
2002
        @SBC
2003
 
2004
#FA: % *NOP
2005
(0:     @FETCH
2006
(1:     @NOP
2007
 
2008
#FB: % *ISC ABS,Y - incomplete
2009
(0:     @FETCH
2010
(1:     @ABSY_READ
2011
        @UNDOC
2012
 
2013
 
2014
#FC: % *NOP ABS,X
2015
(0:     @FETCH
2016
(1:     @ABSX_READ
2017
        @NOP
2018
 
2019
#FD: % SBC ABS,X
2020
(0:     @FETCH
2021
(1:     @ABSX_READ
2022
        @SBC
2023
 
2024
#FE: % INC ABS,X
2025
(0:     @FETCH
2026
(1:     @ABSX_WRITE
2027
        @INC_M
2028
 
2029
#FF: % *ISC ABS,X - incomplete
2030
(0:     @FETCH
2031
(1:     @ABSX_READ
2032
        @UNDOC

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.