home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2226 < prev    next >
Encoding:
Internet Message Format  |  1990-12-28  |  44.1 KB

  1. From: markz@ssc.UUCP (Mark Zenier)
  2. Newsgroups: alt.sources
  3. Subject: Frankenstein Cross Assemblers, Zilog Z80, Part 1 of 2
  4. Message-ID: <618@ssc.UUCP>
  5. Date: 6 Dec 90 07:31:15 GMT
  6.  
  7. ---- Cut Here and feed the following to sh ----
  8. #!/bin/sh
  9. # This is Frankasm/Asz80, a shell archive (shar 3.43)
  10. # made 12/04/1990 08:46 UTC by markz@ssc.uucp
  11. # Source directory /usr/mark/frank.shar
  12. #
  13. # existing files will NOT be overwritten unless -c is specified
  14. # This format requires very little intelligence at unshar time.
  15. # "if test", "echo", "true", and "sed" may be needed.
  16. #
  17. # This shar contains:
  18. # length  mode       name
  19. # ------ ---------- ------------------------------------------
  20. #   1731 -r--r----- asz80.1
  21. #  12989 -r--r----- asz80.doc
  22. #   8176 -r--r----- asz80.tst
  23. #  18049 -r--r--r-- asz80.tut
  24. #  54934 -r--r--r-- asz80.y
  25. #
  26. # ============= asz80.1 ==============
  27. if test -f 'asz80.1' -a X"$1" != X"-c"; then
  28.     echo 'x - skipping asz80.1 (File already exists)'
  29. else
  30. echo 'x - extracting asz80.1 (Text)'
  31. sed 's/^X//' << 'SHAR_EOF' > 'asz80.1' &&
  32. X.TH Z80ASM 1L
  33. X.SH NAME
  34. Xas64180, asz80, as8085, as8080 \- cross assemblers for microcomputers
  35. X.SH SYNOPSIS
  36. X.nf
  37. Xas64180 [-p cpu] [-l listfile] [-o hexfile] [-d] [-s symbolfile] input
  38. Xasz80 [-p cpu] [-l listfile] [-o hexfile] [-d] [-s symbolfile] input
  39. Xas8085 [-p cpu] [-l listfile] [-o hexfile] [-d] [-s symbolfile] input
  40. Xas8080 [-p cpu] [-l listfile] [-o hexfile] [-d] [-s symbolfile] input
  41. X.fi
  42. X.SH DESCRIPTION
  43. XThe as64180, asz80, as8085, as8080 command(s) assembles the input file into a
  44. Xtext output file representing the program memory for a microcomputer.
  45. X
  46. XOptions
  47. X.IP "-p cpu"
  48. XOverride the instruction set selection.
  49. X.RS 10
  50. XValid Values for Cpu
  51. X.RS 5
  52. X64180, z80, Z80, 8085, 8085
  53. X.RE
  54. X.RE
  55. X.IP "-l listfile"
  56. XOutput a file formated with the memory address, data, and source input lines.
  57. X.IP "-o hexfile"
  58. XOutput the memory data image in a form accepted by most prom programmers.
  59. X.IP "-h hexfile"
  60. XSame as \-o.
  61. X.IP \-d
  62. XSave the intermediate data file (see FILE) and abort the execution at the
  63. Xend of processing.
  64. X.IP "-s symbolfile"
  65. XPrint the symbol table values and names, one per line in the specified file.
  66. X.SH FILES
  67. X/usr/tmp/frtXXXXXX
  68. X.SH SEE ALSO
  69. XFrankenstein Cross Assemblers Users Manual (file base.doc)
  70. XAppendix for asz80 Frankenstein Assembler (file asz80.doc)
  71. X.SH NOTES
  72. XThere is only one input file.
  73. X
  74. XThe program can select which subset of instructions is accepted.
  75. XThe program first uses the name with which it is invoked.
  76. XThis is scanned for a substring which indicates which set to use.
  77. XThe -p options overrides this selction by performing the same substring
  78. Xsearch.
  79. XFinally the input file can select which subset to use with the CPU statement.
  80. X
  81. XThere should only be one executable file with all of its names linked to it.
  82. SHAR_EOF
  83. true || echo 'restore of asz80.1 failed'
  84. fi
  85. # ============= asz80.doc ==============
  86. if test -f 'asz80.doc' -a X"$1" != X"-c"; then
  87.     echo 'x - skipping asz80.doc (File already exists)'
  88. else
  89. echo 'x - extracting asz80.doc (Text)'
  90. sed 's/^X//' << 'SHAR_EOF' > 'asz80.doc' &&
  91. X.HM A 1 1 1 1 1 1
  92. X.H 1 "Appendix for asz80 Frankenstein Assembler"
  93. X.H 2 "Pseudo Operations"
  94. X.H 3 "Standard Pseudo Operation Mnemonics"
  95. X.VL 40 5 1
  96. X.LI "End"
  97. XEND
  98. X.LI "File Inclusion"
  99. XINCL
  100. XINCLUDE
  101. X.LI "If"
  102. XIF
  103. X.LI "Else"
  104. XELSE
  105. X.LI "End If"
  106. XENDI
  107. X.LI "Equate"
  108. XEQU
  109. X.LI "Set"
  110. XSETEQU
  111. X.LI "Org"
  112. XORG
  113. X.LI "Reserve Memory"
  114. XRESERVE
  115. XRMB
  116. X.LI "Define Byte Data"
  117. XBYTE
  118. XDB
  119. XFCB
  120. X.LI "Define Word Data"
  121. XDW
  122. XFDB
  123. XWORD
  124. X.LI "Define String Data"
  125. XFCC
  126. XSTRING
  127. X.LI "Define Character Set Translation"
  128. XCHARSET
  129. X.LI "Define Character Value"
  130. XCHARDEF
  131. XCHD
  132. X.LI "Use Character Translation"
  133. XCHARUSE
  134. X.LE
  135. X.H 3 "Machine Dependent Pseudo Operations"
  136. X.H 4 "Instruction Set Selection"
  137. X.DS I N
  138. XCPU string
  139. X.DE
  140. XThe instruction set can be specified in the source file with the CPU 
  141. Xpseudooperation.
  142. XThe string, delimited by quotes or apostrophes, is scanned for a
  143. Xsubstring which selects which instruction set is used.
  144. XWhen the program is invoked, this operation is performed on the name of
  145. Xthe program, then the -p optional arguement, if any, and then any CPU
  146. Xstatements.
  147. XThe last one selects the which subset of the instructions the assembler will
  148. Xaccept.
  149. XThe instruction set can be changed at any place in the source file. 
  150. X.VL 30 5 1
  151. X.LI "Instruction Set"
  152. XSubstrings
  153. X.LI 64180
  154. X180
  155. X.LI z80
  156. Xz80
  157. XZ80
  158. X.LI 8085
  159. X85
  160. X.LI 8080
  161. X80
  162. X.LE
  163. X.H 2 "Instructions"
  164. X.H 3 "Instruction List"
  165. X.TS H
  166. X;
  167. Xl l l.
  168. XOpcode    Syntax    Selection Criteria
  169. X.sp
  170. X.TH
  171. X.sp
  172. XADC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRBC
  173. XADC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRDE
  174. XADC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRHL
  175. XADC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRSP
  176. XADC     reg8 ',' '(' DREGHL ')'     REGISA
  177. XADC     reg8 ',' index     TSZ80PLUS|DRIX|REGISA
  178. XADC     reg8 ',' index     TSZ80PLUS|DRIY|REGISA
  179. XADC     reg8 ',' reg8     0|REGISA
  180. XADC     reg8 ',' topexpr     REGISA
  181. X.sp
  182. XADD     dreg ',' dreg     DRDESTHL|DRBC
  183. XADD     dreg ',' dreg     DRDESTHL|DRDE
  184. XADD     dreg ',' dreg     DRDESTHL|DRHL
  185. XADD     dreg ',' dreg     DRDESTHL|DRSP
  186. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIX|DRBC
  187. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIX|DRDE
  188. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIX|DRIX
  189. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIX|DRSP
  190. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIY|DRBC
  191. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIY|DRDE
  192. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIY|DRIY
  193. XADD     dreg ',' dreg     TSZ80PLUS|DRDESTIY|DRSP
  194. XADD     reg8 ',' '(' DREGHL ')'     REGISA
  195. XADD     reg8 ',' index     TSZ80PLUS|DRIX|REGISA
  196. XADD     reg8 ',' index     TSZ80PLUS|DRIY|REGISA
  197. XADD     reg8 ',' reg8     0|REGISA
  198. XADD     reg8 ',' topexpr     REGISA
  199. X.sp
  200. XAND     '(' DREGHL ')' 
  201. XAND     index     TSZ80PLUS|DRIX
  202. XAND     index     TSZ80PLUS|DRIY
  203. XAND     reg8 
  204. XAND     topexpr 
  205. X.sp
  206. XBIT     expr ',' '(' DREGHL ')'     TSZ80PLUS
  207. XBIT     expr ',' index     TSZ80PLUS|DRIX
  208. XBIT     expr ',' index     TSZ80PLUS|DRIY
  209. XBIT     expr ',' reg8     TSZ80PLUS
  210. X.sp
  211. XCALL     condition ',' expr     CCSELC
  212. XCALL     condition ',' expr     CCSELM
  213. XCALL     condition ',' expr     CCSELNC
  214. XCALL     condition ',' expr     CCSELNZ
  215. XCALL     condition ',' expr     CCSELP
  216. XCALL     condition ',' expr     CCSELPE
  217. XCALL     condition ',' expr     CCSELPO
  218. XCALL     condition ',' expr     CCSELZ
  219. XCALL     expr 
  220. X.sp
  221. XCCF    
  222. X.sp
  223. XCP     '(' DREGHL ')' 
  224. XCP     index     TSZ80PLUS|DRIX
  225. XCP     index     TSZ80PLUS|DRIY
  226. XCP     reg8 
  227. XCP     topexpr 
  228. X.sp
  229. XCPD        TSZ80PLUS
  230. X.sp
  231. XCPDR        TSZ80PLUS
  232. X.sp
  233. XCPI        TSZ80PLUS
  234. X.sp
  235. XCPIR        TSZ80PLUS
  236. X.sp
  237. XCPL    
  238. X.sp
  239. XDAA    
  240. X.sp
  241. XDEC     '(' DREGHL ')' 
  242. XDEC     dreg     DRBC
  243. XDEC     dreg     DRDE
  244. XDEC     dreg     DRHL
  245. XDEC     dreg     DRSP
  246. XDEC     dreg     TSZ80PLUS|DRIX
  247. XDEC     dreg     TSZ80PLUS|DRIY
  248. XDEC     index     TSZ80PLUS|DRIX
  249. XDEC     index     TSZ80PLUS|DRIY
  250. XDEC     reg8 
  251. X.sp
  252. XDI    
  253. X.sp
  254. XDJNZ     topexpr 
  255. X.sp
  256. XEI    
  257. X.sp
  258. XEX     '(' DREGSP ')' ',' dreg     DRHL
  259. XEX     '(' DREGSP ')' ',' dreg     TSZ80PLUS|DRIX
  260. XEX     '(' DREGSP ')' ',' dreg     TSZ80PLUS|DRIY
  261. XEX     dreg ',' dreg     EX1DE|EX2HL
  262. XEX     dreg ',' dreg     TSZ80PLUS|EX1AF|EX2AF
  263. X.sp
  264. XEXX        TSZ80PLUS
  265. X.sp
  266. XHALT    
  267. X.sp
  268. XIM     expr     TSZ80PLUS|INTSETMODE0
  269. XIM     expr     TSZ80PLUS|INTSETMODE1
  270. XIM     expr     TSZ80PLUS|INTSETMODE2
  271. X.sp
  272. XIN0     reg8 ',' '(' topexpr ')'     TS64180
  273. X.sp
  274. XIN     reg8 ',' '(' REGC ')'     TSZ80PLUS
  275. XIN     reg8 ',' '(' topexpr ')'     REGISA
  276. X.sp
  277. XINC     '(' DREGHL ')' 
  278. XINC     dreg     DRBC
  279. XINC     dreg     DRDE
  280. XINC     dreg     DRHL
  281. XINC     dreg     DRSP
  282. XINC     dreg     TSZ80PLUS|DRIX
  283. XINC     dreg     TSZ80PLUS|DRIY
  284. XINC     index     TSZ80PLUS|DRIX
  285. XINC     index     TSZ80PLUS|DRIY
  286. XINC     reg8 
  287. X.sp
  288. XIND        TSZ80PLUS
  289. X.sp
  290. XINDR        TSZ80PLUS
  291. X.sp
  292. XINI        TSZ80PLUS
  293. X.sp
  294. XINIR        TSZ80PLUS
  295. X.sp
  296. XJP     '(' dreg ')'     DRHL
  297. XJP     '(' dreg ')'     TSZ80PLUS|DRIX
  298. XJP     '(' dreg ')'     TSZ80PLUS|DRIY
  299. XJP     condition ',' expr     CCSELC
  300. XJP     condition ',' expr     CCSELM
  301. XJP     condition ',' expr     CCSELNC
  302. XJP     condition ',' expr     CCSELNZ
  303. XJP     condition ',' expr     CCSELP
  304. XJP     condition ',' expr     CCSELPE
  305. XJP     condition ',' expr     CCSELPO
  306. XJP     condition ',' expr     CCSELZ
  307. XJP     expr 
  308. X.sp
  309. XJR     condition ',' expr     CCSELC|TSZ80PLUS
  310. XJR     condition ',' expr     CCSELNC|TSZ80PLUS
  311. XJR     condition ',' expr     CCSELNZ|TSZ80PLUS
  312. XJR     condition ',' expr     CCSELZ|TSZ80PLUS
  313. XJR     expr     TSZ80PLUS
  314. X.sp
  315. XLD     '(' dreg ')' ',' reg8     DRBC|REGISA
  316. XLD     '(' dreg ')' ',' reg8     DRDE|REGISA
  317. XLD     '(' dreg ')' ',' reg8     DRHL
  318. XLD     '(' dreg ')' ',' topexpr     DRHL
  319. XLD     '(' topexpr ')' ',' REGA 
  320. XLD     '(' topexpr ')' ',' dreg     DRHL
  321. XLD     '(' topexpr ')' ',' dreg     TSZ80PLUS|DRBC
  322. XLD     '(' topexpr ')' ',' dreg     TSZ80PLUS|DRDE
  323. XLD     '(' topexpr ')' ',' dreg     TSZ80PLUS|DRIX
  324. XLD     '(' topexpr ')' ',' dreg     TSZ80PLUS|DRIY
  325. XLD     '(' topexpr ')' ',' dreg     TSZ80PLUS|DRSP
  326. XLD     dreg ',' '(' topexpr ')'     DRHL
  327. XLD     dreg ',' '(' topexpr ')'     TSZ80PLUS|DRBC
  328. XLD     dreg ',' '(' topexpr ')'     TSZ80PLUS|DRDE
  329. XLD     dreg ',' '(' topexpr ')'     TSZ80PLUS|DRIX
  330. XLD     dreg ',' '(' topexpr ')'     TSZ80PLUS|DRIY
  331. XLD     dreg ',' '(' topexpr ')'     TSZ80PLUS|DRSP
  332. XLD     dreg ',' dreg     TSZ80PLUS|DRHL|DRDESTSP
  333. XLD     dreg ',' dreg     TSZ80PLUS|DRIX|DRDESTSP
  334. XLD     dreg ',' dreg     TSZ80PLUS|DRIY|DRDESTSP
  335. XLD     dreg ',' topexpr     DRBC
  336. XLD     dreg ',' topexpr     DRDE
  337. XLD     dreg ',' topexpr     DRHL
  338. XLD     dreg ',' topexpr     DRSP
  339. XLD     dreg ',' topexpr     TSZ80PLUS|DRIX
  340. XLD     dreg ',' topexpr     TSZ80PLUS|DRIY
  341. XLD     index ',' expr     TSZ80PLUS|DRIX
  342. XLD     index ',' expr     TSZ80PLUS|DRIY
  343. XLD     index ',' reg8     TSZ80PLUS|DRIX
  344. XLD     index ',' reg8     TSZ80PLUS|DRIY
  345. XLD     reg8 ',' '(' dreg ')'     DRBC|REGISA
  346. XLD     reg8 ',' '(' dreg ')'     DRDE|REGISA
  347. XLD     reg8 ',' '(' dreg ')'     DRHL
  348. XLD     reg8 ',' '(' topexpr ')'     REGISA
  349. XLD     reg8 ',' index     TSZ80PLUS|DRIX
  350. XLD     reg8 ',' index     TSZ80PLUS|DRIY
  351. XLD     reg8 ',' reg8 
  352. XLD     reg8 ',' specialr     TSZ80PLUS|SPECIALIR|REGISA
  353. XLD     reg8 ',' specialr     TSZ80PLUS|SPECIALRR|REGISA
  354. XLD     reg8 ',' topexpr 
  355. XLD     specialr ',' REGA     TSZ80PLUS|SPECIALIR
  356. XLD     specialr ',' REGA     TSZ80PLUS|SPECIALRR
  357. X.sp
  358. XLDD        TSZ80PLUS
  359. X.sp
  360. XLDDR        TSZ80PLUS
  361. X.sp
  362. XLDI        TSZ80PLUS
  363. X.sp
  364. XLDIR        TSZ80PLUS
  365. X.sp
  366. XMULT     dreg     TS64180|DRBC
  367. XMULT     dreg     TS64180|DRDE
  368. XMULT     dreg     TS64180|DRHL
  369. XMULT     dreg     TS64180|DRSP
  370. X.sp
  371. XNEG        TSZ80PLUS
  372. X.sp
  373. XNOP    
  374. X.sp
  375. XOR     '(' DREGHL ')' 
  376. XOR     index     TSZ80PLUS|DRIX
  377. XOR     index     TSZ80PLUS|DRIY
  378. XOR     reg8 
  379. XOR     topexpr 
  380. X.sp
  381. XOTDM        TS64180
  382. X.sp
  383. XOTDMR        TS64180
  384. X.sp
  385. XOTDR        TSZ80PLUS
  386. X.sp
  387. XOTIM        TS64180
  388. X.sp
  389. XOTIMR        TS64180
  390. X.sp
  391. XOTIR        TSZ80PLUS
  392. X.sp
  393. XOUT0     '(' topexpr ')' ',' reg8     TS64180
  394. X.sp
  395. XOUT     '(' REGC ')' ',' reg8     TSZ80PLUS
  396. XOUT     '(' topexpr ')' ',' reg8     REGISA
  397. X.sp
  398. XOUTD        TSZ80PLUS
  399. X.sp
  400. XOUTI        TSZ80PLUS
  401. X.sp
  402. XPOP     dreg     DRAF
  403. XPOP     dreg     DRBC
  404. XPOP     dreg     DRDE
  405. XPOP     dreg     DRHL
  406. XPOP     dreg     TSZ80PLUS|DRIX
  407. XPOP     dreg     TSZ80PLUS|DRIY
  408. X.sp
  409. XPUSH     dreg     DRAF
  410. XPUSH     dreg     DRBC
  411. XPUSH     dreg     DRDE
  412. XPUSH     dreg     DRHL
  413. XPUSH     dreg     TSZ80PLUS|DRIX
  414. XPUSH     dreg     TSZ80PLUS|DRIY
  415. X.sp
  416. XRES     expr ',' '(' DREGHL ')'     TSZ80PLUS
  417. XRES     expr ',' index     TSZ80PLUS|DRIX
  418. XRES     expr ',' index     TSZ80PLUS|DRIY
  419. XRES     expr ',' reg8     TSZ80PLUS
  420. X.sp
  421. XRET     
  422. XRET     condition      CCSELC
  423. XRET     condition      CCSELM
  424. XRET     condition      CCSELNC
  425. XRET     condition      CCSELNZ
  426. XRET     condition      CCSELP
  427. XRET     condition      CCSELPE
  428. XRET     condition      CCSELPO
  429. XRET     condition      CCSELZ
  430. X.sp
  431. XRETI        TSZ80PLUS
  432. X.sp
  433. XRETN        TSZ80PLUS
  434. X.sp
  435. XRIM        CPU8085
  436. X.sp
  437. XRL     '(' DREGHL ')'     TSZ80PLUS
  438. XRL     index     TSZ80PLUS|DRIX
  439. XRL     index     TSZ80PLUS|DRIY
  440. XRL     reg8     TSZ80PLUS
  441. X.sp
  442. XRLA    
  443. X.sp
  444. XRLC     '(' DREGHL ')'     TSZ80PLUS
  445. XRLC     index     TSZ80PLUS|DRIX
  446. XRLC     index     TSZ80PLUS|DRIY
  447. XRLC     reg8     TSZ80PLUS
  448. X.sp
  449. XRLCA    
  450. X.sp
  451. XRLD        TSZ80PLUS
  452. X.sp
  453. XRR     '(' DREGHL ')'     TSZ80PLUS
  454. XRR     index     TSZ80PLUS|DRIX
  455. XRR     index     TSZ80PLUS|DRIY
  456. XRR     reg8     TSZ80PLUS
  457. X.sp
  458. XRRA    
  459. X.sp
  460. XRRC     '(' DREGHL ')'     TSZ80PLUS
  461. XRRC     index     TSZ80PLUS|DRIX
  462. XRRC     index     TSZ80PLUS|DRIY
  463. XRRC     reg8     TSZ80PLUS
  464. X.sp
  465. XRRCA    
  466. X.sp
  467. XRRD        TSZ80PLUS
  468. X.sp
  469. XRST     expr 
  470. X.sp
  471. XSBC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRBC
  472. XSBC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRDE
  473. XSBC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRHL
  474. XSBC     dreg ',' dreg     TSZ80PLUS|DRDESTHL|DRSP
  475. XSBC     reg8 ',' '(' DREGHL ')'     REGISA
  476. XSBC     reg8 ',' index     TSZ80PLUS|DRIX|REGISA
  477. XSBC     reg8 ',' index     TSZ80PLUS|DRIY|REGISA
  478. XSBC     reg8 ',' reg8     0|REGISA
  479. XSBC     reg8 ',' topexpr     REGISA
  480. X.sp
  481. XSCF    
  482. X.sp
  483. XSET     expr ',' '(' DREGHL ')'     TSZ80PLUS
  484. XSET     expr ',' index     TSZ80PLUS|DRIX
  485. XSET     expr ',' index     TSZ80PLUS|DRIY
  486. XSET     expr ',' reg8     TSZ80PLUS
  487. X.sp
  488. XSIM        CPU8085
  489. X.sp
  490. XSLA     '(' DREGHL ')'     TSZ80PLUS
  491. XSLA     index     TSZ80PLUS|DRIX
  492. XSLA     index     TSZ80PLUS|DRIY
  493. XSLA     reg8     TSZ80PLUS
  494. X.sp
  495. XSLP        TS64180
  496. X.sp
  497. XSRA     '(' DREGHL ')'     TSZ80PLUS
  498. XSRA     index     TSZ80PLUS|DRIX
  499. XSRA     index     TSZ80PLUS|DRIY
  500. XSRA     reg8     TSZ80PLUS
  501. X.sp
  502. XSRL     '(' DREGHL ')'     TSZ80PLUS
  503. XSRL     index     TSZ80PLUS|DRIX
  504. XSRL     index     TSZ80PLUS|DRIY
  505. XSRL     reg8     TSZ80PLUS
  506. X.sp
  507. XSUB     '(' DREGHL ')' 
  508. XSUB     index     TSZ80PLUS|DRIX
  509. XSUB     index     TSZ80PLUS|DRIY
  510. XSUB     reg8 
  511. XSUB     topexpr 
  512. X.sp
  513. XTST     '(' DREGHL ')'     TS64180
  514. XTST     reg8     TS64180
  515. XTST     topexpr     TS64180
  516. X.sp
  517. XTSTIO     topexpr     TS64180
  518. X.sp
  519. XXOR     '(' DREGHL ')' 
  520. XXOR     index     TSZ80PLUS|DRIX
  521. XXOR     index     TSZ80PLUS|DRIY
  522. XXOR     reg8 
  523. XXOR     topexpr 
  524. X.TE
  525. X.H 3 "Selection Criteria Keywords"
  526. X.VL 25 5 
  527. X.LI CPU8085
  528. XInstruction is only implemented for the 8085.
  529. X.LI TSZ80PLUS
  530. XInstruction is implemented in the z80 and 64180 instruction sets.
  531. X.LI TS64180
  532. XInstruction is only implemented in the 64180
  533. X.LI DRIX
  534. XInstruction refers to the IX index register
  535. X.LI DRIY
  536. XInstruction refers to the IY index register
  537. X.LI DRSP
  538. XInstruction refers to the Stack Pointer
  539. X.LI DRHL
  540. XInstruction refers to the HL register
  541. X.LI DRDE
  542. XInstruction refers to the DE register
  543. X.LI DRBC
  544. XInstruction refers to the BC register
  545. X.LI DRAF
  546. XInstruction refers to the AF concatenated register
  547. X.LI DRDESTSP
  548. XInstruction which refers to two double register operands, uses the Stack
  549. XPointer as the destination.
  550. X.LI DRDESTHL
  551. XInstruction which refers to two double register operands, uses the HL double
  552. Xregister as the destination.
  553. X.LI DRDESTIX
  554. XInstruction which refers to two double register operands, uses the IX index 
  555. Xregister as the destination.
  556. X.LI DRDESTIY
  557. XInstruction which refers to two double register operands, uses the IY index
  558. Xregister as the destination.
  559. X.LI REGISA
  560. XInstruction is restricted to using the A register for an 8 bit register 
  561. Xoperand.
  562. X.LI CCSELNZ
  563. XInstruction uses NonZero condition.
  564. X.LI CCSELZ
  565. XInstruction uses Zero condition.
  566. X.LI CCSELNC
  567. XInstruction uses No Carry condition.
  568. X.LI CCSELC
  569. XInstruction uses Carry condition.
  570. X.LI CCSELPO
  571. XInstruction uses Parity Odd condition.
  572. X.LI CCSELPE
  573. XInstruction uses Parity Even condition.
  574. X.LI CCSELP
  575. XInstruction uses Plus condition.
  576. X.LI CCSELM
  577. XInstruction uses Minus condition.
  578. X.LI EX1AF
  579. XFirst operand of an Ex instruction is the AF register.
  580. X.LI EX1DE
  581. XFirst operand of an Ex instruction is the DE register.
  582. X.LI EX2AF
  583. XSecond operand of an Ex instruction is the AF register.
  584. X.LI EX2HL
  585. XSecond operand of an Ex instruction is the HL register.
  586. X.LI SPECIALIR
  587. XInstruction uses the I special register.
  588. X.LI SPECIALRR
  589. XInstruction uses the R special register.
  590. X.LE
  591. X.H 3 "Apostrophes"
  592. XThe apostrophes in the syntax field are a notation used for the
  593. Xparser generator and are not put in the assembler source statement.
  594. X.H 2 "Notes"
  595. X.H 3 "Conditions"
  596. XConditions are represented by the reserved symbols z, nz, nc, pe, po, p, m, 
  597. Xand c, and their uppercase versions.
  598. X.H 3 "Indexed Addressing"
  599. XIndex addressing uses the format "( index register + expression )" where
  600. Xindex register is IX or IY.
  601. X.H 3 "Top Expressions"
  602. XThe syntax of some of the instructions combined with the standard expression
  603. Xsyntax resulted in confusion whether an operand was an expression surrounded 
  604. Xby parenthesis, or a memory reference.  
  605. XTo get around this, the expressions in these ambiguous cases were restricted
  606. Xto those forms of expression that don't have surrounding parenthesis at the 
  607. Xtop level.
  608. XSubexpressions may be parenthesized, but only if an operator seperates or
  609. Xprecedes the subexpression.
  610. X.DS I N
  611. XExample
  612. X.SP
  613. Xld a, (47h)    ; load from memory address 0x47
  614. Xld a, +(47h)    ; load immediate value 0x47
  615. Xld a, ((47h))    ; error
  616. X.DE
  617. X.H 3 "dreg, reg8, specialr"
  618. XDouble registers (dreg) are the set of symbols af, bc, de, hl, ix, iy, and sp
  619. Xand their uppercase versions.
  620. X.P
  621. XEight bit registers (reg8) are the set of symbols a, b, c, d, e, h, l, and 
  622. Xtheir uppercase versions.
  623. X.P
  624. XSpecial registers are i, r, I, R.
  625. X.H 3 "Bit Numbers"
  626. XThe bit number expression in the BIT, RES, and SET operations has
  627. Xto have value defined when the instruction is read in the first pass.
  628. XThe value must be between 0 and 7.
  629. X.H 3 "Reserved Symbols"
  630. X.H 4 "Machine Dependent Reserved Symbols"
  631. XA
  632. XAF
  633. XB
  634. XBC
  635. XC
  636. XD
  637. XDE
  638. XE
  639. XH
  640. XHL
  641. XI
  642. XIX
  643. XIY
  644. XL
  645. XM
  646. XNC
  647. XNZ
  648. XP
  649. XPE
  650. XPO
  651. XR
  652. XSP
  653. XZ
  654. Xa
  655. Xaf
  656. Xb
  657. Xbc
  658. Xc
  659. Xd
  660. Xde
  661. Xe
  662. Xh
  663. Xhl
  664. Xi
  665. Xix
  666. Xiy
  667. Xl
  668. Xm
  669. Xnc
  670. Xnz
  671. Xp
  672. Xpe
  673. Xpo
  674. Xr
  675. Xsp
  676. Xz
  677. X.H 4 "Standard Reserved Symbols"
  678. XAND
  679. XDEFINED
  680. XEQ
  681. XGE
  682. XGT
  683. XHIGH
  684. XLE
  685. XLOW
  686. XLT
  687. XMOD
  688. XNE
  689. XNOT
  690. XOR
  691. XSHL
  692. XSHR
  693. XXOR
  694. Xand
  695. Xdefined
  696. Xeq
  697. Xge
  698. Xgt
  699. Xhigh
  700. Xle
  701. Xlow
  702. Xlt
  703. Xmod
  704. Xne
  705. Xnot
  706. Xor
  707. Xshl
  708. Xshr
  709. Xxor
  710. X.TC 1 1 7
  711. SHAR_EOF
  712. true || echo 'restore of asz80.doc failed'
  713. fi
  714. # ============= asz80.tst ==============
  715. if test -f 'asz80.tst' -a X"$1" != X"-c"; then
  716.     echo 'x - skipping asz80.tst (File already exists)'
  717. else
  718. echo 'x - extracting asz80.tst (Text)'
  719. sed 's/^X//' << 'SHAR_EOF' > 'asz80.tst' &&
  720. X    cpu "64180"
  721. Xdisp    equ 43
  722. Ximmed    equ 77
  723. Ximmed16 equ 987
  724. X    adc a, (hl)
  725. X    adc a, (ix+disp)
  726. X    adc a, (iy+disp)
  727. X    adc a, a
  728. X    adc a, b
  729. X    adc a, c
  730. X    adc a, d
  731. X    adc a, e
  732. X    adc a, h
  733. X    adc a, immed
  734. X    adc a, l
  735. X    adc hl, bc
  736. X    adc hl, de
  737. X    adc hl, hl
  738. X    adc hl, sp
  739. X    add a, (hl)
  740. X    add a, (ix+disp)
  741. X    add a, (iy+disp)
  742. X    add a, a
  743. X    add a, b
  744. X    add a, c
  745. X    add a, d
  746. X    add a, e
  747. X    add a, h
  748. X    add a, immed
  749. X    add a, l
  750. X    add hl, bc
  751. X    add hl, de
  752. X    add hl, hl
  753. X    add hl, sp
  754. X    add ix, bc
  755. X    add ix, de
  756. X    add ix, ix
  757. X    add ix, sp
  758. X    add iy, bc
  759. X    add iy, de
  760. X    add iy, iy
  761. X    add iy, sp
  762. X    and (hl)
  763. X    and (ix+disp)
  764. X    and (iy+disp)
  765. X    and a
  766. X    and b
  767. X    and c
  768. X    and d
  769. X    and e
  770. X    and h
  771. X    and immed
  772. X    and l
  773. X    bit 0, (hl)
  774. X    bit 0, (ix+disp)
  775. X    bit 0, (iy+disp)
  776. X    bit 0, a
  777. X    bit 0, b
  778. X    bit 0, c
  779. X    bit 0, d
  780. X    bit 0, e
  781. X    bit 0, h
  782. X    bit 0, l
  783. X    bit 1, (hl)
  784. X    bit 1, (ix+disp)
  785. X    bit 1, (iy+disp)
  786. X    bit 1, a
  787. X    bit 1, b
  788. X    bit 1, c
  789. X    bit 1, d
  790. X    bit 1, e
  791. X    bit 1, h
  792. X    bit 1, l
  793. X    bit 2, (hl)
  794. X    bit 2, (ix+disp)
  795. X    bit 2, (iy+disp)
  796. X    bit 2, a
  797. X    bit 2, b
  798. X    bit 2, c
  799. X    bit 2, d
  800. X    bit 2, e
  801. X    bit 2, h
  802. X    bit 2, l
  803. X    bit 3, (hl)
  804. X    bit 3, (ix+disp)
  805. X    bit 3, (iy+disp)
  806. X    bit 3, a
  807. X    bit 3, b
  808. X    bit 3, c
  809. X    bit 3, d
  810. X    bit 3, e
  811. X    bit 3, h
  812. X    bit 3, l
  813. X    bit 4, (hl)
  814. X    bit 4, (ix+disp)
  815. X    bit 4, (iy+disp)
  816. X    bit 4, a
  817. X    bit 4, b
  818. X    bit 4, c
  819. X    bit 4, d
  820. X    bit 4, e
  821. X    bit 4, h
  822. X    bit 4, l
  823. X    bit 5, (hl)
  824. X    bit 5, (ix+disp)
  825. X    bit 5, (iy+disp)
  826. X    bit 5, a
  827. X    bit 5, b
  828. X    bit 5, c
  829. X    bit 5, d
  830. X    bit 5, e
  831. X    bit 5, h
  832. X    bit 5, l
  833. X    bit 6, (hl)
  834. X    bit 6, (ix+disp)
  835. X    bit 6, (iy+disp)
  836. X    bit 6, a
  837. X    bit 6, b
  838. X    bit 6, c
  839. X    bit 6, d
  840. X    bit 6, e
  841. X    bit 6, h
  842. X    bit 6, l
  843. X    bit 7, (hl)
  844. X    bit 7, (ix+disp)
  845. X    bit 7, (iy+disp)
  846. X    bit 7, a
  847. X    bit 7, b
  848. X    bit 7, c
  849. X    bit 7, d
  850. X    bit 7, e
  851. X    bit 7, h
  852. X    bit 7, l
  853. X    call addr
  854. X    call c, addr
  855. X    call m, addr
  856. X    call nc, addr
  857. Xaddr     call nz, addr
  858. X    call p, addr
  859. X    call pe, addr
  860. X    call po, addr
  861. X    call z, addr
  862. X    ccf
  863. X    cp (hl)
  864. X    cp (ix+disp)
  865. X    cp (iy+disp)
  866. X    cp a
  867. X    cp b
  868. X    cp c
  869. X    cp d
  870. X    cp e
  871. X    cp h
  872. X    cp immed
  873. X    cp l
  874. X    cpd
  875. X    cpdr
  876. X    cpi
  877. X    cpir
  878. X    cpl
  879. X    daa
  880. X    dec (hl)
  881. X    dec (ix+disp)
  882. X    dec (iy+disp)
  883. X    dec a
  884. X    dec b
  885. X    dec bc
  886. X    dec c
  887. X    dec d
  888. X    dec de
  889. X    dec e
  890. X    dec h
  891. X    dec hl
  892. X    dec ix
  893. Xaddrd     dec iy
  894. X    dec l
  895. X    dec sp
  896. X    di
  897. X    djnz addrd
  898. X    ei
  899. X    ex ( sp ) , hl
  900. X    ex ( sp ) , ix
  901. X    ex ( sp ) , iy
  902. X    ex af, af
  903. X    ex de, hl
  904. X    exx
  905. X    halt
  906. X    im 0
  907. X    im 1
  908. X    im 2
  909. X    in a, ( c )
  910. X    in a, ( immed )
  911. X    in b, ( c )
  912. X    in c, ( c )
  913. X    in d, ( c )
  914. X    in e, ( c )
  915. X    in h, ( c )
  916. X    in l, ( c )
  917. X    in0 a, ( immed )
  918. X    in0 b, ( immed )
  919. X    in0 c, ( immed )
  920. X    in0 d, ( immed )
  921. X    in0 e, ( immed )
  922. X    in0 h, ( immed )
  923. X    in0 l, ( immed )
  924. X    inc (hl)
  925. X    inc (ix+disp)
  926. X    inc (iy+disp)
  927. X    inc a
  928. X    inc b
  929. X    inc bc
  930. X    inc c
  931. X    inc d
  932. X    inc de
  933. X    inc e
  934. X    inc h
  935. X    inc hl
  936. X    inc ix
  937. X    inc iy
  938. X    inc l
  939. X    inc sp
  940. X    ind
  941. X    indr
  942. X    ini
  943. X    inir
  944. X    jp ( hl )
  945. X    jp ( ix )
  946. X    jp ( iy )
  947. X    jp addrj
  948. X    jp c, addrj
  949. X    jp m, addrj
  950. X    jp nc, addrj
  951. X    jp nz, addrj
  952. X    jp p, addrj
  953. Xaddrj     jp pe, addrj
  954. X    jp po, addrj
  955. X    jp z, addrj
  956. X    jr addrj
  957. X    jr c, addrj
  958. X    jr nc, addrj
  959. X    jr nz, addrj
  960. X    jr z, addrj
  961. X    ld ( addr ) , a
  962. X    ld ( addr ) , bc
  963. X    ld ( addr ) , de
  964. X    ld ( addr ) , hl
  965. X    ld ( addr ) , hl
  966. X    ld ( addr ) , ix
  967. X    ld ( addr ) , iy
  968. X    ld ( addr ) , sp
  969. X    ld ( bc ) , a
  970. X    ld ( de ) , a
  971. X    ld (hl), a
  972. X    ld (hl), b
  973. X    ld (hl), c
  974. X    ld (hl), d
  975. X    ld (hl), e
  976. X    ld (hl), h
  977. X    ld (hl), immed
  978. X    ld (hl), l
  979. X    ld (ix+disp), a
  980. X    ld (ix+disp), b
  981. X    ld (ix+disp), c
  982. X    ld (ix+disp), d
  983. X    ld (ix+disp), e
  984. X    ld (ix+disp), h
  985. X    ld (ix+disp), immed
  986. X    ld (ix+disp), l
  987. X    ld (iy+disp), a
  988. X    ld (iy+disp), b
  989. X    ld (iy+disp), c
  990. X    ld (iy+disp), d
  991. X    ld (iy+disp), e
  992. X    ld (iy+disp), h
  993. X    ld (iy+disp), immed
  994. X    ld (iy+disp), l
  995. X    ld a, ( addr )
  996. X    ld a, ( bc )
  997. X    ld a, ( de )
  998. X    ld a, (hl)
  999. X    ld a, (ix+disp)
  1000. X    ld a, (iy+disp)
  1001. X    ld a, a
  1002. X    ld a, b
  1003. X    ld a, c
  1004. X    ld a, d
  1005. X    ld a, e
  1006. X    ld a, h
  1007. X    ld a, i
  1008. X    ld a, immed
  1009. X    ld a, l
  1010. X    ld a, r
  1011. X    ld b, (hl)
  1012. X    ld b, (ix+disp)
  1013. X    ld b, (iy+disp)
  1014. X    ld b, a
  1015. X    ld b, b
  1016. X    ld b, c
  1017. X    ld b, d
  1018. X    ld b, e
  1019. X    ld b, h
  1020. X    ld b, immed
  1021. X    ld b, l
  1022. X    ld bc, ( addr )
  1023. X    ld bc, immed16
  1024. X    ld c, (hl)
  1025. X    ld c, (ix+disp)
  1026. X    ld c, (iy+disp)
  1027. X    ld c, a
  1028. X    ld c, b
  1029. X    ld c, c
  1030. X    ld c, d
  1031. X    ld c, e
  1032. X    ld c, h
  1033. X    ld c, immed
  1034. X    ld c, l
  1035. X    ld d, (hl)
  1036. X    ld d, (ix+disp)
  1037. X    ld d, (iy+disp)
  1038. X    ld d, a
  1039. X    ld d, b
  1040. X    ld d, c
  1041. X    ld d, d
  1042. X    ld d, e
  1043. X    ld d, h
  1044. X    ld d, immed
  1045. X    ld d, l
  1046. X    ld de, ( addr )
  1047. X    ld de, immed16
  1048. X    ld e, (hl)
  1049. X    ld e, (ix+disp)
  1050. X    ld e, (iy+disp)
  1051. X    ld e, a
  1052. X    ld e, b
  1053. X    ld e, c
  1054. X    ld e, d
  1055. X    ld e, e
  1056. X    ld e, h
  1057. X    ld e, immed
  1058. X    ld e, l
  1059. X    ld h, (hl)
  1060. X    ld h, (ix+disp)
  1061. X    ld h, (iy+disp)
  1062. X    ld h, a
  1063. X    ld h, b
  1064. X    ld h, c
  1065. X    ld h, d
  1066. X    ld h, e
  1067. X    ld h, h
  1068. X    ld h, immed
  1069. X    ld h, l
  1070. X    ld hl, ( addr )
  1071. X    ld hl, ( addr )
  1072. X    ld hl, immed16
  1073. X    ld hl, immed16
  1074. X    ld i, a
  1075. X    ld ix, ( addr )
  1076. X    ld ix, immed16
  1077. X    ld iy, ( addr )
  1078. X    ld iy, immed16
  1079. X    ld l, (hl)
  1080. X    ld l, (ix+disp)
  1081. X    ld l, (iy+disp)
  1082. X    ld l, a
  1083. X    ld l, b
  1084. X    ld l, c
  1085. X    ld l, d
  1086. X    ld l, e
  1087. X    ld l, h
  1088. X    ld l, immed
  1089. X    ld l, l
  1090. X    ld r, a
  1091. X    ld sp, ( addr )
  1092. X    ld sp, hl
  1093. X    ld sp, immed16
  1094. X    ld sp, ix
  1095. X    ld sp, iy
  1096. X    ldd
  1097. X    lddr
  1098. X    ldi
  1099. X    ldir
  1100. X    mult bc
  1101. X    mult de
  1102. X    mult hl
  1103. X    mult sp
  1104. X    neg
  1105. X    nop
  1106. X    or (hl)
  1107. X    or (ix+disp)
  1108. X    or (iy+disp)
  1109. X    or a
  1110. X    or b
  1111. X    or c
  1112. X    or d
  1113. X    or e
  1114. X    or h
  1115. X    or immed
  1116. X    or l
  1117. X    otdm
  1118. X    otdmr
  1119. X    otdr
  1120. X    otim
  1121. X    otimr
  1122. X    otir
  1123. X    out ( c ) , a
  1124. X    out ( c ) , b
  1125. X    out ( c ) , c
  1126. X    out ( c ) , d
  1127. X    out ( c ) , e
  1128. X    out ( c ) , h
  1129. X    out ( c ) , l
  1130. X    out ( immed ) , a
  1131. X    out0 ( immed ) , a
  1132. X    out0 ( immed ) , b
  1133. X    out0 ( immed ) , c
  1134. X    out0 ( immed ) , d
  1135. X    out0 ( immed ) , e
  1136. X    out0 ( immed ) , h
  1137. X    out0 ( immed ) , l
  1138. X    outd
  1139. X    outi
  1140. X    pop af
  1141. X    pop bc
  1142. X    pop de
  1143. X    pop hl
  1144. X    pop ix
  1145. X    pop iy
  1146. X    push af
  1147. X    push bc
  1148. X    push de
  1149. X    push hl
  1150. X    push ix
  1151. X    push iy
  1152. X    res 0, (hl)
  1153. X    res 0, (ix+disp)
  1154. X    res 0, (iy+disp)
  1155. X    res 0, a
  1156. X    res 0, b
  1157. X    res 0, c
  1158. X    res 0, d
  1159. X    res 0, e
  1160. X    res 0, h
  1161. X    res 0, l
  1162. X    res 1, (hl)
  1163. X    res 1, (ix+disp)
  1164. X    res 1, (iy+disp)
  1165. X    res 1, a
  1166. X    res 1, b
  1167. X    res 1, c
  1168. X    res 1, d
  1169. X    res 1, e
  1170. X    res 1, h
  1171. X    res 1, l
  1172. X    res 2, (hl)
  1173. X    res 2, (ix+disp)
  1174. X    res 2, (iy+disp)
  1175. X    res 2, a
  1176. X    res 2, b
  1177. X    res 2, c
  1178. X    res 2, d
  1179. X    res 2, e
  1180. X    res 2, h
  1181. X    res 2, l
  1182. X    res 3, (hl)
  1183. X    res 3, (ix+disp)
  1184. X    res 3, (iy+disp)
  1185. X    res 3, a
  1186. X    res 3, b
  1187. X    res 3, c
  1188. X    res 3, d
  1189. X    res 3, e
  1190. X    res 3, h
  1191. X    res 3, l
  1192. X    res 4, (hl)
  1193. X    res 4, (ix+disp)
  1194. X    res 4, (iy+disp)
  1195. X    res 4, a
  1196. X    res 4, b
  1197. X    res 4, c
  1198. X    res 4, d
  1199. X    res 4, e
  1200. X    res 4, h
  1201. X    res 4, l
  1202. X    res 5, (hl)
  1203. X    res 5, (ix+disp)
  1204. X    res 5, (iy+disp)
  1205. X    res 5, a
  1206. X    res 5, b
  1207. X    res 5, c
  1208. X    res 5, d
  1209. X    res 5, e
  1210. X    res 5, h
  1211. X    res 5, l
  1212. X    res 6, (hl)
  1213. X    res 6, (ix+disp)
  1214. X    res 6, (iy+disp)
  1215. X    res 6, a
  1216. X    res 6, b
  1217. X    res 6, c
  1218. X    res 6, d
  1219. X    res 6, e
  1220. X    res 6, h
  1221. X    res 6, l
  1222. X    res 7, (hl)
  1223. X    res 7, (ix+disp)
  1224. X    res 7, (iy+disp)
  1225. X    res 7, a
  1226. X    res 7, b
  1227. X    res 7, c
  1228. X    res 7, d
  1229. X    res 7, e
  1230. X    res 7, h
  1231. X    res 7, l
  1232. X    ret
  1233. X    ret c
  1234. X    ret m
  1235. X    ret nc
  1236. X    ret nz
  1237. X    ret p
  1238. X    ret pe
  1239. X    ret po
  1240. X    ret z
  1241. X    reti
  1242. X    retn
  1243. X    rl (hl)
  1244. X    rl (ix+disp)
  1245. X    rl (iy+disp)
  1246. X    rl a
  1247. X    rl b
  1248. X    rl c
  1249. X    rl d
  1250. X    rl e
  1251. X    rl h
  1252. X    rl l
  1253. X    rla
  1254. X    rlc (hl)
  1255. X    rlc (ix+disp)
  1256. X    rlc (iy+disp)
  1257. X    rlc a
  1258. X    rlc b
  1259. X    rlc c
  1260. X    rlc d
  1261. X    rlc e
  1262. X    rlc h
  1263. X    rlc l
  1264. X    rlca
  1265. X    rld
  1266. X    rr (hl)
  1267. X    rr (ix+disp)
  1268. X    rr (iy+disp)
  1269. X    rr a
  1270. X    rr b
  1271. X    rr c
  1272. X    rr d
  1273. X    rr e
  1274. X    rr h
  1275. X    rr l
  1276. X    rra
  1277. X    rrc (hl)
  1278. X    rrc (ix+disp)
  1279. X    rrc (iy+disp)
  1280. X    rrc a
  1281. X    rrc b
  1282. X    rrc c
  1283. X    rrc d
  1284. X    rrc e
  1285. X    rrc h
  1286. X    rrc l
  1287. X    rrca
  1288. X    rrd
  1289. X    rst 0
  1290. X    rst 16
  1291. X    rst 24
  1292. X    rst 32
  1293. X    rst 40
  1294. X    rst 48
  1295. X    rst 56
  1296. X    rst 8
  1297. X    sbc a, (hl)
  1298. X    sbc a, (ix+disp)
  1299. X    sbc a, (iy+disp)
  1300. X    sbc a, a
  1301. X    sbc a, b
  1302. X    sbc a, c
  1303. X    sbc a, d
  1304. X    sbc a, e
  1305. X    sbc a, h
  1306. X    sbc a, immed
  1307. X    sbc a, l
  1308. X    sbc hl, bc
  1309. X    sbc hl, de
  1310. X    sbc hl, hl
  1311. X    sbc hl, sp
  1312. X    scf
  1313. X    set 0, (hl)
  1314. X    set 0, (ix+disp)
  1315. X    set 0, (iy+disp)
  1316. X    set 0, a
  1317. X    set 0, b
  1318. X    set 0, c
  1319. X    set 0, d
  1320. X    set 0, e
  1321. X    set 0, h
  1322. X    set 0, l
  1323. X    set 1, (hl)
  1324. X    set 1, (ix+disp)
  1325. X    set 1, (iy+disp)
  1326. X    set 1, a
  1327. X    set 1, b
  1328. X    set 1, c
  1329. X    set 1, d
  1330. X    set 1, e
  1331. X    set 1, h
  1332. X    set 1, l
  1333. X    set 2, (hl)
  1334. X    set 2, (ix+disp)
  1335. X    set 2, (iy+disp)
  1336. X    set 2, a
  1337. X    set 2, b
  1338. X    set 2, c
  1339. X    set 2, d
  1340. X    set 2, e
  1341. X    set 2, h
  1342. X    set 2, l
  1343. X    set 3, (hl)
  1344. X    set 3, (ix+disp)
  1345. X    set 3, (iy+disp)
  1346. X    set 3, a
  1347. X    set 3, b
  1348. X    set 3, c
  1349. X    set 3, d
  1350. X    set 3, e
  1351. X    set 3, h
  1352. X    set 3, l
  1353. X    set 4, (hl)
  1354. X    set 4, (ix+disp)
  1355. X    set 4, (iy+disp)
  1356. X    set 4, a
  1357. X    set 4, b
  1358. X    set 4, c
  1359. X    set 4, d
  1360. X    set 4, e
  1361. X    set 4, h
  1362. X    set 4, l
  1363. X    set 5, (hl)
  1364. X    set 5, (ix+disp)
  1365. X    set 5, (iy+disp)
  1366. X    set 5, a
  1367. X    set 5, b
  1368. X    set 5, c
  1369. X    set 5, d
  1370. X    set 5, e
  1371. X    set 5, h
  1372. X    set 5, l
  1373. X    set 6, (hl)
  1374. X    set 6, (ix+disp)
  1375. X    set 6, (iy+disp)
  1376. X    set 6, a
  1377. X    set 6, b
  1378. X    set 6, c
  1379. X    set 6, d
  1380. X    set 6, e
  1381. X    set 6, h
  1382. X    set 6, l
  1383. X    set 7, (hl)
  1384. X    set 7, (ix+disp)
  1385. X    set 7, (iy+disp)
  1386. X    set 7, a
  1387. X    set 7, b
  1388. X    set 7, c
  1389. X    set 7, d
  1390. X    set 7, e
  1391. X    set 7, h
  1392. X    set 7, l
  1393. X    sla (hl)
  1394. X    sla (ix+disp)
  1395. X    sla (iy+disp)
  1396. X    sla a
  1397. X    sla b
  1398. X    sla c
  1399. X    sla d
  1400. X    sla e
  1401. X    sla h
  1402. X    sla l
  1403. X    slp
  1404. X    sra (hl)
  1405. X    sra (ix+disp)
  1406. X    sra (iy+disp)
  1407. X    sra a
  1408. X    sra b
  1409. X    sra c
  1410. X    sra d
  1411. X    sra e
  1412. X    sra h
  1413. X    sra l
  1414. X    srl (hl)
  1415. X    srl (ix+disp)
  1416. X    srl (iy+disp)
  1417. X    srl a
  1418. X    srl b
  1419. X    srl c
  1420. X    srl d
  1421. X    srl e
  1422. X    srl h
  1423. X    srl l
  1424. X    sub (hl)
  1425. X    sub (ix+disp)
  1426. X    sub (iy+disp)
  1427. X    sub a
  1428. X    sub b
  1429. X    sub c
  1430. X    sub d
  1431. X    sub e
  1432. X    sub h
  1433. X    sub immed
  1434. X    sub l
  1435. X    tst ( hl )
  1436. X    tst a
  1437. X    tst b
  1438. X    tst c
  1439. X    tst d
  1440. X    tst e
  1441. X    tst h
  1442. X    tst immed
  1443. X    tst l
  1444. X    tstio immed
  1445. X    xor (hl)
  1446. X    xor (ix+disp)
  1447. X    xor (iy+disp)
  1448. X    xor a
  1449. X    xor b
  1450. X    xor c
  1451. X    xor d
  1452. X    xor e
  1453. X    xor h
  1454. X    xor immed
  1455. X    xor l
  1456. SHAR_EOF
  1457. true || echo 'restore of asz80.tst failed'
  1458. fi
  1459. # ============= asz80.tut ==============
  1460. if test -f 'asz80.tut' -a X"$1" != X"-c"; then
  1461.     echo 'x - skipping asz80.tut (File already exists)'
  1462. else
  1463. echo 'x - extracting asz80.tut (Text)'
  1464. sed 's/^X//' << 'SHAR_EOF' > 'asz80.tut' &&
  1465. X0000002b disp             0000004d immed            000003db immed16          
  1466. X00000118 addr             00000154 addrd            000001c5 addrj            
  1467. X                 cpu "64180"
  1468. X 0x2b                   disp    equ 43
  1469. X 0x4d                   immed    equ 77
  1470. X 0x3db                  immed16 equ 987
  1471. X0000 8e             adc a, (hl)
  1472. X0001 dd 8e 2b             adc a, (ix+disp)
  1473. X0004 fd 8e 2b             adc a, (iy+disp)
  1474. X0007 8f             adc a, a
  1475. X0008 88             adc a, b
  1476. X0009 89             adc a, c
  1477. X000a 8a             adc a, d
  1478. X000b 8b             adc a, e
  1479. X000c 8c             adc a, h
  1480. X000d ce 4d             adc a, immed
  1481. X000f 8d             adc a, l
  1482. X0010 ed 4a             adc hl, bc
  1483. X0012 ed 5a             adc hl, de
  1484. X0014 ed 6a             adc hl, hl
  1485. X0016 ed 7a             adc hl, sp
  1486. X0018 86             add a, (hl)
  1487. X0019 dd 86 2b             add a, (ix+disp)
  1488. X001c fd 86 2b             add a, (iy+disp)
  1489. X001f 87             add a, a
  1490. X0020 80             add a, b
  1491. X0021 81             add a, c
  1492. X0022 82             add a, d
  1493. X0023 83             add a, e
  1494. X0024 84             add a, h
  1495. X0025 c6 4d             add a, immed
  1496. X0027 85             add a, l
  1497. X0028 09             add hl, bc
  1498. X0029 19             add hl, de
  1499. X002a 29             add hl, hl
  1500. X002b 39             add hl, sp
  1501. X002c dd 09             add ix, bc
  1502. X002e dd 19             add ix, de
  1503. X0030 dd 29             add ix, ix
  1504. X0032 dd 39             add ix, sp
  1505. X0034 fd 09             add iy, bc
  1506. X0036 fd 19             add iy, de
  1507. X0038 fd 29             add iy, iy
  1508. X003a fd 39             add iy, sp
  1509. X003c a6             and (hl)
  1510. X003d dd a6 2b             and (ix+disp)
  1511. X0040 fd a6 2b             and (iy+disp)
  1512. X0043 a7             and a
  1513. X0044 a0             and b
  1514. X0045 a1             and c
  1515. X0046 a2             and d
  1516. X0047 a3             and e
  1517. X0048 a4             and h
  1518. X0049 e6 4d             and immed
  1519. X004b a5             and l
  1520. X004c cb 46             bit 0, (hl)
  1521. X004e dd cb 2b 46         bit 0, (ix+disp)
  1522. X0052 fd cb 2b 46         bit 0, (iy+disp)
  1523. X0056 cb 47             bit 0, a
  1524. X0058 cb 40             bit 0, b
  1525. X005a cb 41             bit 0, c
  1526. X005c cb 42             bit 0, d
  1527. X005e cb 43             bit 0, e
  1528. X0060 cb 44             bit 0, h
  1529. X0062 cb 45             bit 0, l
  1530. X0064 cb 4e             bit 1, (hl)
  1531. X0066 dd cb 2b 4e         bit 1, (ix+disp)
  1532. X006a fd cb 2b 4e         bit 1, (iy+disp)
  1533. X006e cb 4f             bit 1, a
  1534. X0070 cb 48             bit 1, b
  1535. X0072 cb 49             bit 1, c
  1536. X0074 cb 4a             bit 1, d
  1537. X0076 cb 4b             bit 1, e
  1538. X0078 cb 4c             bit 1, h
  1539. X007a cb 4d             bit 1, l
  1540. X007c cb 56             bit 2, (hl)
  1541. X007e dd cb 2b 56         bit 2, (ix+disp)
  1542. X0082 fd cb 2b 56         bit 2, (iy+disp)
  1543. X0086 cb 57             bit 2, a
  1544. X0088 cb 50             bit 2, b
  1545. X008a cb 51             bit 2, c
  1546. X008c cb 52             bit 2, d
  1547. X008e cb 53             bit 2, e
  1548. X0090 cb 54             bit 2, h
  1549. X0092 cb 55             bit 2, l
  1550. X0094 cb 5e             bit 3, (hl)
  1551. X0096 dd cb 2b 5e         bit 3, (ix+disp)
  1552. X009a fd cb 2b 5e         bit 3, (iy+disp)
  1553. X009e cb 5f             bit 3, a
  1554. X00a0 cb 58             bit 3, b
  1555. X00a2 cb 59             bit 3, c
  1556. X00a4 cb 5a             bit 3, d
  1557. X00a6 cb 5b             bit 3, e
  1558. X00a8 cb 5c             bit 3, h
  1559. X00aa cb 5d             bit 3, l
  1560. X00ac cb 66             bit 4, (hl)
  1561. X00ae dd cb 2b 66         bit 4, (ix+disp)
  1562. X00b2 fd cb 2b 66         bit 4, (iy+disp)
  1563. X00b6 cb 67             bit 4, a
  1564. X00b8 cb 60             bit 4, b
  1565. X00ba cb 61             bit 4, c
  1566. X00bc cb 62             bit 4, d
  1567. X00be cb 63             bit 4, e
  1568. X00c0 cb 64             bit 4, h
  1569. X00c2 cb 65             bit 4, l
  1570. X00c4 cb 6e             bit 5, (hl)
  1571. X00c6 dd cb 2b 6e         bit 5, (ix+disp)
  1572. X00ca fd cb 2b 6e         bit 5, (iy+disp)
  1573. X00ce cb 6f             bit 5, a
  1574. X00d0 cb 68             bit 5, b
  1575. X00d2 cb 69             bit 5, c
  1576. X00d4 cb 6a             bit 5, d
  1577. X00d6 cb 6b             bit 5, e
  1578. X00d8 cb 6c             bit 5, h
  1579. X00da cb 6d             bit 5, l
  1580. X00dc cb 76             bit 6, (hl)
  1581. X00de dd cb 2b 76         bit 6, (ix+disp)
  1582. X00e2 fd cb 2b 76         bit 6, (iy+disp)
  1583. X00e6 cb 77             bit 6, a
  1584. X00e8 cb 70             bit 6, b
  1585. X00ea cb 71             bit 6, c
  1586. X00ec cb 72             bit 6, d
  1587. X00ee cb 73             bit 6, e
  1588. X00f0 cb 74             bit 6, h
  1589. X00f2 cb 75             bit 6, l
  1590. X00f4 cb 7e             bit 7, (hl)
  1591. X00f6 dd cb 2b 7e         bit 7, (ix+disp)
  1592. X00fa fd cb 2b 7e         bit 7, (iy+disp)
  1593. X00fe cb 7f             bit 7, a
  1594. X0100 cb 78             bit 7, b
  1595. X0102 cb 79             bit 7, c
  1596. X0104 cb 7a             bit 7, d
  1597. X0106 cb 7b             bit 7, e
  1598. X0108 cb 7c             bit 7, h
  1599. X010a cb 7d             bit 7, l
  1600. X010c cd 18 01             call addr
  1601. X010f dc 18 01             call c, addr
  1602. X0112 fc 18 01             call m, addr
  1603. X0115 d4 18 01             call nc, addr
  1604. X0118 c4 18 01         addr     call nz, addr
  1605. X011b f4 18 01             call p, addr
  1606. X011e ec 18 01             call pe, addr
  1607. X0121 e4 18 01             call po, addr
  1608. X0124 cc 18 01             call z, addr
  1609. X0127 3f             ccf
  1610. X0128 be             cp (hl)
  1611. X0129 dd be 2b             cp (ix+disp)
  1612. X012c fd be 2b             cp (iy+disp)
  1613. X012f bf             cp a
  1614. X0130 b8             cp b
  1615. X0131 b9             cp c
  1616. X0132 ba             cp d
  1617. X0133 bb             cp e
  1618. X0134 bc             cp h
  1619. X0135 fe 4d             cp immed
  1620. X0137 bd             cp l
  1621. X0138 ed a9             cpd
  1622. X013a ed b9             cpdr
  1623. X013c ed a1             cpi
  1624. X013e ed b1             cpir
  1625. X0140 2f             cpl
  1626. X0141 27             daa
  1627. X0142 35             dec (hl)
  1628. X0143 dd 35 2b             dec (ix+disp)
  1629. X0146 fd 35 2b             dec (iy+disp)
  1630. X0149 3d             dec a
  1631. X014a 05             dec b
  1632. X014b 0b             dec bc
  1633. X014c 0d             dec c
  1634. X014d 15             dec d
  1635. X014e 1b             dec de
  1636. X014f 1d             dec e
  1637. X0150 25             dec h
  1638. X0151 2b             dec hl
  1639. X0152 dd 2b             dec ix
  1640. X0154 fd 2b         addrd     dec iy
  1641. X0156 2d             dec l
  1642. X0157 3b             dec sp
  1643. X0158 f3             di
  1644. X0159 10 f9             djnz addrd
  1645. X015b fb             ei
  1646. X015c e3             ex ( sp ) , hl
  1647. X015d dd e3             ex ( sp ) , ix
  1648. X015f fd e3             ex ( sp ) , iy
  1649. X0161 08             ex af, af
  1650. X0162 eb             ex de, hl
  1651. X0163 d9             exx
  1652. X0164 76             halt
  1653. X0165 ed 46             im 0
  1654. X0167 ed 56             im 1
  1655. X0169 ed 5e             im 2
  1656. X016b ed 78             in a, ( c )
  1657. X016d db 4d             in a, ( immed )
  1658. X016f ed 40             in b, ( c )
  1659. X0171 ed 48             in c, ( c )
  1660. X0173 ed 50             in d, ( c )
  1661. X0175 ed 58             in e, ( c )
  1662. X0177 ed 60             in h, ( c )
  1663. X0179 ed 68             in l, ( c )
  1664. X017b ed 38 4d             in0 a, ( immed )
  1665. X017e ed 00 4d             in0 b, ( immed )
  1666. X0181 ed 08 4d             in0 c, ( immed )
  1667. X0184 ed 10 4d             in0 d, ( immed )
  1668. X0187 ed 18 4d             in0 e, ( immed )
  1669. X018a ed 20 4d             in0 h, ( immed )
  1670. X018d ed 28 4d             in0 l, ( immed )
  1671. X0190 34             inc (hl)
  1672. X0191 dd 34 2b             inc (ix+disp)
  1673. X0194 fd 34 2b             inc (iy+disp)
  1674. X0197 3c             inc a
  1675. X0198 04             inc b
  1676. X0199 03             inc bc
  1677. X019a 0c             inc c
  1678. X019b 14             inc d
  1679. X019c 13             inc de
  1680. X019d 1c             inc e
  1681. X019e 24             inc h
  1682. X019f 23             inc hl
  1683. X01a0 dd 23             inc ix
  1684. X01a2 fd 23             inc iy
  1685. X01a4 2c             inc l
  1686. X01a5 33             inc sp
  1687. X01a6 ed aa             ind
  1688. X01a8 ed ba             indr
  1689. X01aa ed a2             ini
  1690. X01ac ed b2             inir
  1691. X01ae e9             jp ( hl )
  1692. X01af dd e9             jp ( ix )
  1693. X01b1 fd e9             jp ( iy )
  1694. X01b3 c3 c5 01             jp addrj
  1695. X01b6 da c5 01             jp c, addrj
  1696. X01b9 fa c5 01             jp m, addrj
  1697. X01bc d2 c5 01             jp nc, addrj
  1698. X01bf c2 c5 01             jp nz, addrj
  1699. X01c2 f2 c5 01             jp p, addrj
  1700. X01c5 ea c5 01         addrj     jp pe, addrj
  1701. X01c8 e2 c5 01             jp po, addrj
  1702. X01cb ca c5 01             jp z, addrj
  1703. X01ce 18 f5             jr addrj
  1704. X01d0 38 f3             jr c, addrj
  1705. X01d2 30 f1             jr nc, addrj
  1706. X01d4 20 ef             jr nz, addrj
  1707. X01d6 28 ed             jr z, addrj
  1708. X01d8 32 18 01             ld ( addr ) , a
  1709. X01db ed 43 18 01         ld ( addr ) , bc
  1710. X01df ed 53 18 01         ld ( addr ) , de
  1711. X01e3 22 18 01             ld ( addr ) , hl
  1712. X01e6 22 18 01             ld ( addr ) , hl
  1713. X01e9 dd 22 18 01         ld ( addr ) , ix
  1714. X01ed fd 22 18 01         ld ( addr ) , iy
  1715. X01f1 ed 73 18 01         ld ( addr ) , sp
  1716. X01f5 02             ld ( bc ) , a
  1717. X01f6 12             ld ( de ) , a
  1718. X01f7 77             ld (hl), a
  1719. X01f8 70             ld (hl), b
  1720. X01f9 71             ld (hl), c
  1721. X01fa 72             ld (hl), d
  1722. X01fb 73             ld (hl), e
  1723. X01fc 74             ld (hl), h
  1724. X01fd 36 4d             ld (hl), immed
  1725. X01ff 75             ld (hl), l
  1726. X0200 dd 77 2b             ld (ix+disp), a
  1727. X0203 dd 70 2b             ld (ix+disp), b
  1728. X0206 dd 71 2b             ld (ix+disp), c
  1729. X0209 dd 72 2b             ld (ix+disp), d
  1730. X020c dd 73 2b             ld (ix+disp), e
  1731. X020f dd 74 2b             ld (ix+disp), h
  1732. X0212 dd 36 2b 4d         ld (ix+disp), immed
  1733. X0216 dd 75 2b             ld (ix+disp), l
  1734. X0219 fd 77 2b             ld (iy+disp), a
  1735. X021c fd 70 2b             ld (iy+disp), b
  1736. X021f fd 71 2b             ld (iy+disp), c
  1737. X0222 fd 72 2b             ld (iy+disp), d
  1738. X0225 fd 73 2b             ld (iy+disp), e
  1739. X0228 fd 74 2b             ld (iy+disp), h
  1740. X022b fd 36 2b 4d         ld (iy+disp), immed
  1741. X022f fd 75 2b             ld (iy+disp), l
  1742. X0232 3a 18 01             ld a, ( addr )
  1743. X0235 0a             ld a, ( bc )
  1744. X0236 1a             ld a, ( de )
  1745. X0237 7e             ld a, (hl)
  1746. X0238 dd 7e 2b             ld a, (ix+disp)
  1747. X023b fd 7e 2b             ld a, (iy+disp)
  1748. X023e 7f             ld a, a
  1749. X023f 78             ld a, b
  1750. X0240 79             ld a, c
  1751. X0241 7a             ld a, d
  1752. X0242 7b             ld a, e
  1753. X0243 7c             ld a, h
  1754. X0244 ed 57             ld a, i
  1755. X0246 3e 4d             ld a, immed
  1756. X0248 7d             ld a, l
  1757. X0249 ed 5f             ld a, r
  1758. X024b 46             ld b, (hl)
  1759. X024c dd 46 2b             ld b, (ix+disp)
  1760. X024f fd 46 2b             ld b, (iy+disp)
  1761. X0252 47             ld b, a
  1762. X0253 40             ld b, b
  1763. X0254 41             ld b, c
  1764. X0255 42             ld b, d
  1765. X0256 43             ld b, e
  1766. X0257 44             ld b, h
  1767. X0258 06 4d             ld b, immed
  1768. X025a 45             ld b, l
  1769. X025b ed 4b 18 01         ld bc, ( addr )
  1770. X025f 01 db 03             ld bc, immed16
  1771. X0262 4e             ld c, (hl)
  1772. X0263 dd 4e 2b             ld c, (ix+disp)
  1773. X0266 fd 4e 2b             ld c, (iy+disp)
  1774. X0269 4f             ld c, a
  1775. X026a 48             ld c, b
  1776. X026b 49             ld c, c
  1777. X026c 4a             ld c, d
  1778. X026d 4b             ld c, e
  1779. X026e 4c             ld c, h
  1780. X026f 0e 4d             ld c, immed
  1781. X0271 4d             ld c, l
  1782. X0272 56             ld d, (hl)
  1783. X0273 dd 56 2b             ld d, (ix+disp)
  1784. X0276 fd 56 2b             ld d, (iy+disp)
  1785. X0279 57             ld d, a
  1786. X027a 50             ld d, b
  1787. X027b 51             ld d, c
  1788. X027c 52             ld d, d
  1789. X027d 53             ld d, e
  1790. X027e 54             ld d, h
  1791. X027f 16 4d             ld d, immed
  1792. X0281 55             ld d, l
  1793. X0282 ed 5b 18 01         ld de, ( addr )
  1794. X0286 11 db 03             ld de, immed16
  1795. X0289 5e             ld e, (hl)
  1796. X028a dd 5e 2b             ld e, (ix+disp)
  1797. X028d fd 5e 2b             ld e, (iy+disp)
  1798. X0290 5f             ld e, a
  1799. X0291 58             ld e, b
  1800. X0292 59             ld e, c
  1801. X0293 5a             ld e, d
  1802. X0294 5b             ld e, e
  1803. X0295 5c             ld e, h
  1804. X0296 1e 4d             ld e, immed
  1805. X0298 5d             ld e, l
  1806. X0299 66             ld h, (hl)
  1807. X029a dd 66 2b             ld h, (ix+disp)
  1808. X029d fd 66 2b             ld h, (iy+disp)
  1809. X02a0 67             ld h, a
  1810. X02a1 60             ld h, b
  1811. X02a2 61             ld h, c
  1812. X02a3 62             ld h, d
  1813. X02a4 63             ld h, e
  1814. X02a5 64             ld h, h
  1815. X02a6 26 4d             ld h, immed
  1816. X02a8 65             ld h, l
  1817. X02a9 2a 18 01             ld hl, ( addr )
  1818. X02ac 2a 18 01             ld hl, ( addr )
  1819. X02af 21 db 03             ld hl, immed16
  1820. X02b2 21 db 03             ld hl, immed16
  1821. X02b5 ed 47             ld i, a
  1822. X02b7 dd 2a 18 01         ld ix, ( addr )
  1823. X02bb dd 21 db 03         ld ix, immed16
  1824. X02bf fd 2a 18 01         ld iy, ( addr )
  1825. X02c3 fd 21 db 03         ld iy, immed16
  1826. X02c7 6e             ld l, (hl)
  1827. X02c8 dd 6e 2b             ld l, (ix+disp)
  1828. X02cb fd 6e 2b             ld l, (iy+disp)
  1829. X02ce 6f             ld l, a
  1830. X02cf 68             ld l, b
  1831. X02d0 69             ld l, c
  1832. X02d1 6a             ld l, d
  1833. X02d2 6b             ld l, e
  1834. X02d3 6c             ld l, h
  1835. X02d4 2e 4d             ld l, immed
  1836. X02d6 6d             ld l, l
  1837. X02d7 ed 4f             ld r, a
  1838. X02d9 ed 7b 18 01         ld sp, ( addr )
  1839. X02dd f9             ld sp, hl
  1840. X02de 31 db 03             ld sp, immed16
  1841. X02e1 dd f9             ld sp, ix
  1842. X02e3 fd f9             ld sp, iy
  1843. X02e5 ed a8             ldd
  1844. X02e7 ed b8             lddr
  1845. X02e9 ed a0             ldi
  1846. X02eb ed b0             ldir
  1847. X02ed ed 4c             mult bc
  1848. X02ef ed 5c             mult de
  1849. X02f1 ed 6c             mult hl
  1850. X02f3 ed 7c             mult sp
  1851. X02f5 ed 44             neg
  1852. X02f7 00             nop
  1853. X02f8 b6             or (hl)
  1854. X02f9 dd b6 2b             or (ix+disp)
  1855. X02fc fd b6 2b             or (iy+disp)
  1856. X02ff b7             or a
  1857. X0300 b0             or b
  1858. X0301 b1             or c
  1859. X0302 b2             or d
  1860. X0303 b3             or e
  1861. X0304 b4             or h
  1862. X0305 f6 4d             or immed
  1863. X0307 b5             or l
  1864. X0308 ed 8b             otdm
  1865. X030a ed 9b             otdmr
  1866. X030c ed bb             otdr
  1867. X030e ed 83             otim
  1868. X0310 ed 93             otimr
  1869. X0312 ed b3             otir
  1870. X0314 ed 79             out ( c ) , a
  1871. X0316 ed 41             out ( c ) , b
  1872. X0318 ed 49             out ( c ) , c
  1873. X031a ed 51             out ( c ) , d
  1874. X031c ed 59             out ( c ) , e
  1875. X031e ed 61             out ( c ) , h
  1876. X0320 ed 69             out ( c ) , l
  1877. X0322 d3 4d             out ( immed ) , a
  1878. X0324 ed 39 4d             out0 ( immed ) , a
  1879. X0327 ed 01 4d             out0 ( immed ) , b
  1880. X032a ed 09 4d             out0 ( immed ) , c
  1881. X032d ed 11 4d             out0 ( immed ) , d
  1882. X0330 ed 19 4d             out0 ( immed ) , e
  1883. X0333 ed 21 4d             out0 ( immed ) , h
  1884. X0336 ed 29 4d             out0 ( immed ) , l
  1885. X0339 ed ab             outd
  1886. X033b ed a3             outi
  1887. X033d f1             pop af
  1888. X033e c1             pop bc
  1889. X033f d1             pop de
  1890. X0340 e1             pop hl
  1891. X0341 dd e1             pop ix
  1892. X0343 fd e1             pop iy
  1893. X0345 f5             push af
  1894. X0346 c5             push bc
  1895. X0347 d5             push de
  1896. X0348 e5             push hl
  1897. X0349 dd e5             push ix
  1898. X034b fd e5             push iy
  1899. X034d cb 86             res 0, (hl)
  1900. X034f dd cb 2b 86         res 0, (ix+disp)
  1901. X0353 fd cb 2b 86         res 0, (iy+disp)
  1902. X0357 cb 87             res 0, a
  1903. X0359 cb 80             res 0, b
  1904. X035b cb 81             res 0, c
  1905. X035d cb 82             res 0, d
  1906. X035f cb 83             res 0, e
  1907. X0361 cb 84             res 0, h
  1908. X0363 cb 85             res 0, l
  1909. X0365 cb 8e             res 1, (hl)
  1910. X0367 dd cb 2b 8e         res 1, (ix+disp)
  1911. X036b fd cb 2b 8e         res 1, (iy+disp)
  1912. X036f cb 8f             res 1, a
  1913. X0371 cb 88             res 1, b
  1914. X0373 cb 89             res 1, c
  1915. X0375 cb 8a             res 1, d
  1916. X0377 cb 8b             res 1, e
  1917. X0379 cb 8c             res 1, h
  1918. X037b cb 8d             res 1, l
  1919. X037d cb 96             res 2, (hl)
  1920. X037f dd cb 2b 96         res 2, (ix+disp)
  1921. X0383 fd cb 2b 96         res 2, (iy+disp)
  1922. X0387 cb 97             res 2, a
  1923. X0389 cb 90             res 2, b
  1924. X038b cb 91             res 2, c
  1925. X038d cb 92             res 2, d
  1926. X038f cb 93             res 2, e
  1927. X0391 cb 94             res 2, h
  1928. X0393 cb 95             res 2, l
  1929. X0395 cb 9e             res 3, (hl)
  1930. X0397 dd cb 2b 9e         res 3, (ix+disp)
  1931. X039b fd cb 2b 9e         res 3, (iy+disp)
  1932. X039f cb 9f             res 3, a
  1933. X03a1 cb 98             res 3, b
  1934. X03a3 cb 99             res 3, c
  1935. X03a5 cb 9a             res 3, d
  1936. X03a7 cb 9b             res 3, e
  1937. X03a9 cb 9c             res 3, h
  1938. X03ab cb 9d             res 3, l
  1939. X03ad cb a6             res 4, (hl)
  1940. X03af dd cb 2b a6         res 4, (ix+disp)
  1941. X03b3 fd cb 2b a6         res 4, (iy+disp)
  1942. X03b7 cb a7             res 4, a
  1943. X03b9 cb a0             res 4, b
  1944. X03bb cb a1             res 4, c
  1945. X03bd cb a2             res 4, d
  1946. X03bf cb a3             res 4, e
  1947. X03c1 cb a4             res 4, h
  1948. X03c3 cb a5             res 4, l
  1949. X03c5 cb ae             res 5, (hl)
  1950. X03c7 dd cb 2b ae         res 5, (ix+disp)
  1951. X03cb fd cb 2b ae         res 5, (iy+disp)
  1952. X03cf cb af             res 5, a
  1953. X03d1 cb a8             res 5, b
  1954. X03d3 cb a9             res 5, c
  1955. X03d5 cb aa             res 5, d
  1956. X03d7 cb ab             res 5, e
  1957. X03d9 cb ac             res 5, h
  1958. X03db cb ad             res 5, l
  1959. X03dd cb b6             res 6, (hl)
  1960. X03df dd cb 2b b6         res 6, (ix+disp)
  1961. X03e3 fd cb 2b b6         res 6, (iy+disp)
  1962. X03e7 cb b7             res 6, a
  1963. X03e9 cb b0             res 6, b
  1964. X03eb cb b1             res 6, c
  1965. X03ed cb b2             res 6, d
  1966. X03ef cb b3             res 6, e
  1967. X03f1 cb b4             res 6, h
  1968. X03f3 cb b5             res 6, l
  1969. X03f5 cb be             res 7, (hl)
  1970. X03f7 dd cb 2b be         res 7, (ix+disp)
  1971. X03fb fd cb 2b be         res 7, (iy+disp)
  1972. X03ff cb bf             res 7, a
  1973. X0401 cb b8             res 7, b
  1974. X0403 cb b9             res 7, c
  1975. X0405 cb ba             res 7, d
  1976. X0407 cb bb             res 7, e
  1977. X0409 cb bc             res 7, h
  1978. X040b cb bd             res 7, l
  1979. X040d c9             ret
  1980. X040e d8             ret c
  1981. X040f f8             ret m
  1982. X0410 d0             ret nc
  1983. X0411 c0             ret nz
  1984. X0412 f0             ret p
  1985. X0413 e8             ret pe
  1986. X0414 e0             ret po
  1987. X0415 c8             ret z
  1988. X0416 ed 4d             reti
  1989. X0418 ed 45             retn
  1990. X041a cb 16             rl (hl)
  1991. X041c dd cb 2b 16         rl (ix+disp)
  1992. X0420 fd cb 2b 16         rl (iy+disp)
  1993. X0424 cb 17             rl a
  1994. X0426 cb 10             rl b
  1995. X0428 cb 11             rl c
  1996. X042a cb 12             rl d
  1997. X042c cb 13             rl e
  1998. X042e cb 14             rl h
  1999. X0430 cb 15             rl l
  2000. X0432 17             rla
  2001. X0433 cb 06             rlc (hl)
  2002. X0435 dd cb 2b 06         rlc (ix+disp)
  2003. X0439 fd cb 2b 06         rlc (iy+disp)
  2004. X043d cb 07             rlc a
  2005. X043f cb 00             rlc b
  2006. X0441 cb 01             rlc c
  2007. X0443 cb 02             rlc d
  2008. X0445 cb 03             rlc e
  2009. X0447 cb 04             rlc h
  2010. X0449 cb 05             rlc l
  2011. X044b 07             rlca
  2012. X044c ed 6f             rld
  2013. X044e cb 1e             rr (hl)
  2014. X0450 dd cb 2b 1e         rr (ix+disp)
  2015. X0454 fd cb 2b 1e         rr (iy+disp)
  2016. X0458 cb 1f             rr a
  2017. X045a cb 18             rr b
  2018. X045c cb 19             rr c
  2019. X045e cb 1a             rr d
  2020. X0460 cb 1b             rr e
  2021. X0462 cb 1c             rr h
  2022. X0464 cb 1d             rr l
  2023. X0466 1f             rra
  2024. X0467 cb 0e             rrc (hl)
  2025. X0469 dd cb 2b 0e         rrc (ix+disp)
  2026. X046d fd cb 2b 0e         rrc (iy+disp)
  2027. X0471 cb 0f             rrc a
  2028. X0473 cb 08             rrc b
  2029. X0475 cb 09             rrc c
  2030. X0477 cb 0a             rrc d
  2031. X0479 cb 0b             rrc e
  2032. X047b cb 0c             rrc h
  2033. X047d cb 0d             rrc l
  2034. X047f 0f             rrca
  2035. X0480 ed 67             rrd
  2036. X0482 c7             rst 0
  2037. X0483 d7             rst 16
  2038. X0484 df             rst 24
  2039. X0485 e7             rst 32
  2040. X0486 ef             rst 40
  2041. X0487 f7             rst 48
  2042. X0488 ff             rst 56
  2043. X0489 cf             rst 8
  2044. X048a 9e             sbc a, (hl)
  2045. X048b dd 9e 2b             sbc a, (ix+disp)
  2046. X048e fd 9e 2b             sbc a, (iy+disp)
  2047. X0491 9f             sbc a, a
  2048. X0492 98             sbc a, b
  2049. X0493 99             sbc a, c
  2050. X0494 9a             sbc a, d
  2051. X0495 9b             sbc a, e
  2052. X0496 9c             sbc a, h
  2053. X0497 de 4d             sbc a, immed
  2054. X0499 9d             sbc a, l
  2055. X049a ed 42             sbc hl, bc
  2056. X049c ed 52             sbc hl, de
  2057. X049e ed 62             sbc hl, hl
  2058. X04a0 ed 72             sbc hl, sp
  2059. X04a2 37             scf
  2060. X04a3 cb c6             set 0, (hl)
  2061. X04a5 dd cb 2b c6         set 0, (ix+disp)
  2062. X04a9 fd cb 2b c6         set 0, (iy+disp)
  2063. X04ad cb c7             set 0, a
  2064. X04af cb c0             set 0, b
  2065. X04b1 cb c1             set 0, c
  2066. X04b3 cb c2             set 0, d
  2067. X04b5 cb c3             set 0, e
  2068. X04b7 cb c4             set 0, h
  2069. X04b9 cb c5             set 0, l
  2070. X04bb cb ce             set 1, (hl)
  2071. X04bd dd cb 2b ce         set 1, (ix+disp)
  2072. X04c1 fd cb 2b ce         set 1, (iy+disp)
  2073. X04c5 cb cf             set 1, a
  2074. X04c7 cb c8             set 1, b
  2075. X04c9 cb c9             set 1, c
  2076. X04cb cb ca             set 1, d
  2077. X04cd cb cb             set 1, e
  2078. X04cf cb cc             set 1, h
  2079. X04d1 cb cd             set 1, l
  2080. X04d3 cb d6             set 2, (hl)
  2081. X04d5 dd cb 2b d6         set 2, (ix+disp)
  2082. X04d9 fd cb 2b d6         set 2, (iy+disp)
  2083. X04dd cb d7             set 2, a
  2084. X04df cb d0             set 2, b
  2085. X04e1 cb d1             set 2, c
  2086. X04e3 cb d2             set 2, d
  2087. X04e5 cb d3             set 2, e
  2088. X04e7 cb d4             set 2, h
  2089. X04e9 cb d5             set 2, l
  2090. X04eb cb de             set 3, (hl)
  2091. X04ed dd cb 2b de         set 3, (ix+disp)
  2092. X04f1 fd cb 2b de         set 3, (iy+disp)
  2093. X04f5 cb df             set 3, a
  2094. X04f7 cb d8             set 3, b
  2095. X04f9 cb d9             set 3, c
  2096. X04fb cb da             set 3, d
  2097. X04fd cb db             set 3, e
  2098. X04ff cb dc             set 3, h
  2099. X0501 cb dd             set 3, l
  2100. X0503 cb e6             set 4, (hl)
  2101. X0505 dd cb 2b e6         set 4, (ix+disp)
  2102. X0509 fd cb 2b e6         set 4, (iy+disp)
  2103. X050d cb e7             set 4, a
  2104. X050f cb e0             set 4, b
  2105. X0511 cb e1             set 4, c
  2106. X0513 cb e2             set 4, d
  2107. X0515 cb e3             set 4, e
  2108. X0517 cb e4             set 4, h
  2109. X0519 cb e5             set 4, l
  2110. X051b cb ee             set 5, (hl)
  2111. X051d dd cb 2b ee         set 5, (ix+disp)
  2112. X0521 fd cb 2b ee         set 5, (iy+disp)
  2113. X0525 cb ef             set 5, a
  2114. X0527 cb e8             set 5, b
  2115. X0529 cb e9             set 5, c
  2116. X052b cb ea             set 5, d
  2117. X052d cb eb             set 5, e
  2118. X052f cb ec             set 5, h
  2119. X0531 cb ed             set 5, l
  2120. X0533 cb f6             set 6, (hl)
  2121. X0535 dd cb 2b f6         set 6, (ix+disp)
  2122. X0539 fd cb 2b f6         set 6, (iy+disp)
  2123. X053d cb f7             set 6, a
  2124. X053f cb f0             set 6, b
  2125. X0541 cb f1             set 6, c
  2126. X0543 cb f2             set 6, d
  2127. X0545 cb f3             set 6, e
  2128. X0547 cb f4             set 6, h
  2129. X0549 cb f5             set 6, l
  2130. X054b cb fe             set 7, (hl)
  2131. X054d dd cb 2b fe         set 7, (ix+disp)
  2132. X0551 fd cb 2b fe         set 7, (iy+disp)
  2133. X0555 cb ff             set 7, a
  2134. X0557 cb f8             set 7, b
  2135. X0559 cb f9             set 7, c
  2136. X055b cb fa             set 7, d
  2137. X055d cb fb             set 7, e
  2138. X055f cb fc             set 7, h
  2139. X0561 cb fd             set 7, l
  2140. X0563 cb 26             sla (hl)
  2141. X0565 dd cb 2b 26         sla (ix+disp)
  2142. X0569 fd cb 2b 26         sla (iy+disp)
  2143. X056d cb 27             sla a
  2144. X056f cb 20             sla b
  2145. X0571 cb 21             sla c
  2146. X0573 cb 22             sla d
  2147. X0575 cb 23             sla e
  2148. X0577 cb 24             sla h
  2149. X0579 cb 25             sla l
  2150. X057b ed 76             slp
  2151. X057d cb 2e             sra (hl)
  2152. X057f dd cb 2b 2e         sra (ix+disp)
  2153. X0583 fd cb 2b 2e         sra (iy+disp)
  2154. X0587 cb 2f             sra a
  2155. X0589 cb 28             sra b
  2156. X058b cb 29             sra c
  2157. X058d cb 2a             sra d
  2158. X058f cb 2b             sra e
  2159. X0591 cb 2c             sra h
  2160. X0593 cb 2d             sra l
  2161. X0595 cb 3e             srl (hl)
  2162. X0597 dd cb 2b 3e         srl (ix+disp)
  2163. X059b fd cb 2b 3e         srl (iy+disp)
  2164. X059f cb 3f             srl a
  2165. X05a1 cb 38             srl b
  2166. X05a3 cb 39             srl c
  2167. X05a5 cb 3a             srl d
  2168. X05a7 cb 3b             srl e
  2169. X05a9 cb 3c             srl h
  2170. X05ab cb 3d             srl l
  2171. X05ad 96             sub (hl)
  2172. X05ae dd 96 2b             sub (ix+disp)
  2173. X05b1 fd 96 2b             sub (iy+disp)
  2174. X05b4 97             sub a
  2175. X05b5 90             sub b
  2176. X05b6 91             sub c
  2177. X05b7 92             sub d
  2178. X05b8 93             sub e
  2179. X05b9 94             sub h
  2180. X05ba d6 4d             sub immed
  2181. X05bc 95             sub l
  2182. X05bd ed 34             tst ( hl )
  2183. X05bf ed 3c             tst a
  2184. X05c1 ed 04             tst b
  2185. X05c3 ed 0c             tst c
  2186. X05c5 ed 14             tst d
  2187. X05c7 ed 1c             tst e
  2188. X05c9 ed 24             tst h
  2189. X05cb ed 64 4d             tst immed
  2190. X05ce ed 2c             tst l
  2191. X05d0 ed 74 4d             tstio immed
  2192. X05d3 ae             xor (hl)
  2193. X05d4 dd ae 2b             xor (ix+disp)
  2194. X05d7 fd ae 2b             xor (iy+disp)
  2195. X05da af             xor a
  2196. X05db a8             xor b
  2197. X05dc a9             xor c
  2198. X05dd aa             xor d
  2199. X05de ab             xor e
  2200. X05df ac             xor h
  2201. X05e0 ee 4d             xor immed
  2202. X05e2 ad             xor l
  2203. X ERROR SUMMARY - ERRORS DETECTED 0
  2204. X               -  WARNINGS       0
  2205. SHAR_EOF
  2206. true || echo 'restore of asz80.tut failed'
  2207. fi
  2208. true || echo 'restore of asz80.y failed'
  2209. echo End of part 1, continue with part 2
  2210. exit 0
  2211.