-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path7000.s
187 lines (131 loc) · 1.39 KB
/
7000.s
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
adc b,a
adc r4,a
adc r120,b
adc r4,r4
adc %5,a
adc %5,b
adc %10,r4
add b,a
and b,a
andp a,p1
andp b,p1
andp %12,p30
loop:
btjo b,a,loop
btjo r12,a,loop
btjo r12,b,loop
btjo r12,r4,loop
btjo %12,a,loop
btjo %12,b,loop
btjo %12,r12,loop
btjop b,p1,loop
btjop b,p2,loop
btjop %1,p3,loop
btjz b,a,loop
btjz r4,a,loop
btjz r5,b,loop
btjz %1,a,loop
btjz %2,b,loop
btjz %3,r4,loop
btjzp a,p12,loop
btjzp b,p12,loop
btjzp %12,p4,loop
br @loop
br @512
br @loop(b)
br *r4
call @loop
call @loop(b)
call *r4
clr a
clr b
clr r12
clrc
cmp b,a
cmpa @loop
cmpa @loop(b)
cmpa *r4
dac b,a
dec a
decd a
dint
djnz a,loop
djnz b,loop
djnz r4,loop
dsb b,a
eint
idle
inc a
inv a
jmp loop
jp loop
jc loop
jeq loop
jhs loop
jl loop
jn loop
jnc loop
jne loop
jnz loop
jpz loop
jz loop
lda @loop
lda @loop(b)
lda *r12
ldsp
mov a,b
mov a,r4
mov b,a
mov b,r4
mov r4,a
mov r4,b
mov r4,r5
mov %12,a
mov %12,b
mov %12,r4
movd %12,r4
movd %12(b),r4
movd r3,r4
movp a,p4
movp b,p5
movp %4,p4
movp p4,a
movp p5,b
mpy b,a
nop
or b,a
orp a,p4
pop a
pop b
pop r4
pop st
push a
push b
push r4
push st
reti
rets
rl a
rl b
rl r4
rlc a
rr a
rrc a
sbb b,a
setc
sta @loop
sta @loop(b)
sta *r4
stsp
sub b,a
swap a
swap b
swap r4
trap 0
trap 23
tsta
tstb
xchb a
xchb r4
xor b,a
xorp a,p4