| 1 |
.\" Hey, EMACS: -*- nroff -*- |
| 2 |
.\" (C) Copyright 2020 the DASM team and its contributors |
| 3 |
.\" |
| 4 |
.TH DASM 1 "October 11 2020" |
| 5 |
.\" Please adjust this date whenever revising the manpage. |
| 6 |
.SH NAME |
| 7 |
dasm \- 8\-bit macro assembler |
| 8 |
.SH SYNOPSIS |
| 9 |
.B dasm |
| 10 |
.IR sourcefile " [" options ] |
| 11 |
.SH DESCRIPTION |
| 12 |
This manual page documents briefly the |
| 13 |
.B dasm |
| 14 |
command. |
| 15 |
.PP |
| 16 |
\fBdasm\fP is a versatile macro assembler with support for several |
| 17 |
8\-bit microprocessors including MOS 6502 & 6507; Motorola 6803, 68705, |
| 18 |
and 68HC11; Hitachi HD6303 (extended Motorola 6801) and Fairchild F8. |
| 19 |
.SH OPTIONS |
| 20 |
\fBdasm\fP supports the following options, briefly described below. |
| 21 |
For more information see the \fBdasm\fP \fITechnical Reference Manual\fP. |
| 22 |
.TP |
| 23 |
.BI \-f # |
| 24 |
output format 1\-3 [default: \fI1\fP] |
| 25 |
.TP |
| 26 |
.BI \-o name |
| 27 |
output file name [default: \fIa.out\fP] |
| 28 |
.TP |
| 29 |
.BI \-l name |
| 30 |
list file name [default: \fInone generated\fP] |
| 31 |
.TP |
| 32 |
.BI \-L name |
| 33 |
list file, containing all passes |
| 34 |
.TP |
| 35 |
.BI \-v # |
| 36 |
verboseness 0\-4 [default: \fI0\fP] |
| 37 |
.TP |
| 38 |
.B \-d |
| 39 |
debug mode (for developers) |
| 40 |
.TP |
| 41 |
.BI \-D symbol |
| 42 |
define symbol, set to \fI0\fP |
| 43 |
.TP |
| 44 |
.BI \-D symbol = expression |
| 45 |
define symbol, set to \fIexpression\fP |
| 46 |
.TP |
| 47 |
.BI \-M symbol = expression |
| 48 |
define symbol using \fIEQM\fP (same as \fB-D\fP) |
| 49 |
.TP |
| 50 |
.BI \-p # |
| 51 |
maximum number of passes |
| 52 |
.TP |
| 53 |
.BI \-P # |
| 54 |
maximum number of passes, with fewer checks |
| 55 |
.TP |
| 56 |
.BI \-T # |
| 57 |
symbol table sorting [default: \fI0\fP] |
| 58 |
.RS |
| 59 |
.IR 0 " = \fBalphabetical\fP" |
| 60 |
.IR 1 " = \fBaddress/value\fP" |
| 61 |
.RE |
| 62 |
.TP |
| 63 |
.BI \-E # |
| 64 |
error format [default: \fI0\fP] |
| 65 |
.RS |
| 66 |
.IR 0 " = \fBMS\fP" |
| 67 |
.IR 1 " = \fBDillon\fP" |
| 68 |
.IR 2 " = \fBGNU\fP" |
| 69 |
.RE |
| 70 |
.TP |
| 71 |
.B \-S |
| 72 |
strict syntax checking |
| 73 |
.TP |
| 74 |
.B \-R |
| 75 |
remove binary \fIoutput\fP file in case of errors |
| 76 |
.TP |
| 77 |
.BI \-m # |
| 78 |
maximum allowed file-size in kB |
| 79 |
.SH SEE ALSO |
| 80 |
.TP |
| 81 |
.IR /usr/share/doc/dasm/dasm.pdf : |
| 82 |
.B dasm Technical Reference Manual |
| 83 |
.SH AUTHOR |
| 84 |
Written and maintained by the DASM team and its contributors. |