Mercurial > hg-old > index.cgi
comparison doc/manual.docbook.sgml @ 233:efda73d44e1b
Updated discussion of assembly dialects
author | lost |
---|---|
date | Fri, 12 Jun 2009 04:54:12 +0000 |
parents | 1009f302ac11 |
children | aa0056ca7319 |
comparison
equal
deleted
inserted
replaced
232:1009f302ac11 | 233:efda73d44e1b |
---|---|
290 </section> | 290 </section> |
291 | 291 |
292 <section> | 292 <section> |
293 <title>Dialects</title> | 293 <title>Dialects</title> |
294 <para> | 294 <para> |
295 LWASM supports all documented MC6809 instructions as defined by Motorola. | 295 LWASM supports all documented MC6809 instructions as defined by Motorola. |
296 It also supports all known HD6309 instructions. There is some variation, | 296 It also supports all known HD6309 instructions. While there is general |
297 however, in the pneumonics used for the block transfer instructions. LWASM | 297 agreement on the pneumonics for most of the 6309 instructions, there is some |
298 uses TFM for all four of them as do several other assemblers. Others, such | 298 variance with the block transfer instructions. TFM for all four variations |
299 as CCASM, use four separate opcodes for it (compare: copy+, copy-, implode, | 299 seems to have gained the most traction and, thus, this is the form that is |
300 and explode). There are advantages to both methods. However, it seems like | 300 recommended for LWASM. However, it also supports COPY, COPY-, IMP, EXP, |
301 TFM has the most traction and thus, this is what LWASM supports. Support | 301 TFRP, TFRM, TFRS, and TFRR. It further adds COPY+ as a synomym for COPY, |
302 for such variations may be added in the future. | 302 IMPLODE for IMP, and EXPAND for EXP. |
303 </para> | 303 </para> |
304 | |
305 <para>By default, LWASM accepts 6309 instructions. However, using the | |
306 <parameter>--6809</parameter> parameter, you can cause it to throw errors on | |
307 6309 instructions instead.</para> | |
304 | 308 |
305 <para> | 309 <para> |
306 The standard addressing mode specifiers are supported. These are the | 310 The standard addressing mode specifiers are supported. These are the |
307 hash sign ("#") for immediate mode, the less than sign ("<") for forced | 311 hash sign ("#") for immediate mode, the less than sign ("<") for forced |
308 eight bit modes, and the greater than sign (">") for forced sixteen bit modes. | 312 eight bit modes, and the greater than sign (">") for forced sixteen bit modes. |