2011-08-27 16:28:25 -07:00
'\" t
2006-10-21 18:52:29 +00:00
. \" Title: yasm_parsers
. \" Author: Peter Johnson <peter@tortall.net>
2011-08-27 16:28:25 -07:00
. \" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
2006-10-21 18:52:29 +00:00
. \" Date: October 2006
. \" Manual: Yasm Supported Parsers
. \" Source: Yasm
2011-08-27 16:28:25 -07:00
. \" Language: English
2006-10-21 18:52:29 +00:00
. \"
.TH "YASM_PARSERS" "7" "October 2006" "Yasm" "Yasm Supported Parsers"
2011-08-27 16:28:25 -07:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2006-10-21 18:52:29 +00:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2011-08-27 16:28:25 -07:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2006-10-21 18:52:29 +00:00
.SH "NAME"
yasm_parsers \- Yasm Supported Parsers (Assembler Syntaxes)
.SH "SYNOPSIS"
2011-08-27 16:28:25 -07:00
.HP \w '\fByasm\fR\ 'u
\fB yasm\fR \fB \- p\ \fR \fB \fI parser\fR \fR [\fB \- r\ \fR \fB \fI preproc\fR \fR ] \fB \fI \& .\& .\& .\fR \fR
2006-10-21 18:52:29 +00:00
.SH "DESCRIPTION"
.PP
2011-08-27 16:28:25 -07:00
The standard Yasm distribution includes a number of modules for different parsers (assembler syntaxes)\& .
2006-10-21 18:52:29 +00:00
.PP
The parser is selected on the
\fB yasm\fR (1)
command line by use of the
\fB \- p \fR \fB \fI parser\fR \fR
2011-08-27 16:28:25 -07:00
command line option\& .
2006-10-21 18:52:29 +00:00
.SH "NASM PARSER"
.PP
NASM syntax, selected with
2011-08-27 16:28:25 -07:00
\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
2006-10-21 18:52:29 +00:00
\fB yasm_arch\fR (7)
2011-08-27 16:28:25 -07:00
for details\& . NASM syntax is the Yasm default\& .
2006-10-21 18:52:29 +00:00
.SH "GAS PARSER"
.PP
2011-08-27 16:28:25 -07:00
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
\fB \- p gas\fR \& .
2006-10-21 18:52:29 +00:00
.SH "SEE ALSO"
.PP
\fB yasm\fR (1),
\fB yasm_arch\fR (7)
.SH "AUTHOR"
.PP
2011-08-27 16:28:25 -07:00
\fB Peter Johnson\fR <\& peter@tortall\& .net\& >
.RS 4
2006-10-21 18:52:29 +00:00
Author.
2011-08-27 16:28:25 -07:00
.RE
2006-10-21 18:52:29 +00:00
.SH "COPYRIGHT"
2011-08-27 16:28:25 -07:00
.br
2006-10-21 18:52:29 +00:00
Copyright \(co 2006 Peter Johnson
2011-08-27 16:28:25 -07:00
.br