1YASM_PARSERS(7)             Yasm Supported Parsers             YASM_PARSERS(7)
2
3
4

NAME

6       yasm_parsers - Yasm Supported Parsers (Assembler Syntaxes)
7

SYNOPSIS

9       yasm -p parser [-r preproc] ...
10

DESCRIPTION

12       The standard Yasm distribution includes a number of modules for
13       different parsers (assembler syntaxes).
14
15       The parser is selected on the yasm(1) command line by use of the -p
16       parser command line option.
17

NASM PARSER

19       NASM syntax, selected with -p nasm, is the most full-featured syntax
20       supported by Yasm. Yasm is nearly 100% compatible with NASM for 16-bit
21       and 32-bit x86 code. Yasm additionally supports 64-bit AMD64 code with
22       Yasm extensions to the NASM syntax; see yasm_arch(7) for details. NASM
23       syntax is the Yasm default.
24

GAS PARSER

26       The GNU Assembler (GAS) is the de-facto cross-platform assembler for
27       modern Unix systems, and is used as the backend for the GCC compiler.
28       Yasm´s support for GAS syntax is moderately good, although immature:
29       not all directives are supported, and only 32-bit x86 and AMD64
30       architectures are supported. Nearly all of the GAS preprocessor is also
31       supported. Yasm´s GAS syntax support is good enough to handle
32       essentially all x86 and AMD64 GCC compiler output. The GAS parser can
33       be selected with -p gas.
34

SEE ALSO

36       yasm(1), yasm_arch(7)
37

AUTHOR

39       Peter Johnson <peter@tortall.net>
40           Author.
41
43       Copyright © 2006 Peter Johnson
44
45
46
47Yasm                             October 2006                  YASM_PARSERS(7)
Impressum