fasm.rst 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .. RST source for fasm(1) man page. Convert with:
  2. .. rst2man.py fasm.rst > fasm.1
  3. .. rst2man.py comes from the SBo development/docutils package.
  4. .. |version| replace:: 1.73.29
  5. .. |date| date::
  6. ====
  7. fasm
  8. ====
  9. ---------------------------------------------------
  10. fast assembler for the x86 and x86-64 architectures
  11. ---------------------------------------------------
  12. :Manual section: 1
  13. :Manual group: SlackBuilds.org
  14. :Date: |date|
  15. :Version: |version|
  16. SYNOPSIS
  17. ========
  18. fasm [**-d** *name=value* ...] [**-m** *mem-limit*] [**-p** *pass-limit*] [**-s** *symbol-file*] *source-file* [*output-file*]
  19. DESCRIPTION
  20. ===========
  21. **fasm** (aka flat assembler) is a fast assembler for the x86 and
  22. x86-64 architectures. When executed, it will assemble the given
  23. source file.
  24. If no *output-file* is given, the output filename will be the
  25. *source-file* name with the extension replaced with *.o*.
  26. OPTIONS
  27. =======
  28. The space between an option and its argument is optional (**-m10** and
  29. **-m 10** are both acceptable).
  30. **-d** *name=value*
  31. Predefine a symbol (variable). May be given multiple times, as needed.
  32. **-m** *mem-limit*
  33. Set the limit in *1024-byte* kilobytes for the amount of memory **fasm** can
  34. use. If the limit is exceeded, **fasm** will exit with an "out of
  35. memory" error and nonzero exit status. Default is 16384 (aka 16MB),
  36. minimum is 1, maximum allowed is 4194303 (~4GB)... but values ~4000000 and up
  37. can cause **fasm** to segfault.
  38. **-p** *pass-limit*
  39. Set the maximum number of passes **fasm** will make over the source. Default
  40. is 100; maximum is 65536.
  41. **-s** *symbol-file*
  42. Dump symbolic information for debugging to *symbol-file*. This file
  43. can be processed with the **listing**, **symbols**, or **prepsrc** tools:
  44. see /usr/doc/fasm-|version|/tools-readme.txt for details.
  45. EXIT STATUS
  46. ===========
  47. Zero for successful completion, 1 for invalid command-line option(s),
  48. or non-zero (apparently always 255) for any fatal assembly error.
  49. COPYRIGHT
  50. =========
  51. See the file /usr/doc/fasm-|version|/license.txt for license information.
  52. AUTHORS
  53. =======
  54. **fasm** was written by Tomasz Grysztar.
  55. This man page written for the SlackBuilds.org project
  56. by B. Watson, and is licensed under the WTFPL.
  57. SEE ALSO
  58. ========
  59. The full documentation: /usr/doc/fasm-|version|/fasm.txt
  60. The fasm homepage: https://flatassembler.net