summaryrefslogtreecommitdiffstats
path: root/development/rmac/rmac.1
diff options
context:
space:
mode:
Diffstat (limited to 'development/rmac/rmac.1')
-rw-r--r--development/rmac/rmac.161
1 files changed, 44 insertions, 17 deletions
diff --git a/development/rmac/rmac.1 b/development/rmac/rmac.1
index bf28056a44..4b151440ea 100644
--- a/development/rmac/rmac.1
+++ b/development/rmac/rmac.1
@@ -1,8 +1,5 @@
.\" Man page generated from reStructuredText.
.
-.TH RMAC 1 "2017-09-01" "1.8.6" "SlackBuilds.org"
-.SH NAME
-RMAC \- 68000 and 6502 cross assembler
.
.nr rst2man-indent-level 0
.
@@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
+.TH "RMAC" 1 "2023-01-03" "2.2.14_20221221" "SlackBuilds.org"
+.SH NAME
+rmac \- 68000 and 6502 cross assembler
.\" RST source for rmac(1) man page. Convert with:
.
.\" rst2man.py rmac.rst > rmac.1
@@ -64,8 +64,14 @@ BSD COFF output object file format.
.BI \-f\fB e
ELF output object file format.
.TP
+.BI \-f\fB r
+Absolute address. Source is required to have only one \fB\&.org\fP\&.
+.TP
.BI \-f\fB x
Atari 800 com/exe/xex output object file format.
+.TP
+.B \-g
+Generate source level debug info. Requires BSD COFF object file format.
.UNINDENT
.INDENT 0.0
.TP
@@ -75,20 +81,26 @@ Atari 800 com/exe/xex output object file format.
.sp
\-l\fI[file[prn]]\fP Construct and direct assembly listing to the specified file.
.sp
-\-l\fI*[filename]\fP Create an output listing file without pagination
+\-l\fI*[filename]\fP Create an output listing file without pagination.
.INDENT 0.0
.TP
-.B \-n
-Don\(aqt do things behind your back in RISC assembler
+.B \-m\fIcpu\fP Set default CPU type. Choices are: \fB68000\fP \fB68020\fP
+\fB68030\fP \fB68040\fP \fB68060\fP \fB68881\fP \fB68882\fP
+\fB56001\fP \fB6502\fP \fBtom\fP \fBjerry\fP
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-n
+Don\(aqt do things behind your back in RISC assembler.
.UNINDENT
.sp
\-o\fIfile[.o]\fP Direct object code output to the specified file.
.sp
+/~oall Turn all optimisations on/off
.sp
-+o\fI0\-3\fP Enable specific optimisation
++o\fI0\-30\fP Enable specific optimisation
.sp
-~o\fI0\-3\fP Disable specific optimisation
+~o\fI0\-30\fP Disable specific optimisation
.INDENT 0.0
.INDENT 3.5
\fI0: Absolute long adddresses to word (default: on)\fP
@@ -98,21 +110,33 @@ Don\(aqt do things behind your back in RISC assembler
\fI2: Word branches to short (default: on)\fP
.sp
\fI3: Outer displacement 0(an) to (an) (default: on)\fP
-.sp
\fI4: lea size(An),An to addq #size,An (default: off)\fP
+\fI5: 68020+ Absolute long base displacement to word (default: off)\fP
.sp
-\fI5: Absolute long base displacement to word (default: off)\fP
+\fI6: Convert null short branches to NOP\fP
+.sp
+\fI7: Convert clr.l Dn to moveq #0,Dn\fP
+.sp
+\fI8: Convert adda.w/l #x,Dy to addq.w/l #x,Dy\fP
+.sp
+\fI9: Convert adda.w/l #x,Dy to lea x(Dy),Dy\fP
+.sp
+\fI10: 56001 Use short format for immediate values if possible\fP
+.sp
+\fI11: 56001 Auto convert short addressing mode to long (default: on)\fP
+.sp
+\fI30: Enforce PC relative (alternative name: op)\fP
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
-.B \-p
+.B \-p
Produce an executable (\fB\&.prg\fP) output file.
.TP
.BI \-p\fB s
Produce an executable (\fB\&.prg\fP) output file with symbols.
.TP
-.B \-q
+.B \-q
Make RMAC resident in memory (Atari ST only).
.UNINDENT
.INDENT 0.0
@@ -136,20 +160,23 @@ specified boundary. Size is a letter that specifies the desired boundary.
.UNINDENT
.INDENT 0.0
.TP
-.B \-s
+.B \-s
Warn about unoptimized long branches and applied optimisations.
.TP
-.B \-u
+.B \-u
Force referenced and undefined symbols global.
.TP
-.B \-v
+.B \-v
Verbose mode (print running dialogue).
.TP
-.B \-x
+.B \-x
Turn on debugging mode
.TP
.BI \-y\fB n
Set listing page size to n lines.
+.TP
+.B \-4
+Use C style operator precedence.
.UNINDENT
.sp
file\fI[s]\fP Assemble the specified file.
@@ -183,6 +210,6 @@ by B. Watson, and is licensed under the WTFPL.
.sp
\fIhatari\fP(1)
.sp
-The full \fBrmac\fP documentation in /usr/doc/rmac\-1.8.6/rmac.rst.
+The full \fBrmac\fP documentation: /usr/doc/rmac\-2.2.14_20221221/rmac.html
.\" Generated by docutils manpage writer.
.