annotate level1/cmds/disasm.asm @ 1020:c1a5613ffe7b

changes
author boisy
date Thu, 06 Mar 2003 01:41:03 +0000
parents 69757400b240
children 6d4a60e7ecf0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
968
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1 nam Disasm
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2 ttl Os9 disassembler by Ron Lammardo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
4 * Disasm v1.5 (c) 1988 by Ron Lammardo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
5 * 6309 additions by L. Curtis Boyle Jan. 1993
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
6 ********
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
7 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
8 * 03/12/87 (#2) - added code for line,address,obj display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
9 * added options 'o' and 'x'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
10 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
11 * 04/02/87 (#3) - added code to provide commented disassembly
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
12 * of device descriptors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
13 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
14 * 11/16/87 (#4) - fixed restart link failure
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
15 * added code to display direct page addresses
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
16 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
17 * 02/22/88 (#5) - added code to display dp/u offsets
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
18 * added code to display fcb bytes preceding eom
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
19 * added code for z option (hex input disassembly)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
20 * added code to display date/time run
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
21 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
22 * 01/23/93 - added code to handle 6309 instruction set additions
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
23 ********
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
24
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
25 ifp1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
26 use defsfile
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
27 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
28
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
29 typ set prgrm+objct
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
30 attrev set reent+revision
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
31 revision set 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
32 edtn set 5 edition
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
33 edition equ $30+edtn ascii edition
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
34
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
35 mod eom,mname,typ,attrev,start,datend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
36
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
37 pcrzero equ *-$0D module start
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
38
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
39 mname fcs /Disasm/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
40 fcb edtn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
41
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
42 dfltdrv fcc /dd/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
43 cr set C$CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
44 **** start of data area ****
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
45 stackhld rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
46 ureghold rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
47 xreghold rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
48 xsave rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
49 dsave rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
50 startadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
51 modadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
52 address rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
53 addrsave rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
54 lineadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
55 objadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
56 crntadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
57 modend rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
58 nameadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
59 size rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
60 temp rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
61 readpos rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
62 readcnt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
63 readclr rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
64 byte rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
65 TFMFlag rmb 1 Flag to indicate processing TFM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
66 bitcom rmb 1 Flag to indicate processing bit instruction
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
67 indirct rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
68 hexstrng rmb 4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
69 decstrng rmb 5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
70 testbyte rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
71 register rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
72 labladr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
73 highadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
74 utabend rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
75 pass rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
76 path rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
77 diskio rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
78 objcnt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
79 tylghold rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
80 atrvhold rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
81 revshold rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
82 m.opt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
83 o.opt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
84 x.opt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
85 z.opt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
86 u.opt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
87 op.cnt rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
88 descript rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
89 mgradr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
90 drvadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
91 desctype rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
92 printadr rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
93 initsize rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
94 counter rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
95 countdec rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
96 numline rmb 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
97 runtime rmb 6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
98 * start of output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
99 linenum rmb 8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
100 holdadr rmb 5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
101 holdobj rmb 11
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
102 holdline rmb 56
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
103 * end of output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
104 holdname rmb 32
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
105 namehold rmb 32
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
106 hldtylg rmb 40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
107 hldatrv rmb 40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
108 hldrev rmb 40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
109 hldttl rmb 40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
110 pathlist rmb 80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
111 readbuff rmb 20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
112 labeltab rmb 6742
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
113 lbtblend rmb 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
114 rmb 255
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
115 datend equ .
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
116
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
117 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
118 ** os9 call tables **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
119 ** (sequence = $10,$3f,..) **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
120 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
121 os9f$tab equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
122 fcc /F$Link /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
123 fcc /F$Load /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
124 fcc /F$UnLink/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
125 fcc /F$Fork /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
126 fcc /F$Wait /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
127 fcc /F$Chain /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
128 fcc /F$Exit /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
129 fcc /F$Mem /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
130 fcc /F$Send /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
131 fcc /F$Icpt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
132 fcc /F$Sleep /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
133 fcc /F$SSpd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
134 fcc /F$ID /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
135 fcc /F$SPrior/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
136 fcc /F$SSWi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
137 fcc /F$PErr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
138 fcc /F$PrsNam/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
139 fcc /F$CmpNam/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
140 fcc /F$SchBit/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
141 fcc /F$AllBit/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
142 fcc /F$DelBit/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
143 fcc /F$Time /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
144 fcc /F$STime /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
145 fcc /F$CRC /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
146 fcc /F$GPrDsc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
147 fcc /F$GBlkMp/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
148 fcc /F$GModDr/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
149 fcc /F$CpyMem/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
150 fcc /F$SUser /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
151 fcc /F$UnLoad/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
152 fcc /F$Alarm /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
153 fcc /????????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
154 fcc /????????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
155 fcc /F$NMLink/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
156 fcc /F$NMLoad/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
157 fcc /F$Ctime /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
158 fcc /F$Cstime/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
159 fcc /F$CTswi2/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
160 fcc /????????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
161 fcc /F$VIRQ /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
162 fcc /F$SRqMem/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
163 fcc /F$SRtMem/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
164 fcc /F$IRQ /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
165 fcc /F$IOQu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
166 fcc /F$AProc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
167 fcc /F$NProc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
168 fcc /F$VModul/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
169 fcc /F$Find64/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
170 fcc /F$All64 /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
171 fcc /F$Ret64 /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
172 fcc /F$SSvc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
173 fcc /F$IODel /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
174 fcc /F$SLink /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
175 fcc /F$Boot /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
176 fcc /F$BtMem /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
177 fcc /F$GProcP/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
178 fcc /F$Move /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
179 fcc /F$AllRAM/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
180 fcc /F$AllImg/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
181 fcc /F$DelImg/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
182 fcc /F$SetImg/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
183 fcc /F$FreeLB/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
184 fcc /F$FreeHB/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
185 fcc /F$AllTsk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
186 fcc /F$DelTsk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
187 fcc /F$SetTsk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
188 fcc /F$ResTsk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
189 fcc /F$RelTsk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
190 fcc /F$DATLog/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
191 fcc /F$DATTmp/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
192 fcc /F$LDAXY /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
193 fcc /F$LDAXYP/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
194 fcc /F$LDDDXY/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
195 fcc /F$LDABX /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
196 fcc /F$STABX /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
197 fcc /F$AllPrc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
198 fcc /F$DelPrc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
199 fcc /F$ELink /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
200 fcc /F$FModul/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
201 fcc /F$MapBlk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
202 fcc /F$ClrBlk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
203 fcc /F$DelRAM/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
204 fcc /F$GCMDir/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
205 fcc /F$AlHRAM/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
206
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
207 os9i$tab equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
208 fcc /I$Attach/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
209 fcc /I$Detach/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
210 fcc /I$Dup /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
211 fcc /I$Create/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
212 fcc /I$Open /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
213 fcc /I$MakDir/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
214 fcc /I$ChgDir/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
215 fcc /I$Delete/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
216 fcc /I$Seek /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
217 fcc /I$Read /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
218 fcc /I$Write /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
219 fcc /I$ReadLn/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
220 fcc /I$WritLn/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
221 fcc /I$GetStt/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
222 fcc /I$SetStt/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
223 fcc /I$Close /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
224 fcc /I$DeletX/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
225 bados9op fcc /????????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
226
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
227 * Mnemonic table: 1st byte =Opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
228 * 2nd byte =Flags to indicate mode type of opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
229 * Bytes 3-7 =Mnemonic name of opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
230 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
231 ** 2 byte table - **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
232 ** $10 is first byte of op code **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
233 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
234 get10tab equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
235 fcb $21
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
236 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
237 fcc /lbrn /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
238 fcb $22
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
239 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
240 fcc /lbhi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
241 fcb $23
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
242 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
243 fcc /lbls /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
244 fcb $24
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
245 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
246 fcc /lbcc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
247 fcb $25
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
248 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
249 fcc /lbcs /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
250 fcb $26
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
251 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
252 fcc /lbne /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
253 fcb $27
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
254 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
255 fcc /lbeq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
256 fcb $28
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
257 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
258 fcc /lbvc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
259 fcb $29
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
260 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
261 fcc /lbvs /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
262 fcb $2a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
263 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
264 fcc /lbpl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
265 fcb $2b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
266 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
267 fcc /lbmi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
268 fcb $2c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
269 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
270 fcc /lbge /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
271 fcb $2d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
272 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
273 fcc /lblt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
274 fcb $2e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
275 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
276 fcc /lbgt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
277 fcb $2f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
278 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
279 fcc /lble /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
280 * Test of 6309 codes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
281 fcb $30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
282 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
283 fcc /addr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
284 fcb $31
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
285 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
286 fcc /adcr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
287 fcb $32
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
288 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
289 fcc /subr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
290 fcb $33
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
291 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
292 fcc /sbcr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
293 fcb $34
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
294 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
295 fcc /andr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
296 fcb $35
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
297 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
298 fcc /orr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
299 fcb $36
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
300 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
301 fcc /eorr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
302 fcb $37
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
303 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
304 fcc /cmpr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
305 fcb $38
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
306 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
307 fcc /pshsw/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
308 fcb $39
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
309 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
310 fcc /pulsw/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
311 fcb $3a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
312 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
313 fcc /pshuw/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
314 fcb $3b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
315 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
316 fcc /puluw/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
317 fcb $40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
318 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
319 fcc /negd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
320 fcb $43
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
321 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
322 fcc /comd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
323 fcb $44
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
324 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
325 fcc /lsrd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
326 fcb $46
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
327 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
328 fcc /rord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
329 fcb $47
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
330 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
331 fcc /asrd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
332 fcb $48
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
333 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
334 fcc /asld /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
335 fcb $49
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
336 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
337 fcc /rold /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
338 fcb $4a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
339 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
340 fcc /decd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
341 fcb $4c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
342 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
343 fcc /incd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
344 fcb $4d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
345 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
346 fcc /tstd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
347 fcb $4f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
348 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
349 fcc /clrd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
350 fcb $53
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
351 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
352 fcc /comw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
353 fcb $54
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
354 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
355 fcc /lsrw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
356 fcb $56
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
357 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
358 fcc /rorw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
359 fcb $59
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
360 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
361 fcc /rolw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
362 fcb $5a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
363 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
364 fcc /decw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
365 fcb $5c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
366 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
367 fcc /incw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
368 fcb $5d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
369 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
370 fcc /tstw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
371 fcb $5f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
372 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
373 fcc /clrw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
374 fcb $80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
375 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
376 fcc /subw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
377 fcb $81
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
378 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
379 fcc /cmpw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
380 fcb $82
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
381 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
382 fcc /sbcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
383 fcb $83
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
384 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
385 fcc /cmpd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
386 fcb $84
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
387 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
388 fcc /andd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
389 fcb $85
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
390 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
391 fcc /bitd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
392 fcb $86
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
393 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
394 fcc /ldw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
395 fcb $88
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
396 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
397 fcc /eord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
398 fcb $89
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
399 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
400 fcc /adcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
401 fcb $8a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
402 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
403 fcc /ord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
404 fcb $8b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
405 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
406 fcc /addw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
407 fcb $8c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
408 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
409 fcc /cmpy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
410 fcb $8e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
411 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
412 fcc /ldy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
413 fcb $90
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
414 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
415 fcc /subw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
416 fcb $91
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
417 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
418 fcc /cmpw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
419 fcb $92
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
420 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
421 fcc /sbcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
422 fcb $93
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
423 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
424 fcc /cmpd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
425 fcb $94
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
426 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
427 fcc /andd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
428 fcb $95
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
429 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
430 fcc /bitd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
431 fcb $96
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
432 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
433 fcc /ldw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
434 fcb $97
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
435 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
436 fcc /stw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
437 fcb $98
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
438 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
439 fcc /eord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
440 fcb $99
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
441 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
442 fcc /adcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
443 fcb $9a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
444 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
445 fcc /ord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
446 fcb $9b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
447 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
448 fcc /addw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
449 fcb $9c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
450 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
451 fcc /cmpy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
452 fcb $9e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
453 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
454 fcc /ldy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
455 fcb $9f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
456 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
457 fcc /sty /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
458 fcb $a0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
459 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
460 fcc /subw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
461 fcb $a1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
462 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
463 fcc /cmpw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
464 fcb $a2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
465 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
466 fcc /sbcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
467 fcb $a3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
468 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
469 fcc /cmpd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
470 fcb $a4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
471 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
472 fcc /andd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
473 fcb $a5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
474 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
475 fcc /bitd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
476 fcb $a6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
477 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
478 fcc /ldw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
479 fcb $a7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
480 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
481 fcc /stw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
482 fcb $a8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
483 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
484 fcc /eord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
485 fcb $a9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
486 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
487 fcc /adcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
488 fcb $aa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
489 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
490 fcc /ord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
491 fcb $ab
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
492 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
493 fcc /addw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
494 fcb $ac
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
495 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
496 fcc /cmpy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
497 fcb $ae
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
498 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
499 fcc /ldy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
500 fcb $af
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
501 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
502 fcc /sty /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
503 fcb $b0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
504 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
505 fcc /subw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
506 fcb $b1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
507 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
508 fcc /cmpw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
509 fcb $b2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
510 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
511 fcc /sbcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
512 fcb $b3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
513 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
514 fcc /cmpd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
515 fcb $b4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
516 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
517 fcc /andd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
518 fcb $b5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
519 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
520 fcc /bitd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
521 fcb $b6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
522 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
523 fcc /ldw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
524 fcb $b7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
525 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
526 fcc /stw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
527 fcb $b8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
528 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
529 fcc /eord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
530 fcb $b9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
531 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
532 fcc /adcd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
533 fcb $ba
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
534 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
535 fcc /ord /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
536 fcb $bb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
537 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
538 fcc /addw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
539 fcb $bc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
540 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
541 fcc /cmpy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
542 fcb $be
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
543 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
544 fcc /ldy /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
545 fcb $bf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
546 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
547 fcc /sty /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
548 fcb $ce
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
549 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
550 fcc /lds /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
551 fcb $dc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
552 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
553 fcc /ldq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
554 fcb $dd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
555 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
556 fcc /stq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
557 fcb $de
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
558 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
559 fcc /lds /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
560 fcb $df
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
561 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
562 fcc /sts /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
563 fcb $ec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
564 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
565 fcc /ldq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
566 fcb $ed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
567 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
568 fcc /stq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
569 fcb $ee
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
570 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
571 fcc /lds /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
572 fcb $ef
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
573 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
574 fcc /sts /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
575 fcb $fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
576 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
577 fcc /ldq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
578 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
579 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
580 fcc /stq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
581 fcb $fe
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
582 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
583 fcc /lds /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
584 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
585 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
586 fcc /sts /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
587 fcb $00
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
588 fcb $fe
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
589 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
590 pag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
591 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
592 ** 2 byte table - **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
593 ** $11 is first byte of op code **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
594 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
595 get11tab equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
596 fcb $30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
597 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
598 fcc /band /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
599 fcb $31
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
600 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
601 fcc /biand/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
602 fcb $32
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
603 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
604 fcc /bor /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
605 fcb $33
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
606 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
607 fcc /bior /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
608 fcb $34
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
609 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
610 fcc /beor /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
611 fcb $35
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
612 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
613 fcc /bieor/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
614 fcb $36
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
615 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
616 fcc /ldbt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
617 fcb $37
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
618 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
619 fcc /stbt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
620 fcb $38
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
621 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
622 fcc /tfm /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
623 fcb $39
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
624 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
625 fcc /tfm /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
626 fcb $3a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
627 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
628 fcc /tfm /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
629 fcb $3b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
630 fcb $fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
631 fcc /tfm /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
632 fcb $3c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
633 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
634 fcc /bitmd/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
635 fcb $3d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
636 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
637 fcc /ldmd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
638 fcb $3f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
639 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
640 fcc /swi3 /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
641 fcb $43
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
642 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
643 fcc /come /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
644 fcb $4a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
645 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
646 fcc /dece /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
647 fcb $4c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
648 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
649 fcc /ince /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
650 fcb $4d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
651 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
652 fcc /tste /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
653 fcb $4f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
654 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
655 fcc /clre /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
656 fcb $53
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
657 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
658 fcc /comf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
659 fcb $5a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
660 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
661 fcc /decf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
662 fcb $5c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
663 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
664 fcc /incf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
665 fcb $5d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
666 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
667 fcc /tstf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
668 fcb $5f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
669 fcb $fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
670 fcc /clrf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
671 fcb $80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
672 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
673 fcc /sube /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
674 fcb $81
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
675 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
676 fcc /cmpe /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
677 fcb $83
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
678 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
679 fcc /cmpu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
680 fcb $86
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
681 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
682 fcc /lde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
683 fcb $8b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
684 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
685 fcc /adde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
686 fcb $8c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
687 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
688 fcc /cmps /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
689 fcb $8d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
690 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
691 fcc /divd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
692 fcb $8e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
693 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
694 fcc /divq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
695 fcb $8f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
696 fcb $f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
697 fcc /muld /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
698 fcb $90
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
699 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
700 fcc /sube /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
701 fcb $91
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
702 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
703 fcc /cmpe /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
704 fcb $93
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
705 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
706 fcc /cmpu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
707 fcb $96
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
708 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
709 fcc /lde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
710 fcb $97
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
711 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
712 fcc /ste /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
713 fcb $9b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
714 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
715 fcc /adde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
716 fcb $9c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
717 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
718 fcc /cmps /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
719 fcb $9d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
720 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
721 fcc /divd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
722 fcb $9e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
723 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
724 fcc /divq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
725 fcb $9f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
726 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
727 fcc /muld /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
728 fcb $a0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
729 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
730 fcc /sube /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
731 fcb $a1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
732 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
733 fcc /cmpe /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
734 fcb $a3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
735 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
736 fcc /cmpu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
737 fcb $a6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
738 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
739 fcc /lde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
740 fcb $a7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
741 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
742 fcc /ste /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
743 fcb $ab
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
744 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
745 fcc /adde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
746 fcb $ac
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
747 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
748 fcc /cmps /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
749 fcb $ad
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
750 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
751 fcc /divd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
752 fcb $ae
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
753 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
754 fcc /divq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
755 fcb $af
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
756 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
757 fcc /muld /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
758 fcb $b0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
759 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
760 fcc /sube /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
761 fcb $b1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
762 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
763 fcc /cmpe /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
764 fcb $b3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
765 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
766 fcc /cmpu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
767 fcb $b6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
768 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
769 fcc /lde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
770 fcb $b7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
771 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
772 fcc /ste /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
773 fcb $bb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
774 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
775 fcc /adde /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
776 fcb $bc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
777 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
778 fcc /cmps /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
779 fcb $bd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
780 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
781 fcc /divd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
782 fcb $be
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
783 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
784 fcc /divq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
785 fcb $bf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
786 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
787 fcc /muld /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
788 fcb $c0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
789 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
790 fcc /subf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
791 fcb $c1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
792 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
793 fcc /cmpf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
794 fcb $c6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
795 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
796 fcc /ldf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
797 fcb $cb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
798 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
799 fcc /addf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
800 fcb $d0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
801 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
802 fcc /subf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
803 fcb $d1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
804 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
805 fcc /cmpf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
806 fcb $d6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
807 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
808 fcc /ldf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
809 fcb $d7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
810 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
811 fcc /stf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
812 fcb $db
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
813 fcb $ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
814 fcc /addf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
815 fcb $e0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
816 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
817 fcc /subf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
818 fcb $e1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
819 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
820 fcc /cmpf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
821 fcb $e6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
822 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
823 fcc /ldf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
824 fcb $e7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
825 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
826 fcc /stf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
827 fcb $eb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
828 fcb $f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
829 fcc /addf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
830 fcb $f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
831 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
832 fcc /subf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
833 fcb $f1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
834 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
835 fcc /cmpf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
836 fcb $f6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
837 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
838 fcc /ldf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
839 fcb $f7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
840 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
841 fcc /stf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
842 fcb $fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
843 fcb $f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
844 fcc /addf /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
845 fcb $00 Unknown gets FCB's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
846 fcb $fe
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
847 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
848 pag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
849 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
850 ** 1 byte op code table **
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
851 *****************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
852 * Position in table is opcode, byte stored there is how to interpret it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
853 * Interpreter bytes are:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
854 * $FF: Direct page mode (1 byte address)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
855 * $FE: FCB (unknown single byte)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
856 * $FD: Implied (single byte by itself)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
857 * $FC: 2 byte relative
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
858 * $FB: 1 byte immediate
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
859 * $FA: Dual register (EXG/TFR)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
860 * $F9: 1 byte relative
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
861 * $F8: Indexed (1 or more post bytes)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
862 * $F7: Stack (PSH/PUL) register post-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
863 * $F6: ??? (internal use?)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
864 * $F5: SWI???
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
865 * $F4: Extended (2 byte address)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
866 * $F3: 2 byte immediate
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
867 * $F2: 4 byte immediate
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
868 * $F1: In memory (AIM, etc.)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
869 * $F0: Bit commands (LDBT, etc.)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
870 optable fcb $00
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
871 tab0x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
872 fcb $ff =00
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
873 fcc /neg /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
874 fcb $f1 =01
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
875 fcc /oim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
876 fcb $f1 =02
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
877 fcc /aim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
878 fcb $ff =03
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
879 fcc /com /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
880 fcb $ff =04
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
881 fcc /lsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
882 fcb $f1 =05
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
883 fcc /eim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
884 fcb $ff =06
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
885 fcc /ror /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
886 fcb $ff =07
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
887 fcc /asr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
888 fcb $ff =08
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
889 fcc /lsl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
890 fcb $ff =09
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
891 fcc /rol /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
892 fcb $ff =0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
893 fcc /dec /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
894 fcb $f1 =0b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
895 fcc /tim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
896 fcb $ff =0c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
897 fcc /inc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
898 fcb $ff =0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
899 fcc /tst /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
900 fcb $ff =0e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
901 fcc /jmp /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
902 fcb $ff =0f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
903 fcc /clr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
904 tab1x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
905 fcb $fe =10 Unused entry; pre-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
906 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
907 fcb $fe =11 Unused entry; pre-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
908 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
909 fcb $fd =12
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
910 fcc /nop /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
911 fcb $fd =13
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
912 fcc /sync /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
913 fcb $fd =14
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
914 fcc /sexw /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
915 fcb $fe =15
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
916 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
917 fcb $fc =16
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
918 fcc /lbra /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
919 fcb $fc =17
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
920 fcc /lbsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
921 fcb $fe =18
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
922 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
923 fcb $fd =19
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
924 fcc /daa /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
925 fcb $fb =1a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
926 fcc /orcc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
927 fcb $fe =1b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
928 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
929 fcb $fb =1c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
930 fcc /andcc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
931 fcb $fd =1d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
932 fcc /sex /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
933 fcb $fa =1e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
934 fcc /exg /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
935 fcb $fa =1f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
936 fcc /tfr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
937 tab2x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
938 fcb $f9 =20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
939 fcc /bra /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
940 fcb $f9 =21
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
941 fcc /brn /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
942 fcb $f9 =22
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
943 fcc /bhi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
944 fcb $f9 =23
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
945 fcc /bls /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
946 fcb $f9 =24
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
947 fcc /bcc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
948 fcb $f9 =25
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
949 fcc /bcs /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
950 fcb $f9 =26
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
951 fcc /bne /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
952 fcb $f9 =27
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
953 fcc /beq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
954 fcb $f9 =28
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
955 fcc /bvc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
956 fcb $f9 =29
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
957 fcc /bvs /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
958 fcb $f9 =2a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
959 fcc /bpl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
960 fcb $f9 =2b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
961 fcc /bmi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
962 fcb $f9 =2c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
963 fcc /bge /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
964 fcb $f9 =2d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
965 fcc /blt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
966 fcb $f9 =2e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
967 fcc /bgt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
968 fcb $f9 =2f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
969 fcc /ble /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
970 tab3x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
971 fcb $f8 =30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
972 fcc /leax /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
973 fcb $f8 =31
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
974 fcc /leay /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
975 fcb $f8 =32
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
976 fcc /leas /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
977 fcb $f8 =33
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
978 fcc /leau /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
979 fcb $f7 =34
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
980 fcc /pshs /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
981 fcb $f7 =35
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
982 fcc /puls /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
983 fcb $f7 =36
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
984 fcc /pshu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
985 fcb $f7 =37
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
986 fcc /pulu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
987 fcb $fe =38
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
988 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
989 fcb $fd =39
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
990 fcc /rts /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
991 fcb $fd =3a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
992 fcc /abx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
993 fcb $fd =3b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
994 fcc /rti /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
995 fcb $fb =3c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
996 fcc /cwai /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
997 fcb $fd =3d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
998 fcc /mul /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
999 fcb $fe =3e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1000 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1001 fcb $f5 =3f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1002 fcc /swi /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1003 tab4x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1004 fcb $fd =40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1005 fcc /nega /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1006 fcb $fe =41
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1007 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1008 fcb $fe =42
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1009 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1010 fcb $fd =43
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1011 fcc /coma /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1012 fcb $fd =44
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1013 fcc /lsra /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1014 fcb $fe =45
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1015 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1016 fcb $fd =46
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1017 fcc /rora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1018 fcb $fd =47
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1019 fcc /asra /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1020 fcb $fd =48
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1021 fcc /lsla /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1022 fcb $fd =49
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1023 fcc /rola /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1024 fcb $fd =4a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1025 fcc /deca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1026 fcb $fe =4b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1027 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1028 fcb $fd =4c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1029 fcc /inca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1030 fcb $fd =4d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1031 fcc /tsta /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1032 fcb $fe =4e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1033 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1034 fcb $fd =4f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1035 fcc /clra /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1036 tab5x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1037 fcb $fd =50
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1038 fcc /negb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1039 fcb $fe =51
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1040 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1041 fcb $fe =52
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1042 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1043 fcb $fd =53
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1044 fcc /comb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1045 fcb $fd =54
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1046 fcc /lsrb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1047 fcb $fe =55
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1048 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1049 fcb $fd =56
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1050 fcc /rorb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1051 fcb $fd =57
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1052 fcc /asrb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1053 fcb $fd =58
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1054 fcc /lslb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1055 fcb $fd =59
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1056 fcc /rolb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1057 fcb $fd =5a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1058 fcc /decb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1059 fcb $fe =5b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1060 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1061 fcb $fd =5c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1062 fcc /incb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1063 fcb $fd =5d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1064 fcc /tstb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1065 fcb $fe =5e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1066 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1067 fcb $fd =5f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1068 fcc /clrb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1069 tab6x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1070 fcb $f8 =60
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1071 fcc /neg /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1072 fcb $f1 =61
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1073 fcc /oim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1074 fcb $f1 =62
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1075 fcc /aim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1076 fcb $f8 =63
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1077 fcc /com /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1078 fcb $f8 =64
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1079 fcc /lsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1080 fcb $f1 =65
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1081 fcc /eim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1082 fcb $f8 =66
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1083 fcc /ror /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1084 fcb $f8 =67
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1085 fcc /asr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1086 fcb $f8 =68
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1087 fcc /lsl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1088 fcb $f8 =69
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1089 fcc /rol /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1090 fcb $f8 =6a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1091 fcc /dec /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1092 fcb $f1 =6b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1093 fcc /tim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1094 fcb $f8 =6c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1095 fcc /inc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1096 fcb $f8 =6d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1097 fcc /tst /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1098 fcb $f8 =6e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1099 fcc /jmp /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1100 fcb $f8 =6f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1101 fcc /clr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1102 tab7x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1103 fcb $f4 =70
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1104 fcc /neg /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1105 fcb $f1 =71
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1106 fcc /oim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1107 fcb $f1 =72
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1108 fcc /aim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1109 fcb $f4 =73
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1110 fcc /com /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1111 fcb $f4 =74
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1112 fcc /lsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1113 fcb $f1 =75
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1114 fcc /eim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1115 fcb $f4 =76
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1116 fcc /ror /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1117 fcb $f4 =77
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1118 fcc /asr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1119 fcb $f4 =78
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1120 fcc /lsl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1121 fcb $f4 =79
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1122 fcc /rol /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1123 fcb $f4 =7a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1124 fcc /dec /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1125 fcb $f1 =7b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1126 fcc /tim /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1127 fcb $f4 =7c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1128 fcc /inc /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1129 fcb $f4 =7d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1130 fcc /tst /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1131 fcb $f4 =7e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1132 fcc /jmp /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1133 fcb $f4 =7f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1134 fcc /clr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1135 tab8x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1136 fcb $fb =80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1137 fcc /suba /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1138 fcb $fb =81
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1139 fcc /cmpa /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1140 fcb $fb =82
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1141 fcc /sbca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1142 fcb $f3 =83
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1143 fcc /subd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1144 fcb $fb =84
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1145 fcc /anda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1146 fcb $fb =85
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1147 fcc /bita /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1148 fcb $fb =86
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1149 fcc /lda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1150 fcb $fe =87
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1151 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1152 fcb $fb =88
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1153 fcc /eora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1154 fcb $fb =89
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1155 fcc /adca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1156 fcb $fb =8a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1157 fcc /ora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1158 fcb $fb =8b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1159 fcc /adda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1160 fcb $f3 =8c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1161 fcc /cmpx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1162 fcb $f9 =8d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1163 fcc /bsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1164 fcb $f3 =8e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1165 fcc /ldx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1166 fcb $fe =8f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1167 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1168 tab9x equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1169 fcb $ff =90
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1170 fcc /suba /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1171 fcb $ff =91
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1172 fcc /cmpa /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1173 fcb $ff =92
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1174 fcc /sbca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1175 fcb $ff =93
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1176 fcc /subd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1177 fcb $ff =94
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1178 fcc /anda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1179 fcb $ff =95
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1180 fcc /bita /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1181 fcb $ff =96
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1182 fcc /lda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1183 fcb $ff =97
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1184 fcc /sta /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1185 fcb $ff =98
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1186 fcc /eora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1187 fcb $ff =99
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1188 fcc /adca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1189 fcb $ff =9a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1190 fcc /ora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1191 fcb $ff =9b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1192 fcc /adda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1193 fcb $ff =9c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1194 fcc /cmpx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1195 fcb $ff =9d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1196 fcc /jsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1197 fcb $ff =9e
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1198 fcc /ldx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1199 fcb $ff =9f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1200 fcc /stx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1201 tabax equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1202 fcb $f8 =a0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1203 fcc /suba /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1204 fcb $f8 =a1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1205 fcc /cmpa /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1206 fcb $f8 =a2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1207 fcc /sbca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1208 fcb $f8 =a3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1209 fcc /subd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1210 fcb $f8 =a4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1211 fcc /anda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1212 fcb $f8 =a5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1213 fcc /bita /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1214 fcb $f8 =a6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1215 fcc /lda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1216 fcb $f8 =a7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1217 fcc /sta /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1218 fcb $f8 =a8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1219 fcc /eora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1220 fcb $f8 =a9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1221 fcc /adca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1222 fcb $f8 =aa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1223 fcc /ora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1224 fcb $f8 =ab
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1225 fcc /adda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1226 fcb $f8 =ac
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1227 fcc /cmpx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1228 fcb $f8 =ad
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1229 fcc /jsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1230 fcb $f8 =ae
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1231 fcc /ldx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1232 fcb $f8 =af
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1233 fcc /stx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1234 tabbx equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1235 fcb $f4 =b0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1236 fcc /suba /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1237 fcb $f4 =b1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1238 fcc /cmpa /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1239 fcb $f4 =b2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1240 fcc /sbca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1241 fcb $f4 =b3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1242 fcc /subd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1243 fcb $f4 =b4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1244 fcc /anda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1245 fcb $f4 =b5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1246 fcc /bita /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1247 fcb $f4 =b6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1248 fcc /lda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1249 fcb $f4 =b7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1250 fcc /sta /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1251 fcb $f4 =b8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1252 fcc /eora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1253 fcb $f4 =b9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1254 fcc /adca /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1255 fcb $f4 =ba
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1256 fcc /ora /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1257 fcb $f4 =bb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1258 fcc /adda /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1259 fcb $f4 =bc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1260 fcc /cmpx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1261 fcb $f4 =bd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1262 fcc /jsr /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1263 fcb $f4 =be
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1264 fcc /ldx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1265 fcb $f4 =bf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1266 fcc /stx /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1267 tabcx equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1268 fcb $fb =c0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1269 fcc /subb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1270 fcb $fb =c1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1271 fcc /cmpb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1272 fcb $fb =c2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1273 fcc /sbcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1274 fcb $f3 =c3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1275 fcc /addd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1276 fcb $fb =c4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1277 fcc /andb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1278 fcb $fb =c5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1279 fcc /bitb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1280 fcb $fb =c6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1281 fcc /ldb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1282 fcb $fe =c7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1283 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1284 fcb $fb =c8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1285 fcc /eorb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1286 fcb $fb =c9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1287 fcc /adcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1288 fcb $fb =ca
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1289 fcc /orb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1290 fcb $fb =cb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1291 fcc /addb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1292 fcb $f3 =cc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1293 fcc /ldd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1294 fcb $f2 =cd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1295 fcc /ldq /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1296 fcb $f3 =ce
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1297 fcc /ldu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1298 fcb $fe =cf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1299 fcc /fcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1300 tabdx equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1301 fcb $ff =d0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1302 fcc /subb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1303 fcb $ff =d1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1304 fcc /cmpb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1305 fcb $ff =d2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1306 fcc /sbcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1307 fcb $ff =d3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1308 fcc /addd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1309 fcb $ff =d4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1310 fcc /andb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1311 fcb $ff =d5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1312 fcc /bitb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1313 fcb $ff =d6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1314 fcc /ldb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1315 fcb $ff =d7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1316 fcc /stb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1317 fcb $ff =d8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1318 fcc /eorb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1319 fcb $ff =d9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1320 fcc /adcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1321 fcb $ff =da
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1322 fcc /orb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1323 fcb $ff =db
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1324 fcc /addb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1325 fcb $ff =dc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1326 fcc /ldd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1327 fcb $ff =dd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1328 fcc /std /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1329 fcb $ff =de
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1330 fcc /ldu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1331 fcb $ff =df
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1332 fcc /stu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1333 tabex equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1334 fcb $f8 =e0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1335 fcc /subb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1336 fcb $f8 =e1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1337 fcc /cmpb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1338 fcb $f8 =e2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1339 fcc /sbcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1340 fcb $f8 =e3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1341 fcc /addd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1342 fcb $f8 =e4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1343 fcc /andb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1344 fcb $f8 =e5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1345 fcc /bitb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1346 fcb $f8 =e6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1347 fcc /ldb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1348 fcb $f8 =e7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1349 fcc /stb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1350 fcb $f8 =e8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1351 fcc /eorb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1352 fcb $f8 =e9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1353 fcc /adcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1354 fcb $f8 =ea
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1355 fcc /orb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1356 fcb $f8 =eb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1357 fcc /addb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1358 fcb $f8 =ec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1359 fcc /ldd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1360 fcb $f8 =ed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1361 fcc /std /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1362 fcb $f8 =ee
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1363 fcc /ldu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1364 fcb $f8 =ef
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1365 fcc /stu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1366 tabfx equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1367 fcb $f4 =f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1368 fcc /subb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1369 fcb $f4 =f1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1370 fcc /cmpb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1371 fcb $f4 =f2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1372 fcc /sbcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1373 fcb $f4 =f3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1374 fcc /addd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1375 fcb $f4 =f4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1376 fcc /andb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1377 fcb $f4 =f5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1378 fcc /bitb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1379 fcb $f4 =f6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1380 fcc /ldb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1381 fcb $f4 =f7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1382 fcc /stb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1383 fcb $f4 =f8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1384 fcc /eorb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1385 fcb $f4 =f9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1386 fcc /adcb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1387 fcb $f4 =fa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1388 fcc /orb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1389 fcb $f4 =fb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1390 fcc /addb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1391 fcb $f4 =fc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1392 fcc /ldd /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1393 fcb $f4 =fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1394 fcc /std /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1395 fcb $f4 =fe
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1396 fcc /ldu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1397 fcb $f4 =ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1398 fcc /stu /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1399 pag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1400
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1401
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1402 testing equ 0 (0=no,1=yes)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1403 regtab fcc /d x y u s pcw v a b ccdp0 0 e f /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1404 stackreg fcc /pcu y x dpb a cc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1405 timesplt fcc '// :: '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1406 title equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1407 fcc /program module /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1408 fcc /subroutine module /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1409 fcc /multi-module /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1410 fcc /data module /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1411 fcc /os9 system module /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1412 fcc /os9 file manager /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1413 fcc /os9 device driver /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1414 fcc /os9 device descriptor/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1415 badindx fcc /?????????????????????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1416 devtype equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1417 fcc /Prgrm/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1418 fcc /Sbrtn/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1419 fcc /Multi/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1420 fcc /Data /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1421 fcc /Systm/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1422 fcc /FlMgr/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1423 fcc /Drivr/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1424 fcc /Devic/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1425 fcc /?????/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1426 language equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1427 fcc /Objct /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1428 fcc /ICode /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1429 fcc /PCode /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1430 fcc /CCode /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1431 fcc /CblCode /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1432 fcc /FrtnCode/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1433 fcc /???????? /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1434 reent. fcc /ReEnt /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1435 modprot. fcc /Modprot /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1436 line010 fcc / ifp1/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1437 line011 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1438 ln010sz equ *-line010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1439 line020 fcc % use /%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1440 ln020sz equ *-line020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1441 line025 fcc %/defs/os9defs%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1442 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1443 ln025sz equ *-line025
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1444 line030 fcc / endc/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1445 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1446 ln030sz equ *-line030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1447 line040 fcc / /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1448 fcc / /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1449 fcc / /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1450 fcc / /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1451
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1452 line050 fcc / mod /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1453 fcc /eom,name,tylg,/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1454 fcc /atrv,start,size/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1455 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1456 ln050sz equ *-line050
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1457 line060 fcc %fcs /%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1458 ln060sz equ *-line060
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1459 line070 fcc /u0000 rmb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1460 ln070sz equ *-line070
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1461 line080 fcc /<u/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1462 line085 fcc /<$/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1463 line090 fcc /fcb $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1464 ln090sz equ *-line090
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1465 line100 fcc /name equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1466 ln100sz equ *-line100
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1467 line110 fcc / rmb /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1468 ln110sz equ *-line110
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1469 line120 fcc /size equ ./
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1470 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1471 ln120sz equ *-line120
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1472 line130 fcc /start equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1473 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1474 ln130sz equ *-line130
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1475 line140 fcc /swi2/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1476 ln140sz equ *-line140
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1477 line150 fcc /os9 /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1478 ln150sz equ *-line150
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1479 line160 fcc / ttl /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1480 ln160sz equ *-line160
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1481 line170 fcc / emod/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1482 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1483 ln170sz equ *-line170
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1484 line180 fcc /eom equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1485 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1486 ln180sz equ *-line180
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1487 line190 fcc /equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1488 ln190sz equ *-line190
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1489 line200 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1490 fcc /error: can't link to module/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1491 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1492 ln200sz equ *-line200
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1493 line210 fcc /* Disassembled /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1494 ln210sz equ *-line210
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1495 line215 fcc /by Disasm v1./
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1496 fcb edition
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1497 fcc / (C) 1988 by RML/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1498 ln215sz equ *-line215
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1499 line220 fcc /,pcr/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1500 ln220sz equ *-line220
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1501 line230 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1502 fcc /* entries in symbol table :$/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1503 ln230sz equ *-line230
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1504 line240 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1505 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1506 fcc /error: symbol table full/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1507 fdb $070d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1508 ln240sz equ *-line240
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1509 line250 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1510 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1511 fcc /error: illegal option/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1512 fdb $070d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1513 ln250sz equ *-line250
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1514 line260 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1515 fcc %error: no module/path name found%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1516 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1517 fcc /use Disasm -? for help/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1518 fdb $070d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1519 ln260sz equ *-line260
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1520 line270 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1521 fcc / Disasm v1./
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1522 fcb edition
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1523 fcc / (for 6809 & 6309 code) options:/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1524 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1525 fcc / Disasm -m modname/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1526 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1527 fcc / will link to module 'modname' -/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1528 fcc / if not found,will load module/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1529 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1530 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1531 fcc / Disasm modname/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1532 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1533 fcc / will 'read' the module from the/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1534 fcc / specified path without loading/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1535 fcb $0a,$0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1536 fcc / Disasm -z {hex data}/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1537 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1538 fcc / will disassemble the data input on the comand line/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1539 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1540 fcc / as if it were part of a module in memory/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1541 fcb $0a,$0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1542 fcc / other options:/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1543 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1544 fcc / o = display line number,address,object code & source code/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1545 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1546 fcc / x = take modules from execution directory/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1547 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1548 fcc ' u = do not convert u/dp offsets to symbolic labels'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1549 fcb $0a,$0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1550 fcc / any combination of options is allowed (lower or upper case)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1551 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1552 fcc / but they must immediately follow the '-' and there must be/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1553 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1554 fcc / no spaces separating options./
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1555 fcb $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1556 ln270sz equ *-line270
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1557 line280 fcc / nam /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1558 ln280sz equ *-line280
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1559 line290 fcc /tylg set /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1560 ln290sz equ *-line290
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1561 line300 fcc /atrv set /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1562 ln300sz equ *-line300
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1563 line310 fcc /rev set $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1564 ln310sz equ *-line310
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1565 line320 fcc /+rev/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1566 ln320sz equ *-line320
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1567 line330 fcc / mod /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1568 fcc /eom,name,tylg,/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1569 fcc /atrv,mgrnam,drvnam/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1570 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1571 ln330sz equ *-line330
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1572
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1573 line340 fcc /mode byte/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1574 ln340sz equ *-line340
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1575 line350 fcc /extended controller address/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1576 ln350sz equ *-line350
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1577 line360 fcc / physical controller address/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1578 ln360sz equ *-line360
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1579 line370 fcc /fdb $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1580 ln370sz equ *-line370
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1581 line380 fcc /fcb initsize-*-1 initilization table size/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1582 ln380sz equ *-line380
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1583 line390 fcc /device type:0=scf,1=rbf,2=pipe,3=scf/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1584 ln390sz equ *-line390
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1585 line400 fcc /initsize equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1586 ln400sz equ *-line400
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1587 line410 fcc /mgrnam equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1588 ln410sz equ *-line410
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1589 line420 fcc /drvnam equ */
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1590 ln420sz equ *-line420
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1591 line430 fcc /fdb name copy of descriptor name address/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1592 ln430sz equ *-line430
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1593 rbfprint fcc /1drive number/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1594 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1595 fcc /1step rate/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1596 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1597 fcc /1drive device type/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1598 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1599 fcc /1media density:0=single,1=double/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1600 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1601 fcc /2number of cylinders (tracks)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1602 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1603 fcc /1number of sides/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1604 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1605 fcc /1verify disk writes:0=on/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1606 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1607 fcc /2# of sectors per track/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1608 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1609 fcc /2# of sectors per track (track 0)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1610 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1611 fcc /1sector interleave factor/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1612 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1613 fcc /1minimum size of sector allocation/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1614 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1615 fcc /1?/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1616 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1617
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1618 scfprint equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1619 fcc /1case:0=up&lower,1=upper only/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1620 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1621 fcc /1backspace:0=bsp,1=bsp then sp & bsp/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1622 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1623 fcc /1delete:0=bsp over line,1=return/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1624 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1625 fcc /1echo:0=no echo/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1626 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1627 fcc /1auto line feed:0=off/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1628 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1629 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1630 fcc /1end of line null count/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1631 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1632 fcc /1pause:0=no end of page pause/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1633 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1634 fcc /1lines per page/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1635 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1636 fcc /1backspace character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1637 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1638 fcc /1delete line character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1639 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1640 fcc /1end of record character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1641 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1642 fcc /1end of file character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1643 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1644 fcc /1reprint line character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1645 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1646 fcc /1duplicate last line character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1647 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1648 fcc /1pause character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1649 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1650 fcc /1interrupt character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1651 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1652 fcc /1quit character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1653 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1654 fcc /1backspace echo character/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1655 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1656 fcc /1line overflow character (bell)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1657 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1658 fcc /1init value for dev ctl reg/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1659 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1660 fcc /1baud rate/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1661 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1662 fcc /3/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1663 fcc /1acia xon char/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1664 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1665 fcc /1acia xoff char/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1666 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1667 fcc /1(szx) number of columns for display/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1668 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1669 fcc /1(szy) number of rows for display/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1670 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1671 fcc /1window number/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1672 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1673 fcc /1data in rest of descriptor valid/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1674 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1675 fcc /1(sty) window type/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1676 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1677 fcc /1(cpx) x cursor position/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1678 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1679 fcc /1(cpy) y cursor position/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1680 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1681 fcc /1(prn1) foreground color/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1682 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1683 fcc /1(prn2) background color/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1684 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1685 fcc /1(prn3) border color/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1686 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1687 scfpend fcc /1?/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1688 fcb cr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1689 * use /dd/defs/usr/usrall
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1690
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1691 start equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1692 sts <stackhld save the stack address for later
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1693 stx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1694 stu <ureghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1695 cmpd #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1696 bhs pathok
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1697 leax line260,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1698 ldy #ln260sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1699 lbra prterror
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1700 pathok equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1701 leax labeltab,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1702 stx <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1703 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1704 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1705 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1706 leax -500,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1707 * leax labeltab+40,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1708 stx <utabend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1709 ldd #$ffff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1710 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1711 leax -2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1712 stx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1713 ldd #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1714 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1715 clr <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1716 clr <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1717 clr <m.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1718 clr <o.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1719 clr <x.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1720 clr <z.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1721 clr <u.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1722 clr <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1723 clr <descript
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1724 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1725
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1726 restart equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1727 clr <readcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1728 clr <readclr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1729 leax readbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1730 stx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1731 ldd #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1732 std <numline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1733 ldx #$ffff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1734 stx <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1735 ldx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1736 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1737 lbeq getprm
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1738 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1739 leay line280,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1740 ldb #ln280sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1741 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1742 leay holdname,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1743 ldb #$44
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1744 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1745 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1746 leay hldttl,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1747 ldb #40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1748 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1749 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1750 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1751 leax holdobj,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1752 tst <o.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1753 bne time010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1754 leax holdline,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1755 time010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1756 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1757 leay line210,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1758 ldb #ln210sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1759 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1760 leax runtime,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1761 os9 F$Time get time
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1762 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1763 lda #6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1764 sta <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1765 leay timesplt,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1766 time020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1767 ldb ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1768 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1769 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1770 pshs y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1771 leay decstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1772 lbsr getdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1773 leay decstrng+3,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1774 ldb #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1775 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1776 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1777 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1778 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1779 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1780 dec <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1781 bne time020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1782 leay line215,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1783 ldb #ln215sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1784 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1785 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1786 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1787
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1788 leay line010,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1789 ldb #ln010sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1790 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1791 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1792 leay line020,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1793 ldb #ln020sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1794 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1795 leay dfltdrv,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1796 ldb #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1797 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1798 leay line025,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1799 ldb #ln025sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1800 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1801 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1802 leay line030,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1803 ldb #ln030sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1804 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1805 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1806 ldb <tylghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1807 bsr movehdr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1808 leay hldtylg,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1809 ldb #$50
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1810 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1811 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1812 ldb <atrvhold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1813 bsr movehdr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1814 leay hldatrv,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1815 ldb #$50
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1816 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1817 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1818 ldb <revshold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1819 bsr movehdr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1820 leay hldrev,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1821 ldb #$50
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1822 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1823 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1824 ldx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1825 tst <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1826 lbne diskmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1827 lbra mem020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1828
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1829 movehdr equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1830 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1831 lbsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1832 leax holdadr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1833 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1834 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1835 lbsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1836 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1837
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1838 getprm lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1839 cmpa #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1840 beq getprm
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1841 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1842 stx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1843 cmpa #'-
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1844 lbne diskmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1845 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1846 getopt equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1847 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1848 sta <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1849 anda #$df
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1850 cmpa #'M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1851 bne gtopt010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1852 inc <m.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1853 inc <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1854 bra getopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1855 gtopt010 cmpa #'O
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1856 bne gtopt020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1857 inc <o.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1858 inc <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1859 bra getopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1860 gtopt020 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1861 cmpa #'X
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1862 bne gtopt030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1863 inc <x.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1864 inc <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1865 bra getopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1866
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1867 gtopt030 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1868 cmpa #'Z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1869 bne gtopt040
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1870 inc <z.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1871 inc <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1872 bra getopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1873
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1874 gtopt040 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1875 cmpa #'U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1876 bne gtopt050
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1877 inc <u.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1878 inc <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1879 bra getopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1880
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1881 gtopt050 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1882 lda <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1883 cmpa #'?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1884 bne chkopt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1885 leax line270,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1886 ldy #ln270sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1887 lbra prterror
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1888 chkopt equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1889 tst <z.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1890 beq optest
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1891 lbsr u$hexin convert hex chars to binary
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1892 leay 3,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1893 sty <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1894 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1895 stx <crntadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1896 ldd #$FFFF
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1897 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1898 lda #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1899 sta <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1900 leax line011,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1901 ldy #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1902 lda #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1903 os9 I$WritLn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1904 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1905 lbra readbyte go start doing it!!!
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1906
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1907 optest tst <op.cnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1908 bne memmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1909 badopt equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1910 leax line250,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1911 ldy #ln250sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1912 lbra prterror
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1913 diskmod equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1914 inc <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1915 lda #read.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1916 tst <x.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1917 beq open
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1918 ora #exec.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1919 open os9 i$open
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1920 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1921 sta <path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1922 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1923 bra gotmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1924 memmod equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1925 mem010 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1926 cmpa #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1927 beq mem010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1928 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1929 stx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1930 tst <m.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1931 beq diskmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1932
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1933 mem020 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1934 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1935 os9 f$link
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1936 bcc gotmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1937 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1938 ldx <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1939 os9 f$load
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1940 lbcs nolink
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1941 gotmod equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1942 stu <modadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1943 stu <crntadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1944 ldu <ureghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1945 ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1946 stx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1947 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1948 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1949 std <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1950 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1951 lda #$87
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1952 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1953 lda #$cd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1954 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1955 ldd <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1956 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1957 ldd <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1958 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1959 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1960 leay holdadr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1961 lda #$30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1962 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1963 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1964 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1965 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1966 leay line050,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1967 ldb #ln050sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1968 tst <descript
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1969 beq prtmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1970 leay line330,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1971 ldb #ln330sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1972 prtmod equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1973 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1974 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1975 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1976 std <nameadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1977 leay hldtylg,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1978 lbsr clrhld
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1979 leay line290,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1980 ldb #ln290sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1981 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1982 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1983 stb <tylghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1984 andb #typemask
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1985 tstb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1986 beq badtype
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1987 cmpb #$40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1988 bls goodtype
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1989 cmpb #$c0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1990 bhs goodtype
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1991 badtype equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1992 lbsr mvchr005
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1993 lbsr merghex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1994 bra chklang
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1995 goodtype equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1996 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1997 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1998 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1999 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2000 cmpb #$0c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2001 blo type010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2002 subb #$7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2003 cmpb #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2004 bne type010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2005 inc <descript
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2006 type010 subb #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2007 stb <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2008 lda #$5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2009 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2010 leay devtype,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2011 leay d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2012 ldb #5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2013 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2014 chklang equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2015 lbsr mvchr008
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2016 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2017 andb #langmask
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2018 tstb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2019 beq badlang
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2020 cmpb #6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2021 bls goodlang
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2022 badlang equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2023 lbsr mvchr005
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2024 lbsr merghex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2025 bra lang010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2026 goodlang equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2027 subb #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2028 leay language,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2029 lda #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2030 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2031 leay d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2032 ldb #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2033 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2034 lang010 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2035 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2036 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2037 chkattr equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2038 leay hldttl,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2039 lbsr clrhld
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2040 leay line160,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2041 ldb #ln160sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2042 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2043 ldb <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2044 lda #$15
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2045 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2046 leay title,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2047 leay d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2048 ldb #$15
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2049 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2050 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2051 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2052 leay hldatrv,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2053 lbsr clrhld
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2054 leay line300,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2055 ldb #ln300sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2056 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2057 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2058 stb <atrvhold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2059 andb #attrmask
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2060 cmpb #reent
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2061 beq attr.r
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2062 cmpb #modprot
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2063 beq attr.m
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2064 lbsr mvchr005
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2065 lbsr merghex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2066 bra chkrevs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2067 attr.r equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2068 leay reent.,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2069 ldb #5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2070 bra moveattr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2071 attr.m equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2072 leay modprot.,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2073 ldb #7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2074 moveattr lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2075 chkrevs leay line320,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2076 ldb #ln320sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2077 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2078 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2079 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2080 leay hldrev,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2081 lbsr clrhld
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2082 leay line310,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2083 ldb #ln310sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2084 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2085 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2086 andb #revsmask
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2087 stb revshold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2088 lbsr merghex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2089 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2090 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2091 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2092 tst <descript
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2093 lbne descrhdr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2094 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2095 std <startadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2096 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2097 std <size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2098 ldx <utabend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2099 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2100 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2101 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2102 * lbra findname
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2103
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2104 ldx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2105 stx <addrsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2106 ldx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2107 tst <u.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2108 beq movedp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2109 ldx <utabend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2110 leax -2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2111 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2112 clrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2113 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2114
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2115 movedp equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2116 ldd ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2117 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2118 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2119 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2120 leay line070,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2121 ldb #ln070sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2122 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2123 leay linenum,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2124 lda #'D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2125 sta 6,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2126 leax holdadr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2127 leay 25,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2128 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2129 exg x,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2130 lbsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2131 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2132 ldd ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2133 subd -2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2134 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2135 lbsr mergdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2136 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2137 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2138 ldd ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2139 cmpd <size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2140 bne movedp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2141
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2142 ldd <size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2143 lbsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2144 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2145 leax holdadr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2146 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2147 lbsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2148 leay linenum,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2149 leay 6,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2150 lda #'D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2151 sta ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2152 leay line120,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2153 ldb #ln120sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2154 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2155 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2156 ldx <addrsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2157 stx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2158
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2159 findname equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2160 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2161 ldx <nameadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2162 cmpx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2163 beq getname
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2164 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2165 bra findname
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2166
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2167 getname equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2168 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2169 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2170 leay line100,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2171 ldb #ln100sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2172 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2173 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2174 leay holdname,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2175 lbsr movename
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2176 getstart lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2177 ldx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2178 cmpx <startadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2179 beq gotstart
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2180 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2181 bra getstart
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2182 gotstart equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2183 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2184 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2185 leay line130,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2186 ldb #ln130sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2187 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2188 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2189 lda <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2190 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2191 bra testop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2192 readbyte lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2193 * Check opcodes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2194 testop equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2195 clr <bitcom Clear bit instruction processing flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2196 lbsr moveadr Go bump address up?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2197 lda <byte Get next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2198 cmpa #$10 Is it a $10?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2199 bne test11 No, check for next special one
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2200 lbsr getbyte Is $10, get next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2201 cmpb #$3f OS9 System call?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2202 bne test10 No, do rest of check for $10 pre-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2203 lbsr getbyte Get function code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2204 tfr b,a Move to A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2205 ldb #$3f Go get proper mnemonic for System call
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2206 lbsr getop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2207 cmpa #'? Unknown one?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2208 bne os9ok No, print out regular system call
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2209 leax holdobj,u Unknown, deal with it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2210 stx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2211 clr <objcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2212 lda #$10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2213 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2214 lda #$3f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2215 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2216 ldx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2217 ldd #$2020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2218 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2219 ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2220 leax -15,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2221 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2222 leay line140,pcr Print SWI2 message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2223 ldb #ln140sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2224 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2225 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2226 lda <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2227 sta <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2228 lbsr fcbline And FCB byte following it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2229 bra readbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2230
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2231 * Got recognizable OS9 System call... print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2232 os9ok lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2233 bra readbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2234 * $10 Pre-byte OTHER than SWI2 (system calls)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2235
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2236 test10 tfr b,a Put opcode part into A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2237 ldb #$10 Go get proper mnemonic type for $10xx code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2238 lbsr getop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2239 cmpb #$fe Unknown opcode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2240 bne chkreslt No, deal with result
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2241 lda #$10 Unknown, convert to FCB line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2242 bra tst11.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2243 test11 cmpa #$11 $11 pre-byte?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2244 bne onebyte No, must be normal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2245 lbsr getbyte Get opcode part of $11xx command
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2246 tfr b,a Put into A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2247 ldb #$11 $11 pre-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2248 lbsr getop Go get proper mnemonic type for $11xxx code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2249 cmpb #$fe Unknown opcode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2250 bne chkreslt No, deal with result
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2251 lda #$11 Make FCB line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2252 tst11.1 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2253 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2254 sta <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2255 ldx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2256 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2257 stx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2258 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2259 puls b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2260 stb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2261 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2262 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2263 ldx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2264 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2265 stx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2266 lbra testop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2267
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2268 * Opcode type branch table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2269 rslttab fdb chk.ff Direct page (1 byte address)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2270 fdb dofcb FCB (Unknown type... should never get here!)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2271 fdb chk.fd Implied (single byte by itself)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2272 fdb chk.fc 2 byte relative (long branches)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2273 fdb chk.fb 1 byte immediate value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2274 fdb chk.fa Dual register spec (EXG/TFR)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2275 fdb chk.f9 1 byte relative (short branches)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2276 fdb chk.f8 Indexed (1 or more post bytes)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2277 fdb chk.f7 Stack (PSH/PUL) register post-byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2278 fdb chk.f6 ???
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2279 fdb chk.f5 SWI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2280 fdb chk.f4 Extended (2 byte address)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2281 fdb chk.f3 2 byte immediate value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2282 fdb chk.f2 4 byte immediate
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2283 fdb chk.f1 in memory (AIM, etc.)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2284 fdb chk.f0 Bit commands (LDBT, etc.)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2285
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2286 onebyte clrb Clear $10/$11/Syscall flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2287 lbsr getop Get type into B/Code in <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2288
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2289 chkreslt cmpb #$f0 Check legal limit of opcode type
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2290 blo dofcb If <$F0, assume FCB
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2291 comb Flip bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2292 lslb 2 bytes per entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2293 leax rslttab,pcr Point to opcode type table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2294 ldd b,x Get offset to proper routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2295 leax pcrzero,pcr Point to start of module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2296 jmp d,x Go process proper type
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2297
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2298 * Illegal opcode-FCB it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2299 dofcb lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2300 lbra readbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2301
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2302 * Direct Page Addr - 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2303 chk.ff leay line080,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2304 tst <u.opt User wants Symbolic labels?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2305 beq ff.010 Yes, do so
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2306 leay line085,pcr No, use <$00xx instead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2307 ff.010 ldb #2 In both cases, 2 chars to merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2308 lbsr mergline Merge onto current output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2309 lbsr getbyte Get direct page address byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2310 clra Make for 4 digit hex number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2311 lbsr merghex2 Merge 4 digit hex result onto output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2312 tst <u.opt Direct page currently @ 0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2313 lbeq indx046 put address in u table & write out line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2314
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2315 * Inherent Addr - 0 bytes (also exit point when line is completed)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2316 chk.fd lbsr writline Flush line out & continue processing
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2317 lbra readbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2318
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2319 * Relative Addr - 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2320 chk.fc lbsr getbyte2 Get 2 byte relative offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2321 lbsr reladr.2 Calculate relative address & append it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2322 bra chk.fd Write out line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2323
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2324 * Immediate Addr - 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2325 chk.fb lbsr mvchr004 Add '#' to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2326 lbsr mvchr005 Add '$' to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2327 lbsr getbyte Get immediate value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2328 lbsr merghex Add hex version to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2329 bra chk.fd Write it out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2330
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2331 * Dual register field
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2332 * (used only for TFR/EXG/TFM & register to register operations)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2333 chk.fa lda <testbyte Get original opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2334 clr <TFMFlag Clear TFM flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2335 cmpa #$38 TFM?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2336 blo normtf No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2337 cmpa #$3b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2338 bhi normtf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2339 inc <TFMFlag Set TFM flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2340 normtf lbsr getbyte Get register field byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2341 pshs b Preserve
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2342 lsrb Move source reg. into proper pos.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2343 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2344 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2345 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2346 bsr fa.020 Add it to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2347 lda <testbyte Get original opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2348 cmpa #$38 Is it a TFM?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2349 blo notTFM Too low
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2350 cmpa #$3B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2351 bhs notTFM Too high (or is r1,r2+ and doesn't need sign)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2352 cmpa #$39 TFM r1-,r2-?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2353 bne Tplus1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2354 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2355 bra notTFM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2356 Tplus1 lbsr mvchr008 Add '+'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2357 notTFM lda #', Add comma to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2358 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2359 puls b Get back field byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2360 andb #$0f Just destination reg.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2361 bsr fa.020 Add it to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2362 lda <testbyte Get original opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2363 cmpa #$38 Is it a TFM?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2364 blo notTFM2 Too low
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2365 cmpa #$3B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2366 bhi notTFM2 Too high
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2367 cmpa #$3A TFM r1+,r2?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2368 beq notTFM2 Yes, don't need to add anything
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2369 cmpa #$39 TFM r1-,r2-?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2370 bne Tplus2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2371 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2372 bra notTFM2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2373 Tplus2 lbsr mvchr008 Add '+'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2374 notTFM2 lbsr writline Write line & leave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2375 lbra readbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2376
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2377 fa.020 lslb 2 bytes/entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2378 leax regtab,pc Point to register field table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2379 ldd b,x Get register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2380 tst <TFMFlag Is this a TFM command?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2381 beq normreg No, allow all register names
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2382 cmpb #$20 2 char. register name?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2383 bne badreg Yes, illegal in TFM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2384 cmpa #'s Lower than S register?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2385 blo badreg
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2386 cmpa #'w W register?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2387 bne normreg No, all others are legal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2388 badreg ldd #'?*256+'? Illegal register, use question marks
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2389 normreg bsr movereg Add to end of line (eating spaces)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2390 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2391
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2392 movereg lbsr movechar Add first char of reg. name to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2393 cmpb #$20 2nd char a space?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2394 beq mvreg010 Yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2395 tfr b,a Move to proper reg.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2396 lbsr movechar And add 2nd char of reg. name to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2397 mvreg010 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2398
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2399 * Relative Addr - 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2400 chk.f9 lbsr getbyte Get relative offset byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2401 lbsr reladr.1 Calculate & add it to line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2402 lbra chk.fd Print line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2403
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2404 indxregs fcb %00000000,'x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2405 fcb %00100000,'y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2406 fcb %01000000,'u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2407 fcb %01100000,'s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2408 * Index table routine list for both normal & indirect modes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2409 indxjmp fcb %10000100 Zero offset ($84)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2410 fdb indx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2411 fcb %10001000 8 bit offset ($88)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2412 fdb indx.3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2413 fcb %10001001 16 bit offset ($89)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2414 fdb indx.4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2415 fcb %10000110 A,R ($86)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2416 fdb indx.5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2417 fcb %10000101 B,R ($85)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2418 fdb indx.6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2419 fcb %10001011 D,R ($8B)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2420 fdb indx.7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2421 fcb %10000111 E,R ($87)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2422 fdb indx.E
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2423 fcb %10001010 F,R ($8a)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2424 fdb indx.F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2425 fcb %10001110 W,R ($8e)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2426 fdb indx.W
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2427 fcb %10000000 ,R+ ($80)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2428 fdb indx.8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2429 fcb %10000001 ,R++ ($81)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2430 fdb indx.9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2431 fcb %10000010 ,-R ($82)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2432 fdb indx.10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2433 fcb %10000011 ,--R ($83)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2434 fdb indx.11
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2435 fcb %10001100 8 bit,PC ($8C)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2436 fdb indx.12
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2437 fcb %10001101 16 bit,PC ($8D)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2438 fdb indx.13
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2439 fcb %10001111 Non-indirect W modes ($8f)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2440 fdb indx.Wm
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2441 fcb 0 table end (any patterns not covered are illegal)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2442
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2443 * indexed addr - 1 or 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2444 chk.f8 clr <indirct Clear indirect flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2445 lbsr getbyte Get byte into B (and duplicate in <byte>)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2446 andb #%10011111 Mask out register bits (mode bits for W)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2447 cmpb #%10001111 W base (non-indirect)?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2448 beq isw Yes, set register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2449 cmpb #%10010000 W base (indirect)?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2450 beq isw Yes, set register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2451 ldb <byte Get original byte back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2452 bra notw Do normal search
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2453 isw ldb #'w W register is base register
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2454 bra streg Store it as base register
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2455 notw andb #%01100000 Register mask
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2456 leax indxregs-2,pc Point to register offsets -2 for loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2457 f8.10 leax 2,x Point to next entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2458 cmpb ,x This the one we want?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2459 bne f8.10 No, keep looking
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2460 ldb 1,x Get base register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2461 streg stb <register Preserve it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2462 ldb <byte Get back original byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2463 andb #%10011111 Mask out the base register bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2464 * Main indexing type check here
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2465 cmpb #%00100000 5 bit offset indexing (special case)?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2466 blo indx.2 Yes, go do
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2467 cmpb #%10010000 Non-indirect?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2468 blo f8.15 Yes, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2469 * Indirect modes start here
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2470 lbsr mvchr001 Add '['
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2471 inc <indirct Set indirect flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2472 cmpb #%10010000 W indirect indexing mode (since it shares pattern)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2473 lbeq indx.Wm Yes, go process
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2474 cmpb #%10010010 Illegal?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2475 lbeq indx.15 Yes, bad mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2476 cmpb #%10011111 Extended indirect?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2477 lbeq indx.14 Yes, go do that
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2478 andb #%10001111 Mask out indirect bit for next routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2479 f8.15 leax indxjmp-3,pc Point to index jump table -3 for loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2480 f8.20 leax 3,x Point to next entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2481 cmpb ,x Bit mask we want?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2482 beq f8.30 Yes, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2483 tst ,x No, is the end of table marker?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2484 lbeq indx.15 Yes, bad mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2485 bra f8.20 Otherwise, keep searching
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2486 f8.30 ldd 1,x Get vector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2487 leax pcrzero,pc Set base address of vector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2488 jmp d,x Go to proper routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2489
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2490 * 5 bit offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2491 indx.2 andb #$1f Mask out upper 3 bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2492 pshs b Preserve it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2493 cmpb #$0f Negative offset?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2494 bls indx2.1 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2495 ldb #$20 Calculate negative offset & preserve
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2496 subb ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2497 stb ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2498 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2499 indx2.1 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2500 puls a Get offset value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2501 bra indx3.1 Add it to the line in hex format
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2502
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2503 * 8 bit offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2504 indx.3 lbsr getbyte Get next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2505 lbsr mvchr006 Add '<'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2506 cmpb #$7f Negative value?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2507 bls indx3.0 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2508 clra Make it a 16 bit number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2509 std <temp Store it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2510 ldd #$0100 Calculate negative offset for 8 bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2511 subd <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2512 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2513 indx3.0 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2514 indx3.1 lbsr merghex Add LSB of D as a 2 digit hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2515 lbra indx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2516
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2517 * 16 bit offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2518 indx.4 lbsr mvchr007 Add '>'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2519 lbsr getbyte2 Get 2 byte offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2520 pshs d Preserve it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2521 cmpd #$7fff Is it negative?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2522 bls indx4.1 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2523 puls d Get back value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2524 std <temp Preserve it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2525 ldd #$ffff Calculate negative offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2526 subd <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2527 addd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2528 pshs d Preserve it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2529 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2530 indx4.1 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2531 puls d Get back offset value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2532 lbsr merghex2 Add 16 bit number in hex format
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2533 bra indx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2534
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2535 indx.5 lda #'a A,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2536 indx5.1 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2537 bra indx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2538
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2539 indx.6 lda #'b B,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2540 bra indx5.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2541
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2542 indx.7 lda #'d D,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2543 bra indx5.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2544
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2545 indx.E lda #'e E,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2546 bra indx5.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2547
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2548 indx.F lda #'f F,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2549 bra indx5.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2550
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2551 indx.W lda #'w W,R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2552 bra indx5.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2553
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2554 * ,R+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2555 indx.8 lbsr isub010 Add ',' & register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2556 indx8.1 lbsr mvchr008 Add '+'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2557 bra indx040 Continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2558
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2559 * ,R++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2560 indx.9 lbsr isub010 Add ',' & register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2561 lbsr mvchr008 Add '+'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2562 bra indx8.1 Add 2nd '+' and continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2563
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2564 * ,-R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2565 indx.10 lbsr mvchr003 Add ','
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2566 indx10.1 lbsr isub020 '-' & register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2567 bra indx040 Continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2568
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2569 * ,--R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2570 indx.11 lbsr mvchr003 Add ','
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2571 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2572 bra indx10.1 Add 2nd '-' & register name & continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2573
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2574 * 8 bit,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2575 indx.12 lbsr mvchr006 Add '<'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2576 lbsr getbyte Get next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2577 lbsr reladr.1 Calculate relative address label
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2578 bra indx030 Add ',pcr'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2579
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2580 * 16 bit,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2581 indx.13 lbsr mvchr007 Add '>'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2582 lbsr getbyte2 Get next 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2583 lbsr reladr.2 Calculate relative address label
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2584 bra indx030 Add ',pcr'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2585
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2586 * Extended indirect
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2587 indx.14 lbsr mvchr007 Add '>'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2588 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2589 lbsr getbyte2 Get next 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2590 lbsr merghex2 Append hex version of 16 bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2591 bra indx040 Continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2592 * W modes (<register=w and <indirct flag is set)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2593 indx.Wm ldb <byte Get original byte again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2594 andb #%01100000 Mask out all but W mode settings
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2595 cmpb #%00000000 Straight register?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2596 beq indx010 Yes, do it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2597 cmpb #%00100000 mmmm,W?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2598 lbeq indx.4 Go do that
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2599 cmpb #%01000000 ,W++?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2600 beq indx.9 Do that
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2601 bra indx.11 Must be ,--W
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2602 * Illegal indexing mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2603 indx.15 leay badindx,pcr Point to '?'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2604 ldb #5 Add 5 of them
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2605 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2606 bra indx040 Continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2607
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2608 indx010 lbsr isub010 Add ',R'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2609 bra indx040 Continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2610
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2611 indx030 leay line220,pc Add ',pcr'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2612 ldb #ln220sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2613 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2614
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2615 indx040 tst <indirct Is it an indirect mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2616 beq indx041 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2617 lbsr mvchr002 Add ']'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2618 indx041 lda <register Get register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2619 cmpa #'u U register offset?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2620 bne indx090 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2621 tst <u.opt User wants uxxxx?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2622 bne indx090 No, skip
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2623 ldd <dsave get the offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2624 cmpd <size is it > total data size ???
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2625 bhi indx090 yes..skip this stuff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2626 leax holdline+15,u start of mnemonic
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2627 * Calculating 'uxxxx' info
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2628 indx042 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2629 cmpa #'u done??
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2630 beq indx090 yes..go send line as is
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2631 cmpa #'$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2632 bne indx042
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2633 lda #'u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2634 sta -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2635 lda 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2636 cmpa #',
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2637 bne indx046
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2638 stx <xsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2639 ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2640 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2641 indx044 lda ,-x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2642 sta 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2643 cmpx <xsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2644 bne indx044
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2645 ldd #$3030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2646 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2647 ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2648 leax 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2649 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2650
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2651 * put the offset in u table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2652 indx046 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2653 bne indx090
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2654 ldd <dsave get the u offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2655 ldx <highadr start of u table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2656 leax -2,x back off for loop increment
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2657 indx050 leax 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2658 cmpd ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2659 beq indx090
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2660 bhi indx050 if >,go loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2661 leax -2,x this is where to insert it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2662 stx <xsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2663 ldx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2664 leax -2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2665 stx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2666 cmpx <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2667 lbls rladr2.3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2668 indx052 ldd 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2669 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2670 leax 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2671 cmpx <xsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2672 bne indx052
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2673 ldd <dsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2674 std ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2675
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2676 indx090 tst <bitcom We a bit operation and need to RTS?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2677 beq notbit No, write line & exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2678 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2679 notbit lbsr writline Send the line out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2680 lbra readbyte and continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2681
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2682 isub010 lbsr mvchr003 Add ','
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2683 bra isub025 skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2684 isub020 lbsr mvchr009 Add '-'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2685 isub025 lda <register Get register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2686 lbsr movechar Add it too
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2687 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2688
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2689 chk.f7 equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2690 * inherent addr - 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2691 * (used for psh and pul only)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2692 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2693 lda #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2694 sta <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2695 lda #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2696 leay stackreg,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2697 f7.010 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2698 ldx ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2699 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2700 andb <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2701 beq f7.020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2702 tfr x,d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2703 lbsr movereg
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2704 lbsr mvchr003
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2705 f7.020 lda <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2706 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2707 sta <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2708 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2709 deca
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2710 bne f7.010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2711 ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2712 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2713 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2714 lbra chk.fd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2715
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2716 chk.f6 lbsr getbyte Get 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2717 clra Make into D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2718 lbsr merghex Add hex value to output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2719 lbra chk.fd continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2720
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2721 chk.f5 lbsr writline Write line out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2722 lbsr getbyte Get byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2723 lbsr fcbline Make fcb line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2724 lbra readbyte continue?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2725
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2726 * extended addr - 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2727 chk.f4 lbsr mvchr007 Add '>'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2728 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2729 f4.010 lbsr getbyte2 Get 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2730 lbsr merghex2 Print 4 digit hex value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2731 lbra chk.fd continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2732
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2733 * immediate addr - 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2734 chk.f3 lbsr mvchr004 Add '#'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2735 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2736 bra f4.010 Add 4 digit hex value & leave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2737
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2738 * immediate mode - 4 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2739 chk.f2 lbsr mvchr004 Add '#'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2740 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2741 lbsr getbyte2 Get 2 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2742 lbsr merghex2 Print 4 hex digits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2743 bra f4.010 Print next 4 digits & continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2744
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2745 * in memory mode (AIM, etc.) (opcode s/b in <testbyte)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2746 chk.f1 lbsr mvchr004 Add '#'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2747 lbsr mvchr005 Add '$'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2748 lbsr getbyte Get the 1 byte immediate value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2749 lbsr merghex Add it to output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2750 lbsr mvchr003 Add ','
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2751 ldb <testbyte Get back original opcode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2752 andb #%11110000 Mask out all but mode nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2753 lbeq chk.ff If Direct page mode, do that
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2754 cmpb #%01100000 Indexed?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2755 lbeq chk.f8 Yes, do it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2756 cmpb #%01110000 Extended?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2757 beq chk.f4 yes, do it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2758 lbsr mvchr010 Unknown, add '?'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2759 lbra chk.fd & exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2760 * Bit commands (LDBT, etc.)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2761 chk.f0 lbsr getbyte Get register/bit flags
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2762 andb #%11000000 Mask out all but register bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2763 beq iscc If CC, do that
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2764 cmpb #%01000000 A?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2765 bne tryb No, try B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2766 ldd #'a*256+32 Add 'a '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2767 bra gotregn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2768 tryb cmpb #%10000000 B?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2769 bne illeg No, illegal register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2770 ldd #'b*256+32 Add 'b '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2771 bra gotregn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2772 illeg ldd #'?*256+'? Add '??'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2773 bra gotregn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2774 iscc ldd #'c*256+'c cc register
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2775 gotregn lbsr movereg Add register name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2776 lbsr mvchr011 Add '.'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2777 ldb <byte Get original byte again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2778 andb #%00000111 Mask out all but register bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2779 bsr getbit Get Bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2780 lbsr movechar Add it to output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2781 lbsr mvchr003 Add ',
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2782 ldb <byte Get original byte again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2783 andb #%00111000 Mask out all but memory bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2784 lsrb Shift for subroutine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2785 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2786 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2787 bsr getbit Get ASCII value for memory bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2788 pshs a Preserve until DP part is done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2789 inc <bitcom Set bit command flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2790 * Dupe of direct page stuff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2791 leay line080,pc Point to '<u'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2792 tst <u.opt User wants Symbolic labels?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2793 beq f0.010 Yes, do so
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2794 leay line085,pcr No, use <$00xx instead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2795 f0.010 ldb #2 In both cases, 2 chars to merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2796 lbsr mergline Merge onto current output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2797 lbsr getbyte Get direct page address byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2798 clra Make for 4 digit hex number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2799 lbsr merghex2 Merge 4 digit hex result onto output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2800 tst <u.opt Direct page currently @ 0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2801 bne nou No, skip u stuff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2802 lbsr indx046 put address in u table & write out line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2803 nou lbsr mvchr011 Add '.'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2804 puls a Get back memory bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2805 lbsr movechar Add it to output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2806 lbra chk.fd Write it out & continue
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2807
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2808 * Create ASCII of bit #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2809 getbit lda #'0 Bit # to 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2810 pshs b Put bit # onto stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2811 adda ,s+ Add to ASCII base
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2812 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2813
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2814 * 8 bit relative offset (bra)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2815 reladr.1 lda #'L Add 'L'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2816 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2817 clra D=8 bit relative address offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2818 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2819 addd <address Add to current address pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2820 addd #1 Adjust for current instruction
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2821 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2822 lda <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2823 cmpa #$7f Negative offset?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2824 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2825 bls rladr2.1 No, skip ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2826 subd #$0100 Calculate negative offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2827 bra rladr2.1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2828 * 16 bit relative offset (bra)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2829 reladr.2 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2830 lda #'L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2831 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2832 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2833 addd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2834 addd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2835 rladr2.1 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2836 bne rladr2.4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2837 leay labeltab,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2838 rladr2.2 cmpd ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2839 beq rladr2.4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2840 leay 2,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2841 cmpy <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2842 blo rladr2.2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2843 ldx <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2844 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2845 stx <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2846 leax 2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2847 cmpx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2848 blo rladr2.4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2849 rladr2.3 leax line240,pcr Error:symbol table full
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2850 ldy #ln240sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2851 lda #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2852 os9 i$writln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2853 lbra unlink
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2854 rladr2.4 lbsr merghex2 Add 4 hex digits & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2855 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2856
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2857 endit lds <stackhld restore stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2858 endit010 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2859 bne endit020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2860 * ldx <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2861 * ldd <utabend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2862 * subd <highadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2863 * tfr d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2864 * lda #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2865 * os9 i$write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2866 * lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2867 * lbra clrexit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2868 endit015 inc <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2869 lbsr close
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2870 lbra restart
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2871 endit020 ldb <readcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2872 beq endit024
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2873 inc <readclr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2874 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2875 std <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2876 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2877 subd <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2878 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2879 leax readbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2880 endit022 ldb ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2881 stx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2882 stb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2883 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2884 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2885 addd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2886 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2887 ldx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2888 dec <readcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2889 bne endit022
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2890 endit024 tst <z.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2891 lbne clrexit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2892 clr <readclr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2893 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2894 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2895 ldx #$ffff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2896 stx <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2897 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2898 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2899 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2900 leay line170,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2901 ldb #ln170sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2902 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2903 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2904 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2905 leay line180,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2906 ldb #ln180sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2907 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2908 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2909 lbsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2910 leax holdline,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2911 lda ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2912 cmpa #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2913 beq endit030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2914 leay line190,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2915 ldb #ln190sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2916 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2917 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2918 endit030 bsr close
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2919
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2920 ifeq testing-1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2921 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2922 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2923 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2924 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2925 leay labeltab,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2926 endit040 ldd ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2927 pshs y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2928 lda #'*
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2929 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2930 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2931 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2932 lbsr merghex2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2933 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2934 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2935 cmpy <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2936 bls endit040
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2937 leay line230,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2938 ldb #ln230sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2939 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2940 ldd <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2941 leax labeltab,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2942 stx <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2943 subd <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2944 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2945 rorb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2946 lbsr merghex2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2947 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2948 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2949
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2950 tst <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2951 lbne clrexit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2952 lda #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2953 sta <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2954
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2955 unlink ldu <modadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2956 os9 f$unlink
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2957 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2958 dec <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2959 bne unlink
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2960 lbra clrexit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2961
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2962 close tst <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2963 beq close010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2964 lda <path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2965 os9 i$close
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2966 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2967 close010 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2968
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2969
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2970 pag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2971 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2972 ******************** descriptor processing ***************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2973 descrhdr lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2974 std <mgradr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2975 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2976 std <drvadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2977 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2978 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2979 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2980 leay line340,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2981 ldb #ln340sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2982 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2983 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2984 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2985 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2986 leay line350,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2987 ldb #ln350sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2988 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2989 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2990 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2991 lbsr fdbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2992 leay line360,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2993 ldb #ln360sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2994 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2995 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2996 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2997 lbsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2998 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2999 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3000 addd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3001 addd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3002 std <initsize
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3003 leay line380,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3004 ldb #ln380sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3005 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3006 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3007 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3008 stb <desctype
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3009 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3010 leay line390,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3011 ldb #ln390sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3012 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3013 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3014 leax scfprint,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3015 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3016 lda <desctype
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3017 cmpa #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3018 bne getdescr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3019 leax rbfprint,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3020 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3021 getdescr ldx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3022 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3023 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3024 cmpa #'2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3025 lbeq descr2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3026 cmpa #'3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3027 lbeq descr3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3028 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3029 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3030 cmpd <initsize
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3031 bne desc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3032 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3033 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3034 leay line400,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3035 ldb #ln400sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3036 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3037 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3038 desc010 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3039 cmpd <nameadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3040 bne desc015
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3041 leay line100,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3042 ldb #ln100sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3043 leax holdname,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3044 bra desc030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3045 desc015 cmpd <mgradr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3046 bne desc020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3047 leay line410,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3048 ldb #ln410sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3049 leax namehold,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3050 bra desc030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3051 desc020 cmpd <drvadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3052 bne desc040
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3053 leay line420,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3054 ldb #ln420sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3055 leax namehold,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3056 desc030 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3057 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3058 leax holdobj,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3059 ldd #$2020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3060 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3061 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3062 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3063 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3064 puls b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3065 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3066 lbsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3067 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3068 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3069 lbsr movename
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3070 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3071 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3072 leax scfpend,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3073 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3074 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3075 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3076 bra desc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3077 desc040 lbsr fcbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3078 bra mergdesc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3079 descr2 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3080 lbsr fdbline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3081 bra mergdesc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3082 * descriptor name copy
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3083 descr3 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3084 lbsr getbyte2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3085 lbsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3086 leay line430,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3087 ldb #ln430sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3088 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3089 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3090 lbra getdescr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3091
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3092 mergdesc clrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3093 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3094 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3095 desc050 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3096 cmpa #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3097 beq desc060
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3098 incb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3099 bra desc050
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3100 desc060 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3101 leax -2,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3102 lda ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3103 cmpa #'?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3104 bne desc070
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3105 leax -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3106 stx <printadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3107 desc070 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3108 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3109 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3110 lbra getdescr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3111
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3112 **********************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3113 *######################################################################
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3114 * subroutines
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3115 *######################################################################
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3116
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3117
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3118 ***********************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3119 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3120 * U$hexin - converts hex characters to binary digits *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3121 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3122 * Entry: x=start address of digits to convert *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3123 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3124 * Exit: x=same as entry *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3125 * y=# of converted bytes *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3126 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3127 ***********************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3128
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3129 u$hexin pshs a,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3130 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3131 leay ,x move start addr for scan
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3132 hexin010 bsr hexin030 convert bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3133 bcs hexin020 exit if done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3134 stb ,x+ move the converted byte in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3135 bra hexin010 go back & get more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3136 hexin020 tfr x,d get current byte position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3137 subd ,s subtract start position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3138 tfr d,y move the length of the string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3139 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3140 puls a,b,pc done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3141
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3142 hexin030 ldb ,y+ get char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3143 cmpb #', was it a comma??
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3144 bne hexin050 no..don't skip it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3145 hexin040 ldb ,y+ get next char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3146 hexin050 cmpb #$20 was it a space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3147 beq hexin040 yes...skip it & get next char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3148 leay -$01,y else back up to point to the char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3149 bsr hexin080 convert it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3150 bcs hexin070 done....exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3151 pshs b save the byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3152 bsr hexin080 convert next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3153 bcs hexin060 exit if done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3154 asl ,s shift saved char to put in high 4 bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3155 asl ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3156 asl ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3157 asl ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3158 addb ,s and move in low 4 bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3159 stb ,s save the byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3160 hexin060 clrb clear the carry flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3161 puls b restore the saved flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3162 hexin070 rts return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3163
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3164 hexin080 ldb ,y get the char in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3165 subb #$30 subtract bias for numbers
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3166 cmpb #$09 was it > 9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3167 bls hexin100 no...its good
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3168 cmpb #$31 was it 'a'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3169 blo hexin090 if less than that..skip next
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3170 subb #$20 else make it upper case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3171 hexin090 subb #$07 back off so 'A' = $0a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3172 cmpb #$0F check if it was a 'F'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3173 bhi hexin110 if >...error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3174 cmpb #$0A was it a 'A'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3175 bcs hexin110 if <...error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3176 hexin100 andcc #$FE clear carry bit of cc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3177 leay $01,y bump up pointer for next char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3178 rts return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3179 hexin110 comb set carry flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3180 rts return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3181
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3182
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3183 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3184 * convert bytes in d to hex, output to hexstrng
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3185 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3186 gethex std <dsave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3187 pshs y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3188 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3189 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3190 bsr gethx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3191 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3192 bsr gethx010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3193 puls y,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3194 gethx010 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3195 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3196 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3197 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3198 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3199 bsr gethx020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3200 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3201 anda #$0f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3202 bsr gethx020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3203 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3204 gethx020 adda #$30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3205 cmpa #$3a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3206 blt gethx030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3207 adda #$07
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3208 gethx030 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3209 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3210
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3211 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3212 * get decimal value of bytes id d ,output in string pointed at by 'y'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3213 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3214 getdec pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3215 ldx #10000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3216 bsr getdc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3217 ldx #01000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3218 bsr getdc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3219 ldx #00100
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3220 bsr getdc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3221 ldx #00010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3222 bsr getdc010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3223 stb <counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3224 bsr getdc030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3225 puls x,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3226 getdc010 stx <countdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3227 clr <counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3228 getdc020 cmpd <countdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3229 blo getdc030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3230 subd <countdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3231 inc <counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3232 bra getdc020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3233 getdc030 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3234 ldb <counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3235 addb #$30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3236 stb ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3237 puls b,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3238
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3239 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3240 * read next 2 bytes into 'd'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3241 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3242 getbyte2 bsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3243 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3244 bsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3245 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3246
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3247 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3248 * merge last 2 bytes of hexstrng with output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3249 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3250 merghex equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3251 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3252 bsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3253 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3254 leay 2,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3255 ldb #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3256 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3257 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3258
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3259 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3260 * merge all 4 hex chars to output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3261 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3262 merghex2 bsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3263 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3264 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3265 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3266 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3267
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3268
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3269 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3270 * merge significant decimal characters
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3271 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3272 mergdec pshs a,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3273 leay decstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3274 lda #$30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3275 sta ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3276 puls a,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3277 cmpd #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3278 bne mergd010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3279 ldb #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3280 lbra mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3281 mergd010 bsr getdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3282 leay decstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3283 ldb #6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3284 chkdecln decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3285 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3286 cmpa #$30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3287 beq chkdecln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3288 leay -1,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3289 lbra mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3290
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3291 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3292 * read 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3293 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3294 getbyte pshs x,y,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3295 ldx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3296 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3297 stx <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3298 leax 3,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3299 cmpx <modend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3300 lbhs endit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3301 tst <diskio
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3302 bne getdisk
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3303 ldx <crntadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3304 leax 1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3305 stx <crntadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3306 ldb ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3307 stb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3308 bra gotbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3309 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3310 * read byte from disk
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3311 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3312 getdisk leax byte,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3313 ldy #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3314 lda <path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3315 os9 i$read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3316 lbcs endit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3317 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3318 gotbyte lda <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3319 bsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3320 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3321 ldx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3322 stb ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3323 stx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3324 inc <readcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3325 puls x,y,a,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3326
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3327 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3328 * convert 'a' to hex,merge with object code listing
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3329 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3330 moveobj pshs x,y,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3331 ldb <objcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3332 cmpb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3333 bhs moverts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3334 inc <objcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3335 lbsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3336 ldx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3337 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3338 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3339 lbsr getupc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3340 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3341 lda ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3342 lbsr getupc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3343 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3344 stx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3345 moverts puls x,y,b,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3346
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3347 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3348 * clear one of the hold strings pointed to by 'y'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3349 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3350 clrhld sty <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3351 pshs x,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3352 tfr y,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3353 leay line040,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3354 ldb #40
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3355 bsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3356 ldy <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3357 puls x,b,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3358
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3359 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3360 * clear all parts of the output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3361 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3362 clrline pshs x,y,a,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3363 leax holdline,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3364 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3365 leax holdobj,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3366 stx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3367 leax linenum,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3368 clr <objcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3369 leay line040,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3370 ldb #80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3371 bsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3372 puls x,y,a,b,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3373
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3374 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3375 * merge the string pointed to by 'y' with the current line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3376 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3377 mergline ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3378 bsr merge
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3379 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3380 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3381
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3382 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3383 * merge the sring pointed to by 'y' with the string pointed to by 'x'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3384 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3385 merge pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3386 merge010 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3387 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3388 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3389 bne merge010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3390 puls a,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3391
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3392 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3393 * write the output line to standard output path,then clear line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3394 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3395 writline pshs x,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3396 tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3397 beq wrtln010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3398 ldd <numline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3399 addd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3400 std <numline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3401 leay linenum,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3402 lbsr getdec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3403 ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3404 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3405 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3406 tfr x,d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3407 leax linenum,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3408 tst <o.opt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3409 bne wrtln005
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3410 leax holdline,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3411 wrtln005 stx <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3412 subd <temp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3413 tfr d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3414 lbsr send
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3415 wrtln010 bsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3416 tst <readclr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3417 bne wrtln020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3418 leax readbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3419 stx <readpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3420 clr <readcnt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3421 wrtln020 puls x,y,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3422 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3423 * move the current address to holdadr of output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3424 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3425 adrmove pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3426 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3427 lbsr gethex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3428 leax hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3429 leay holdadr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3430 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3431 adrmv010 lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3432 lbsr getupc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3433 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3434 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3435 bne adrmv010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3436 puls x,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3437
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3438 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3439 * move the current address if its second pass and its a referenced address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3440 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3441 moveadr tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3442 beq mvadr020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3443 bsr adrmove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3444 leay labeltab,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3445 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3446 mvadr010 cmpy <labladr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3447 beq mvadr020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3448 cmpd ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3449 beq mvadr030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3450 leay 2,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3451 bra mvadr010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3452 mvadr020 leay line040,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3453 ldb #9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3454 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3455 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3456 mvadr030 lda #'L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3457 bsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3458 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3459 lbsr merghex2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3460 leay line040,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3461 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3462 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3463 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3464
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3465 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3466 * merge the char in 'a' with the output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3467 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3468 movechar ldx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3469 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3470 stx <lineadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3471 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3472
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3473 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3474 * merge predefined characters with the output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3475 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3476 mvchr001 lda #'[
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3477 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3478 mvchr002 lda #']
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3479 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3480 mvchr003 lda #',
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3481 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3482 mvchr004 lda #'#
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3483 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3484 mvchr005 lda #'$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3485 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3486 mvchr006 lda #'<
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3487 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3488 mvchr007 lda #'>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3489 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3490 mvchr008 lda #'+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3491 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3492 mvchr009 lda #'-
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3493 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3494 mvchr010 lda #'?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3495 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3496 mvchr011 lda #'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3497 bra mvchr999
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3498
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3499 mvchr999 bsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3500 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3501
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3502 movename pshs y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3503 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3504 bsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3505 leay line060,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3506 ldb #ln060sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3507 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3508 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3509 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3510 lbsr moveobj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3511 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3512 getnm010 cmpb #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3513 bhs getnm020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3514 stb ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3515 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3516 bsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3517 lbsr getbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3518 bra getnm010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3519 getnm020 subb #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3520 stb ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3521 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3522 bsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3523 ldb #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3524 stb ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3525 lda #'/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3526 bsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3527 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3528 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3529 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3530 * line type is fcb ...create all parts of fcb line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3531 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3532 fcbline lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3533 lbsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3534 leay line090,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3535 ldb #ln090sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3536 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3537 ldb <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3538 lbsr merghex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3539 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3540 leay 2,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3541 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3542
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3543 ldx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3544 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3545 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3546 lda ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3547 sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3548 stx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3549 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3550 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3551 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3552 tst <descript
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3553 bne fcbl030
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3554 lda <byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3555 cmpa #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3556 bls fcbl020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3557 cmpa #'z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3558 bls fcbl010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3559 suba #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3560 cmpa #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3561 bls fcbl020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3562 cmpa #'z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3563 bgt fcbl020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3564 fcbl010 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3565 fcbl020 lbsr writline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3566 fcbl030 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3567 fdbline pshs d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3568 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3569 ldd <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3570 pshs d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3571 subd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3572 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3573 lbsr moveadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3574 puls d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3575 std <address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3576 leay line370,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3577 ldb #ln370sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3578 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3579 puls d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3580 lbsr merghex2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3581 leay hexstrng,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3582 ldb #4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3583 pshs x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3584 ldx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3585 ldd ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3586 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3587 ldd ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3588 std ,x++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3589 stx <objadr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3590 puls x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3591 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3592 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3593 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3594
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3595
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3596 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3597 * convert 'a' to uppper case if its a letter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3598 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3599 getupc cmpa #'z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3600 bls getup010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3601 anda #$df
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3602 getup010 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3603
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3604
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3605 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3606 * if its 2nd pass,write the line to standard output path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3607 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3608 send tst <pass
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3609 beq send010
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3610 lda #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3611 os9 i$writln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3612 lbcs exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3613 send010 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3614 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3615 ********* get op ******************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3616 * entry: opcode in a / a&b for 2 ops
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3617 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3618
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3619 getop sta <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3620 tstb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3621 bne chkos9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3622 ldb #6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3623 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3624 leay optable,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3625 leay d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3626 getrest leay 1,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3627 lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3628 tfr a,b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3629 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3630 ldb #5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3631 moveop lda ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3632 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3633 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3634 bne moveop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3635 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3636 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3637 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3638 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3639 puls b,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3640
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3641 chkos9 cmpb #$3f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3642 bne chk10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3643 leay line150,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3644 ldb #ln150sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3645 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3646 cmpa #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3647 bhs i$os9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3648 cmpa #$54
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3649 bhs bados9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3650 leay os9f$tab,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3651 bra getos9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3652
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3653 i$os9 cmpa #$91
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3654 bhs bados9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3655 leay os9i$tab,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3656 suba #$80
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3657 bra getos9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3658 bados9 leay bados9op,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3659 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3660 getos9 ldb #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3661 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3662 leay d,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3663 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3664 ldb #8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3665 bra moveop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3666
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3667 chk10 sta <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3668 cmpb #$10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3669 beq load10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3670 cmpb #$11
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3671 beq load11
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3672 clr <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3673 load11 leay get11tab,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3674 bra loop10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3675 load10 leay get10tab,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3676 loop10 lda ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3677 tsta
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3678 beq getrest
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3679 cmpa <testbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3680 beq getrest
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3681 leay 7,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3682 bra loop10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3683
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3684 nolink lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3685 leay line200,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3686 ldb #ln200sz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3687 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3688 ldy <xreghold
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3689 ldb #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3690 lbsr mergline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3691 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3692 lbsr movechar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3693 leax holdline,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3694 ldy #$50
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3695
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3696 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3697 * error encountered - print error to standard error path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3698 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3699 prterror lda #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3700 os9 i$writln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3701 clrexit clrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3702 exit os9 f$exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3703
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3704 emod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3705 eom equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3706 end
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3707