disabled all indexed addressing for m65's "quad" mode, except for LDQ.

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@287 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye
2020-07-29 23:30:33 +00:00
parent 3db33bafb5
commit b03b217979
6 changed files with 95 additions and 92 deletions
Binary file not shown.
+40 -39
View File
@@ -13,21 +13,22 @@ M65 = 1 ; make next include skip the NOP mnemonic (re-used as prefix code by M65
eom ; $ea, "end of mapping"
; "quad mode" m65 extension using NEG:NEG prefix:
orq ($01, x) ; 01
; (instructions that are commented out might be re-purposed later)
;orq ($01, x) ; 01
orq $05 ; 05
aslq $05 ; 06
aslq ; 0a
orq $0d0e ; 0d
aslq $0d0e ; 0e
orq ($11), y ; 11
;orq ($11), y ; 11
orq ($12) ; 12
orq $15, x ; 15
;orq $15, x ; 15
aslq $15, x ; 16
orq $1919, y ; 19
;orq $1919, y ; 19
inq ; 1a
orq $1d1e, x ; 1d
;orq $1d1e, x ; 1d
aslq $1d1e, x ; 1e
andq ($01, x) ; 21
;andq ($01, x) ; 21
bitq $05 ; 24
andq $05 ; 25
rolq $05 ; 26
@@ -35,17 +36,17 @@ M65 = 1 ; make next include skip the NOP mnemonic (re-used as prefix code by M65
bitq $0d0e ; 2c
andq $0d0e ; 2d
rolq $0d0e ; 2e
andq ($11), y ; 31
;andq ($11), y ; 31
andq ($12) ; 32
bitq $15, x ; 34
andq $15, x ; 35
;bitq $15, x ; 34
;andq $15, x ; 35
rolq $15, x ; 36
andq $1919, y ; 39
;andq $1919, y ; 39
deq ; 3a
bitq $1d1e, x ; 3c
andq $1d1e, x ; 3d
;bitq $1d1e, x ; 3c
;andq $1d1e, x ; 3d
rolq $1d1e, x ; 3e
eorq ($01, x) ; 41
;eorq ($01, x) ; 41
asrq ; 43
asrq $05 ; 44
eorq $05 ; 45
@@ -53,37 +54,37 @@ M65 = 1 ; make next include skip the NOP mnemonic (re-used as prefix code by M65
lsrq ; 4a
eorq $0d0e ; 4d
lsrq $0d0e ; 4e
eorq ($11), y ; 51
;eorq ($11), y ; 51
eorq ($12) ; 52
asrq $15, x ; 54
eorq $15, x ; 55
;eorq $15, x ; 55
lsrq $15, x ; 56
eorq $1919, y ; 59
eorq $1d1e, x ; 5d
;eorq $1919, y ; 59
;eorq $1d1e, x ; 5d
lsrq $1d1e, x ; 5e
adcq ($01, x) ; 61
;adcq ($01, x) ; 61
adcq $05 ; 65
rorq $05 ; 66
rorq ; 6a
adcq $0d0e ; 6d
rorq $0d0e ; 6e
adcq ($11), y ; 71
;adcq ($11), y ; 71
adcq ($12) ; 72
adcq $15, x ; 75
;adcq $15, x ; 75
rorq $15, x ; 76
adcq $1919, y ; 79
adcq $1d1e, x ; 7d
;adcq $1919, y ; 79
;adcq $1d1e, x ; 7d
rorq $1d1e, x ; 7e
stq ($01, x) ; 81
stq ($82, s), y ; 82
;stq ($01, x) ; 81
;stq ($82, s), y ; 82
stq $05 ; 85
stq $0d0e ; 8d
stq ($11), y ; 91
;stq ($11), y ; 91
stq ($12) ; 92
stq $15, x ; 95
stq $1919, y ; 99
stq $1d1e, x ; 9d
ldq ($01, x) ; a1
;stq $15, x ; 95
;stq $1919, y ; 99
;stq $1d1e, x ; 9d
;ldq ($01, x) ; a1
ldq $05 ; a5
ldq $0d0e ; ad
ldq ($11), y ; b1
@@ -91,30 +92,30 @@ M65 = 1 ; make next include skip the NOP mnemonic (re-used as prefix code by M65
ldq $15, x ; b5
ldq $1919, y ; b9
ldq $1d1e, x ; bd
cpq ($01, x) ; c1
;cpq ($01, x) ; c1
cpq $05 ; c5
deq $05 ; c6
cpq $0d0e ; cd
deq $0d0e ; ce
cpq ($11), y ; d1
;cpq ($11), y ; d1
cpq ($12) ; d2
cpq $15, x ; d5
;cpq $15, x ; d5
deq $15, x ; d6
cpq $1919, y ; d9
cpq $1d1e, x ; dd
;cpq $1919, y ; d9
;cpq $1d1e, x ; dd
deq $1d1e, x ; de
sbcq ($01, x) ; e1
;sbcq ($01, x) ; e1
ldq ($e2, s), y ; e2
sbcq $05 ; e5
inq $05 ; e6
sbcq $0d0e ; ed
inq $0d0e ; ee
sbcq ($11), y ; f1
;sbcq ($11), y ; f1
sbcq ($12) ; f2
sbcq $15, x ; f5
;sbcq $15, x ; f5
inq $15, x ; f6
sbcq $1919, y ; f9
sbcq $1d1e, x ; fd
;sbcq $1919, y ; f9
;sbcq $1d1e, x ; fd
inq $1d1e, x ; fe
; "long mode" m65 extension using NOP prefix:
ora [$12], z ; 12