forked from bnagy/gapstone
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathm680x.SPEC
More file actions
2059 lines (1875 loc) · 43.1 KB
/
Copy pathm680x.SPEC
File metadata and controls
2059 lines (1875 loc) · 43.1 KB
1
2
3
4
5
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
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
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
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
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
********************
Platform: M680X_HD6301
Code: 0x6b 0x10 0x00 0x71 0x10 0x00 0x72 0x10 0x10 0x39
Disasm:
0x1000: 6b1000 tim #16; 0, x
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: INDEXED
base register: x
offset: 0
offset bits: 8
size: 1
access: READ
Registers read: cc x
Registers modified: cc
0x1003: 711000 aim #16, $00
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: DIRECT = 0x00
size: 1
access: READ | WRITE
Registers read: cc
Registers modified: cc
0x1006: 721010 oim #16, $10
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: DIRECT = 0x10
size: 1
access: READ | WRITE
Registers read: cc
Registers modified: cc
0x1009: 39 rts
Registers read: s
Registers modified: s pc
groups_count: 1
********************
Platform: M680X_HD6309
Code: 0x01 0x10 0x10 0x62 0x10 0x10 0x7b 0x10 0x10 0x00 0xcd 0x49 0x96 0x02 0xd2 0x10 0x30 0x23 0x10 0x38 0x10 0x3b 0x10 0x53 0x10 0x5d 0x11 0x30 0x43 0x10 0x11 0x37 0x25 0x10 0x11 0x38 0x12 0x11 0x39 0x23 0x11 0x3b 0x34 0x11 0x8e 0x10 0x00 0x11 0xaf 0x10 0x11 0xab 0x10 0x11 0xf6 0x80 0x00
Disasm:
0x1000: 011010 oim #16, $10
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: DIRECT = 0x10
size: 1
access: READ | WRITE
Registers read: cc
Registers modified: cc
0x1003: 621010 aim #16; -16, x
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: INDEXED
base register: x
offset: -16
offset bits: 5
size: 1
access: READ | WRITE
Registers read: cc x
Registers modified: cc
0x1006: 7b101000 tim #16, $1000
op_count: 2
operands[0].type: IMMEDIATE = #16
size: 1
access: READ
operands[1].type: EXTENDED = 0x1000
size: 1
access: READ
Registers read: cc
Registers modified: cc
0x100a: cd499602d2 ldq #1234567890
op_count: 2
operands[0].type: REGISTER = q (in mnemonic)
size: 4
access: WRITE
operands[1].type: IMMEDIATE = #1234567890
size: 4
access: READ
Registers read: cc
Registers modified: cc q
0x100f: 103023 addr y, u
op_count: 2
operands[0].type: REGISTER = y
size: 2
access: READ
operands[1].type: REGISTER = u
size: 2
access: READ | WRITE
Registers read: cc y u
Registers modified: cc u
0x1012: 1038 pshsw
op_count: 2
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: REGISTER = w (in mnemonic)
size: 2
access: READ
Registers read: s w
Registers modified: s
0x1014: 103b puluw
op_count: 2
operands[0].type: REGISTER = u (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: REGISTER = w (in mnemonic)
size: 2
access: WRITE
Registers read: u
Registers modified: u w
0x1016: 1053 comw
op_count: 1
operands[0].type: REGISTER = w (in mnemonic)
size: 2
access: READ | WRITE
Registers read: cc w
Registers modified: cc w
0x1018: 105d tstw
op_count: 1
operands[0].type: REGISTER = w (in mnemonic)
size: 2
access: READ
Registers read: cc w
Registers modified: cc
0x101a: 11304310 band a, 0, 3, $10
op_count: 4
operands[0].type: REGISTER = a
size: 1
access: READ | WRITE
operands[1].type: CONSTANT = 0
access: READ
operands[2].type: CONSTANT = 3
access: READ
operands[3].type: DIRECT = 0x10
size: 1
access: READ
Registers read: a
Registers modified: a
0x101e: 11372510 stbt cc, 4, 5, $10
op_count: 4
operands[0].type: REGISTER = cc
size: 1
access: READ
operands[1].type: CONSTANT = 4
access: READ
operands[2].type: CONSTANT = 5
access: READ
operands[3].type: DIRECT = 0x10
size: 1
access: READ | WRITE
Registers read: cc
0x1022: 113812 tfm x+, y+
op_count: 2
operands[0].type: INDEXED
base register: x
post increment: 1
size: 1
access: READ
operands[1].type: INDEXED
base register: y
post increment: 1
size: 1
access: WRITE
Registers read: w x y
Registers modified: w x y
0x1025: 113923 tfm y-, u-
op_count: 2
operands[0].type: INDEXED
base register: y
post decrement: 1
size: 1
access: READ
operands[1].type: INDEXED
base register: u
post decrement: 1
size: 1
access: WRITE
Registers read: w y u
Registers modified: w y u
0x1028: 113b34 tfm u, s+
op_count: 2
operands[0].type: INDEXED
base register: u
size: 1
access: READ
operands[1].type: INDEXED
base register: s
post increment: 1
size: 1
access: WRITE
Registers read: w u s
Registers modified: w s
0x102b: 118e1000 divq #4096
op_count: 2
operands[0].type: REGISTER = q (in mnemonic)
size: 4
access: READ | WRITE
operands[1].type: IMMEDIATE = #4096
size: 2
access: READ
Registers read: cc q
Registers modified: cc q
0x102f: 11af10 muld -16, x
op_count: 2
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: INDEXED
base register: x
offset: -16
offset bits: 5
size: 2
access: READ
Registers read: cc d x
Registers modified: cc d w
0x1032: 11ab10 adde -16, x
op_count: 2
operands[0].type: REGISTER = e (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: INDEXED
base register: x
offset: -16
offset bits: 5
size: 1
access: READ
Registers read: cc e x
Registers modified: cc e
0x1035: 11f68000 ldf $8000
op_count: 2
operands[0].type: REGISTER = f (in mnemonic)
size: 1
access: WRITE
operands[1].type: EXTENDED = 0x8000
size: 1
access: READ
Registers read: cc
Registers modified: cc f
********************
Platform: M680X_M6800
Code: 0x01 0x09 0x36 0x64 0x7f 0x74 0x10 0x00 0x90 0x10 0xa4 0x10 0xb6 0x10 0x00 0x39
Disasm:
0x1000: 01 nop
0x1001: 09 dex
op_count: 1
operands[0].type: REGISTER = x (in mnemonic)
size: 2
access: READ | WRITE
Registers read: cc x
Registers modified: cc x
0x1002: 36 psha
op_count: 1
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
Registers read: a s
Registers modified: s
0x1003: 647f lsr 127, x
op_count: 1
operands[0].type: INDEXED
base register: x
offset: 127
offset bits: 8
size: 1
access: READ | WRITE
Registers read: cc x
Registers modified: cc
0x1005: 741000 lsr $1000
op_count: 1
operands[0].type: EXTENDED = 0x1000
size: 1
access: READ | WRITE
Registers read: cc
Registers modified: cc
0x1008: 9010 suba $10
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: DIRECT = 0x10
size: 1
access: READ
Registers read: cc a
Registers modified: cc a
0x100a: a410 anda 16, x
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: INDEXED
base register: x
offset: 16
offset bits: 8
size: 1
access: READ
Registers read: cc a x
Registers modified: cc a
0x100c: b61000 ldaa $1000
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: EXTENDED = 0x1000
size: 1
access: READ
Registers read: cc
Registers modified: cc a
0x100f: 39 rts
Registers read: s
Registers modified: s pc
groups_count: 1
********************
Platform: M680X_M6801
Code: 0x04 0x05 0x3c 0x3d 0x38 0x93 0x10 0xec 0x10 0xed 0x10 0x39
Disasm:
0x1000: 04 lsrd
op_count: 1
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: READ | WRITE
Registers read: cc d
Registers modified: cc d
0x1001: 05 asld
op_count: 1
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: READ | WRITE
Registers read: cc d
Registers modified: cc d
0x1002: 3c pshx
op_count: 1
operands[0].type: REGISTER = x (in mnemonic)
size: 2
access: READ
Registers read: x s
Registers modified: s
0x1003: 3d mul
Registers read: cc a b
Registers modified: cc a b
0x1004: 38 pulx
op_count: 1
operands[0].type: REGISTER = x (in mnemonic)
size: 2
access: WRITE
Registers read: s
Registers modified: x s
0x1005: 9310 subd $10
op_count: 2
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: DIRECT = 0x10
size: 2
access: READ
Registers read: cc d
Registers modified: cc d
0x1007: ec10 ldd 16, x
op_count: 2
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: WRITE
operands[1].type: INDEXED
base register: x
offset: 16
offset bits: 8
size: 2
access: READ
Registers read: cc x
Registers modified: cc d
0x1009: ed10 std 16, x
op_count: 2
operands[0].type: REGISTER = d (in mnemonic)
size: 2
access: READ
operands[1].type: INDEXED
base register: x
offset: 16
offset bits: 8
size: 2
access: WRITE
Registers read: cc d x
Registers modified: cc
0x100b: 39 rts
Registers read: s
Registers modified: s pc
groups_count: 1
********************
Platform: M680X_M68HC05
Code: 0x04 0x7f 0x00 0x17 0x22 0x28 0x00 0x2e 0x00 0x40 0x42 0x5a 0x70 0x8e 0x97 0x9c 0xa0 0x15 0xad 0x00 0xc3 0x10 0x00 0xda 0x12 0x34 0xe5 0x7f 0xfe
Disasm:
0x1000: 047f00 brset 2, $7f, $1003
op_count: 3
operands[0].type: CONSTANT = 2
access: READ
operands[1].type: DIRECT = 0x7f
size: 1
access: READ
operands[2].type: RELATIVE = 0x1003
Registers read: cc
Registers modified: cc
groups_count: 2
0x1003: 1722 bset 3, $22
op_count: 2
operands[0].type: CONSTANT = 3
access: READ
operands[1].type: DIRECT = 0x22
size: 1
access: READ | WRITE
0x1005: 2800 bhcc $1007
op_count: 1
operands[0].type: RELATIVE = 0x1007
Registers read: cc
groups_count: 2
0x1007: 2e00 bil $1009
op_count: 1
operands[0].type: RELATIVE = 0x1009
Registers read: cc
groups_count: 2
0x1009: 40 nega
op_count: 1
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
Registers read: cc a
Registers modified: cc a
0x100a: 42 mul
Registers read: cc a x
Registers modified: cc a x
0x100b: 5a decx
op_count: 1
operands[0].type: REGISTER = x (in mnemonic)
size: 1
access: READ | WRITE
Registers read: cc x
Registers modified: cc x
0x100c: 70 neg , x
op_count: 1
operands[0].type: INDEXED
base register: x
size: 1
access: READ | WRITE
Registers read: cc x
Registers modified: cc
0x100d: 8e stop
0x100e: 97 tax
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: REGISTER = x (in mnemonic)
size: 1
access: WRITE
Registers read: a
Registers modified: x
0x100f: 9c rsp
op_count: 1
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: WRITE
Registers modified: s
0x1010: a015 sub #21
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: IMMEDIATE = #21
size: 1
access: READ
Registers read: cc a
Registers modified: cc a
0x1012: ad00 bsr $1014
op_count: 1
operands[0].type: RELATIVE = 0x1014
Registers read: s
Registers modified: s
groups_count: 2
0x1014: c31000 cpx $1000
op_count: 2
operands[0].type: REGISTER = x (in mnemonic)
size: 1
access: READ
operands[1].type: EXTENDED = 0x1000
size: 1
access: READ
Registers read: cc x
Registers modified: cc
0x1017: da1234 ora 4660, x
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: INDEXED
base register: x
offset: 4660
offset bits: 16
size: 1
access: READ
Registers read: cc a x
Registers modified: cc a
0x101a: e57f bit 127, x
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: INDEXED
base register: x
offset: 127
offset bits: 8
size: 1
access: READ
Registers read: cc a x
Registers modified: cc
0x101c: fe ldx , x
op_count: 2
operands[0].type: REGISTER = x (in mnemonic)
size: 1
access: WRITE
operands[1].type: INDEXED
base register: x
size: 1
access: READ
Registers read: cc x
Registers modified: cc x
********************
Platform: M680X_M68HC08
Code: 0x31 0x22 0x00 0x35 0x22 0x45 0x10 0x00 0x4b 0x00 0x51 0x10 0x52 0x5e 0x22 0x62 0x65 0x12 0x34 0x72 0x84 0x85 0x86 0x87 0x8a 0x8b 0x8c 0x94 0x95 0xa7 0x10 0xaf 0x10 0x9e 0x60 0x7f 0x9e 0x6b 0x7f 0x00 0x9e 0xd6 0x10 0x00 0x9e 0xe6 0x7f
Disasm:
0x1000: 312200 cbeq $22, $1003
op_count: 3
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: DIRECT = 0x22
size: 1
access: READ
operands[2].type: RELATIVE = 0x1003
Registers read: cc a
groups_count: 2
0x1003: 3522 sthx $22
op_count: 2
operands[0].type: REGISTER = hx (in mnemonic)
size: 2
access: READ
operands[1].type: DIRECT = 0x22
size: 2
access: WRITE
Registers read: cc hx
Registers modified: cc
0x1005: 451000 ldhx #4096
op_count: 2
operands[0].type: REGISTER = hx (in mnemonic)
size: 2
access: WRITE
operands[1].type: IMMEDIATE = #4096
size: 2
access: READ
Registers read: cc
Registers modified: cc hx
0x1008: 4b00 dbnza $100a
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: RELATIVE = 0x100a
Registers read: cc a
Registers modified: a
groups_count: 2
0x100a: 511052 cbeqx #16, $105f
op_count: 3
operands[0].type: REGISTER = x (in mnemonic)
size: 1
access: READ
operands[1].type: IMMEDIATE = #16
size: 1
access: READ
operands[2].type: RELATIVE = 0x105f
Registers read: cc x
groups_count: 2
0x100d: 5e22 mov $22; x+
op_count: 2
operands[0].type: DIRECT = 0x22
size: 1
access: READ
operands[1].type: INDEXED
base register: x
post increment: 1
size: 1
access: WRITE
Registers read: cc x h
Registers modified: cc x h
0x100f: 62 nsa
op_count: 1
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ | WRITE
Registers read: cc a
Registers modified: cc a
0x1010: 651234 cphx #4660
op_count: 2
operands[0].type: REGISTER = hx (in mnemonic)
size: 2
access: READ
operands[1].type: IMMEDIATE = #4660
size: 2
access: READ
Registers read: cc hx
Registers modified: cc
0x1013: 72 daa
Registers read: cc a
Registers modified: cc a
0x1014: 84 tap
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: REGISTER = cc (in mnemonic)
size: 1
access: WRITE
Registers read: a
Registers modified: cc
0x1015: 85 tpa
op_count: 2
operands[0].type: REGISTER = cc (in mnemonic)
size: 1
access: READ
operands[1].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
Registers read: cc
Registers modified: a
0x1016: 86 pula
op_count: 1
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
Registers read: s
Registers modified: a s
0x1017: 87 psha
op_count: 1
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
Registers read: a s
Registers modified: s
0x1018: 8a pulh
op_count: 1
operands[0].type: REGISTER = h (in mnemonic)
size: 1
access: WRITE
Registers read: s
Registers modified: h s
0x1019: 8b pshh
op_count: 1
operands[0].type: REGISTER = h (in mnemonic)
size: 1
access: READ
Registers read: h s
Registers modified: s
0x101a: 8c clrh
op_count: 1
operands[0].type: REGISTER = h (in mnemonic)
size: 1
access: WRITE
Registers read: cc
Registers modified: cc h
0x101b: 94 txs
op_count: 2
operands[0].type: REGISTER = hx (in mnemonic)
size: 2
access: READ
operands[1].type: REGISTER = s (in mnemonic)
size: 2
access: WRITE
Registers read: hx
Registers modified: s
0x101c: 95 tsx
op_count: 2
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: READ
operands[1].type: REGISTER = hx (in mnemonic)
size: 2
access: WRITE
Registers read: s
Registers modified: hx
0x101d: a710 ais #16
op_count: 2
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: IMMEDIATE = #16
size: 1
access: READ
Registers read: s
Registers modified: s
0x101f: af10 aix #16
op_count: 2
operands[0].type: REGISTER = hx (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: IMMEDIATE = #16
size: 1
access: READ
Registers read: hx
Registers modified: hx
0x1021: 9e607f neg 127, s
op_count: 1
operands[0].type: INDEXED
base register: s
offset: 127
offset bits: 8
size: 1
access: READ | WRITE
Registers read: cc s
Registers modified: cc
0x1024: 9e6b7f00 dbnz 127, s; $1028
op_count: 2
operands[0].type: INDEXED
base register: s
offset: 127
offset bits: 8
size: 1
access: READ | WRITE
operands[1].type: RELATIVE = 0x1028
Registers read: cc s
groups_count: 2
0x1028: 9ed61000 lda 4096, s
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: INDEXED
base register: s
offset: 4096
offset bits: 16
size: 1
access: READ
Registers read: cc s
Registers modified: cc a
0x102c: 9ee67f lda 127, s
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: INDEXED
base register: s
offset: 127
offset bits: 8
size: 1
access: READ
Registers read: cc s
Registers modified: cc a
********************
Platform: M680X_M6809
Code: 0x06 0x10 0x19 0x1a 0x55 0x1e 0x01 0x23 0xe9 0x31 0x06 0x34 0x55 0xa6 0x81 0xa7 0x89 0x7f 0xff 0xa6 0x9d 0x10 0x00 0xa7 0x91 0xa6 0x9f 0x10 0x00 0x11 0xac 0x99 0x10 0x00 0x39 0xa6 0x07 0xa6 0x27 0xa6 0x47 0xa6 0x67 0xa6 0x0f 0xa6 0x10 0xa6 0x80 0xa6 0x81 0xa6 0x82 0xa6 0x83 0xa6 0x84 0xa6 0x85 0xa6 0x86 0xa6 0x88 0x7f 0xa6 0x88 0x80 0xa6 0x89 0x7f 0xff 0xa6 0x89 0x80 0x00 0xa6 0x8b 0xa6 0x8c 0x10 0xa6 0x8d 0x10 0x00 0xa6 0x91 0xa6 0x93 0xa6 0x94 0xa6 0x95 0xa6 0x96 0xa6 0x98 0x7f 0xa6 0x98 0x80 0xa6 0x99 0x7f 0xff 0xa6 0x99 0x80 0x00 0xa6 0x9b 0xa6 0x9c 0x10 0xa6 0x9d 0x10 0x00 0xa6 0x9f 0x10 0x00
Disasm:
0x1000: 0610 ror $10
op_count: 1
operands[0].type: DIRECT = 0x10
size: 1
access: READ | WRITE
Registers read: cc
Registers modified: cc
0x1002: 19 daa
Registers read: cc a
Registers modified: cc a
0x1003: 1a55 orcc #85
op_count: 2
operands[0].type: REGISTER = cc (in mnemonic)
size: 1
access: READ | WRITE
operands[1].type: IMMEDIATE = #85
size: 1
access: READ
Registers read: cc
Registers modified: cc
0x1005: 1e01 exg d, x
op_count: 2
operands[0].type: REGISTER = d
size: 2
access: READ | WRITE
operands[1].type: REGISTER = x
size: 2
access: READ | WRITE
Registers read: d x
Registers modified: d x
0x1007: 23e9 bls $0ff2
op_count: 1
operands[0].type: RELATIVE = 0x0ff2
Registers read: cc
groups_count: 2
0x1009: 3106 leay 6, x
op_count: 2
operands[0].type: REGISTER = y (in mnemonic)
size: 2
access: WRITE
operands[1].type: INDEXED
base register: x
offset: 6
offset bits: 5
size: 2
access: READ
Registers read: cc x
Registers modified: cc y
0x100b: 3455 pshs cc, b, x, u
op_count: 5
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: READ | WRITE
operands[1].type: REGISTER = cc
size: 1
access: READ
operands[2].type: REGISTER = b
size: 1
access: READ
operands[3].type: REGISTER = x
size: 2
access: READ
operands[4].type: REGISTER = u
size: 2
access: READ
Registers read: s cc b x u
Registers modified: s
0x100d: a681 lda , x++
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: INDEXED
base register: x
post increment: 2
size: 1
access: READ
Registers read: cc x
Registers modified: cc a x
0x100f: a7897fff sta 32767, x
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: INDEXED
base register: x
offset: 32767
offset bits: 16
size: 1
access: WRITE
Registers read: cc a x
Registers modified: cc
0x1013: a69d1000 lda [$2017, pcr]
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: INDEXED INDIRECT
base register: pc
offset: 4096
offset address: 0x2017
offset bits: 16
size: 1
access: READ
Registers read: cc pc
Registers modified: cc a
0x1017: a791 sta [, x++]
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: READ
operands[1].type: INDEXED INDIRECT
base register: x
post increment: 2
size: 1
access: WRITE
Registers read: cc a x
Registers modified: cc x
0x1019: a69f1000 lda [$1000]
op_count: 2
operands[0].type: REGISTER = a (in mnemonic)
size: 1
access: WRITE
operands[1].type: EXTENDED INDIRECT = 0x1000
size: 1
access: READ
Registers read: cc
Registers modified: cc a
0x101d: 11ac991000 cmps [4096, x]
op_count: 2
operands[0].type: REGISTER = s (in mnemonic)
size: 2
access: READ
operands[1].type: INDEXED INDIRECT
base register: x
offset: 4096
offset bits: 16
size: 2
access: READ
Registers read: cc s x
Registers modified: cc
0x1022: 39 rts