OS Manuals

/usr/bin/vsyasm

A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)

From yasm 1.3.0-r12 (os), captured 2026-11-05 by running vsyasm --help (exit 0). permalink

usage: vsyasm [option]* file...
Options:
    --version               show version text
    --license               show license text
    -h, --help              show help text
    --arch=<arch>           select architecture (list with -a help)
     -a <arch>
    --parser=<parser>       select parser (list with -p help)
     -p <parser>
    --preproc=<preproc>     select preprocessor (list with -r help)
     -r <preproc>
    --oformat=<format>      select object format (list with -f help)
     -f <format>
    --dformat=<debug>       select debugging format (list with -g help)
     -g <debug>
    --lformat=<list>        select list format (list with -L help)
     -L <list>
    --list=<pathname>       name of list-file output directory
     -l <pathname>
    --objdir=<pathname>     name of object-file output directory
     -o <pathname>
    --mapdir=<pathname>     name of map-file output directory
    --listext=<ext>         list-file extension (default `lst')
    --objext=<ext>          object-file extension (default is by object format)
    --mapext=<ext>          map-file extension (default `map')
    --machine=<machine>     select machine (list with -m help)
     -m <machine>
    --force-strict          treat all sized operands as if `strict' was used
    -w                      inhibits warning messages
    -W                      enables/disables warning
    -E <file>               redirect error messages to file
    -s                      redirect error messages to stdout
    -i <path>               add include path
    -I <path>               add include path
    -P <filename>           pre-include file
    -d <macro[=value]>      pre-define a macro, optionally to value
    -D <macro[=value]>      pre-define a macro, optionally to value
    -u <macro>              undefine a macro
    -U <macro>              undefine a macro
    -X <style>              select error/warning message style (`gnu' or `vc')
    --prefix=<prefix>       prepend argument to name of all external symbols
    --suffix=<suffix>       append argument to name of all external symbols
    --postfix=<suffix>      append argument to name of all external symbols

Files are asm sources to be assembled.

Sample invocation:
   vsyasm -f win64 -o objdir source1.asm source2.asm

All options apply to all files.

Report bugs to bug-yasm@tortall.net
Options (41)
OptionDescriptionSource
--versionshow version texthelp
--licenseshow license texthelp
-h, --helpshow help texthelp
--arch archselect architecture (list with -a help)help
-a archhelp
--parser parserselect parser (list with -p help)help
-p parserhelp
--preproc preprocselect preprocessor (list with -r help)help
-r preprochelp
--oformat formatselect object format (list with -f help)help
-f formathelp
--dformat debugselect debugging format (list with -g help)help
-g debughelp
--lformat listselect list format (list with -L help)help
-L listhelp
--list pathnamename of list-file output directoryhelp
-l pathnamehelp
--objdir pathnamename of object-file output directoryhelp
-o pathnamehelp
--mapdir pathnamename of map-file output directoryhelp
--listext extlist-file extension (default `lst')help
--objext extobject-file extension (default is by object format)help
--mapext extmap-file extension (default `map')help
--machine machineselect machine (list with -m help)help
-m machinehelp
--force-stricttreat all sized operands as if `strict' was usedhelp
-winhibits warning messageshelp
-Wenables/disables warninghelp
-E fileredirect error messages to filehelp
-sredirect error messages to stdouthelp
-i pathadd include pathhelp
-I pathadd include pathhelp
-P filenamepre-include filehelp
-d macro[=valuepre-define a macro, optionally to valuehelp
-D macro[=valuepre-define a macro, optionally to valuehelp
-u macroundefine a macrohelp
-U macroundefine a macrohelp
-X styleselect error/warning message style (`gnu' or `vc')help
--prefix prefixprepend argument to name of all external symbolshelp
--suffix suffixappend argument to name of all external symbolshelp
--postfix suffixappend argument to name of all external symbolshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.