2 .\" Title: yasm_parsers
3 .\" Author: Peter Johnson <peter@tortall.net>
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Yasm Supported Parsers
10 .TH "YASM_PARSERS" "7" "October 2006" "Yasm" "Yasm Supported Parsers"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 yasm_parsers \- Yasm Supported Parsers (Assembler Syntaxes)
25 \fByasm\fR \fB\-p\ \fR\fB\fIparser\fR\fR [\fB\-r\ \fR\fB\fIpreproc\fR\fR] \fB\fI\&.\&.\&.\fR\fR
28 The standard Yasm distribution includes a number of modules for different parsers (assembler syntaxes)\&.
30 The parser is selected on the
32 command line by use of the
33 \fB\-p \fR\fB\fIparser\fR\fR
34 command line option\&.
37 NASM syntax, selected with
38 \fB\-p nasm\fR, is the most full\-featured syntax supported by Yasm\&. Yasm is nearly 100% compatible with NASM for 16\-bit and 32\-bit x86 code\&. Yasm additionally supports 64\-bit AMD64 code with Yasm extensions to the NASM syntax; see
40 for details\&. NASM syntax is the Yasm default\&.
43 The GNU Assembler (GAS) is the de\-facto cross\-platform assembler for modern Unix systems, and is used as the backend for the GCC compiler\&. Yasm\'s support for GAS syntax is moderately good, although immature: not all directives are supported, and only 32\-bit x86 and AMD64 architectures are supported\&. Nearly all of the GAS preprocessor is also supported\&. Yasm\'s GAS syntax support is good enough to handle essentially all x86 and AMD64 GCC compiler output\&. The GAS parser can be selected with
51 \fBPeter Johnson\fR <\&peter@tortall\&.net\&>
57 Copyright \(co 2006 Peter Johnson