fasm.1 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "FASM" 1 "2022-01-17" "1.73.29" "SlackBuilds.org"
  31. .SH NAME
  32. fasm \- fast assembler for the x86 and x86-64 architectures
  33. .\" RST source for fasm(1) man page. Convert with:
  34. .
  35. .\" rst2man.py fasm.rst > fasm.1
  36. .
  37. .\" rst2man.py comes from the SBo development/docutils package.
  38. .
  39. .SH SYNOPSIS
  40. .sp
  41. fasm [\fB\-d\fP \fIname=value\fP ...] [\fB\-m\fP \fImem\-limit\fP] [\fB\-p\fP \fIpass\-limit\fP] [\fB\-s\fP \fIsymbol\-file\fP] \fIsource\-file\fP [\fIoutput\-file\fP]
  42. .SH DESCRIPTION
  43. .sp
  44. \fBfasm\fP (aka flat assembler) is a fast assembler for the x86 and
  45. x86\-64 architectures. When executed, it will assemble the given
  46. source file.
  47. .sp
  48. If no \fIoutput\-file\fP is given, the output filename will be the
  49. \fIsource\-file\fP name with the extension replaced with \fI\&.o\fP\&.
  50. .SH OPTIONS
  51. .sp
  52. The space between an option and its argument is optional (\fB\-m10\fP and
  53. \fB\-m 10\fP are both acceptable).
  54. .INDENT 0.0
  55. .TP
  56. .B \fB\-d\fP \fIname=value\fP
  57. Predefine a symbol (variable). May be given multiple times, as needed.
  58. .TP
  59. .B \fB\-m\fP \fImem\-limit\fP
  60. Set the limit in \fI1024\-byte\fP kilobytes for the amount of memory \fBfasm\fP can
  61. use. If the limit is exceeded, \fBfasm\fP will exit with an "out of
  62. memory" error and nonzero exit status. Default is 16384 (aka 16MB),
  63. minimum is 1, maximum allowed is 4194303 (~4GB)... but values ~4000000 and up
  64. can cause \fBfasm\fP to segfault.
  65. .TP
  66. .B \fB\-p\fP \fIpass\-limit\fP
  67. Set the maximum number of passes \fBfasm\fP will make over the source. Default
  68. is 100; maximum is 65536.
  69. .TP
  70. .B \fB\-s\fP \fIsymbol\-file\fP
  71. Dump symbolic information for debugging to \fIsymbol\-file\fP\&. This file
  72. can be processed with the \fBlisting\fP, \fBsymbols\fP, or \fBprepsrc\fP tools:
  73. see /usr/doc/fasm\-1.73.29/tools\-readme.txt for details.
  74. .UNINDENT
  75. .SH EXIT STATUS
  76. .sp
  77. Zero for successful completion, 1 for invalid command\-line option(s),
  78. or non\-zero (apparently always 255) for any fatal assembly error.
  79. .SH COPYRIGHT
  80. .sp
  81. See the file /usr/doc/fasm\-1.73.29/license.txt for license information.
  82. .SH AUTHORS
  83. .sp
  84. \fBfasm\fP was written by Tomasz Grysztar.
  85. .sp
  86. This man page written for the SlackBuilds.org project
  87. by B. Watson, and is licensed under the WTFPL.
  88. .SH SEE ALSO
  89. .sp
  90. The full documentation: /usr/doc/fasm\-1.73.29/fasm.txt
  91. .sp
  92. The fasm homepage: \fI\%https://flatassembler.net\fP
  93. .\" Generated by docutils manpage writer.
  94. .