AsmBf will convert an assembler source text into any format the user specifies. The user can set the starting column for the opcode-, operand- and comment-filed, insert or remove TABs, etc..
The following, rather ugly source text...
move.l DOSBase(a4),d0 beq 1$ move.l d0,a1 jsr CloseLibrary(a6) ;close dos.library 1$: moveq #0,d0 rts
will look like this, after a conversion with AsmBf:
move.l DOSBase(a4),d0
beq 1$
move.l d0,a1
jsr CloseLibrary(a6) ;close dos.library
1$: moveq #0,d0
rts
AsmBf runs from your shell and accepts the following arguments:
| FILE/A | Name of the source text to be converted. The old file will be overwritten, so you might want to make a backup first. |
| P=POS/K | Sets the starting column for the directive-, operand- and comment-field (first column =0). Default is "POS=8,16,40". |
| T=TAB/K/N | Tabulator size. A zero will forbid the usage of tabs and has the effect of removing all tab codes from a source. The tabulator size defaults to 8. |
| G=GLOBAL/S | Always start a new line after global labels. |
| L=LOCAL/S | Always start a new line after local labels. |
AsmBf is Public Domain. The included C source text was compiled with Volker Barthelmann's VBCC (see aminet/dev/c), but any other compiler should work as well.