OLD | NEW |
| 1 '\" t |
1 .\" Title: yasm_parsers | 2 .\" Title: yasm_parsers |
2 .\" Author: Peter Johnson <peter@tortall.net> | 3 .\" Author: Peter Johnson <peter@tortall.net> |
3 .\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> | 4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> |
4 .\" Date: October 2006 | 5 .\" Date: October 2006 |
5 .\" Manual: Yasm Supported Parsers | 6 .\" Manual: Yasm Supported Parsers |
6 .\" Source: Yasm | 7 .\" Source: Yasm |
| 8 .\" Language: English |
7 .\" | 9 .\" |
8 .TH "YASM_PARSERS" "7" "October 2006" "Yasm" "Yasm Supported Parsers" | 10 .TH "YASM_PARSERS" "7" "October 2006" "Yasm" "Yasm Supported Parsers" |
| 11 .\" ----------------------------------------------------------------- |
| 12 .\" * set default formatting |
| 13 .\" ----------------------------------------------------------------- |
9 .\" disable hyphenation | 14 .\" disable hyphenation |
10 .nh | 15 .nh |
11 .\" disable justification (adjust text to left margin only) | 16 .\" disable justification (adjust text to left margin only) |
12 .ad l | 17 .ad l |
| 18 .\" ----------------------------------------------------------------- |
| 19 .\" * MAIN CONTENT STARTS HERE * |
| 20 .\" ----------------------------------------------------------------- |
13 .SH "NAME" | 21 .SH "NAME" |
14 yasm_parsers \- Yasm Supported Parsers (Assembler Syntaxes) | 22 yasm_parsers \- Yasm Supported Parsers (Assembler Syntaxes) |
15 .SH "SYNOPSIS" | 23 .SH "SYNOPSIS" |
16 .HP 5 | 24 .HP \w'\fByasm\fR\ 'u |
17 \fByasm\fR \fB\-p\ \fR\fB\fIparser\fR\fR [\fB\-r\ \fR\fB\fIpreproc\fR\fR] \fB\fI
...\fR\fR | 25 \fByasm\fR \fB\-p\ \fR\fB\fIparser\fR\fR [\fB\-r\ \fR\fB\fIpreproc\fR\fR] \fB\fI
\&.\&.\&.\fR\fR |
18 .SH "DESCRIPTION" | 26 .SH "DESCRIPTION" |
19 .PP | 27 .PP |
20 The standard Yasm distribution includes a number of modules for different parser
s (assembler syntaxes). | 28 The standard Yasm distribution includes a number of modules for different parser
s (assembler syntaxes)\&. |
21 .PP | 29 .PP |
22 The parser is selected on the | 30 The parser is selected on the |
23 \fByasm\fR(1) | 31 \fByasm\fR(1) |
24 command line by use of the | 32 command line by use of the |
25 \fB\-p \fR\fB\fIparser\fR\fR | 33 \fB\-p \fR\fB\fIparser\fR\fR |
26 command line option. | 34 command line option\&. |
27 .SH "NASM PARSER" | 35 .SH "NASM PARSER" |
28 .PP | 36 .PP |
29 NASM syntax, selected with | 37 NASM syntax, selected with |
30 \fB\-p nasm\fR, is the most full\-featured syntax supported by Yasm. Yasm is nea
rly 100% compatible with NASM for 16\-bit and 32\-bit x86 code. Yasm additionall
y supports 64\-bit AMD64 code with Yasm extensions to the NASM syntax; see | 38 \fB\-p nasm\fR, is the most full\-featured syntax supported by Yasm\&. Yasm is n
early 100% compatible with NASM for 16\-bit and 32\-bit x86 code\&. Yasm additio
nally supports 64\-bit AMD64 code with Yasm extensions to the NASM syntax; see |
31 \fByasm_arch\fR(7) | 39 \fByasm_arch\fR(7) |
32 for details. NASM syntax is the Yasm default. | 40 for details\&. NASM syntax is the Yasm default\&. |
33 .SH "GAS PARSER" | 41 .SH "GAS PARSER" |
34 .PP | 42 .PP |
35 The GNU Assembler (GAS) is the de\-facto cross\-platform assembler for modern Un
ix 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 support
ed, and only 32\-bit x86 and AMD64 architectures are supported. There is also no
support for the GAS preprocessor. Despite these limitations, Yasm's GAS syntax
support is good enough to handle essentially all x86 and AMD64 GCC compiler outp
ut. The GAS parser can be selected with | 43 The GNU Assembler (GAS) is the de\-facto cross\-platform assembler for modern Un
ix systems, and is used as the backend for the GCC compiler\&. Yasm\'s support f
or GAS syntax is moderately good, although immature: not all directives are supp
orted, 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 pa
rser can be selected with |
36 \fB\-p gas\fR. | 44 \fB\-p gas\fR\&. |
37 .SH "SEE ALSO" | 45 .SH "SEE ALSO" |
38 .PP | 46 .PP |
39 \fByasm\fR(1), | 47 \fByasm\fR(1), |
40 \fByasm_arch\fR(7) | 48 \fByasm_arch\fR(7) |
41 .SH "AUTHOR" | 49 .SH "AUTHOR" |
42 .PP | 50 .PP |
43 \fBPeter\fR \fBJohnson\fR <peter@tortall.net> | 51 \fBPeter Johnson\fR <\&peter@tortall\&.net\&> |
44 .sp -1n | 52 .RS 4 |
45 .IP "" 3n | |
46 Author. | 53 Author. |
| 54 .RE |
47 .SH "COPYRIGHT" | 55 .SH "COPYRIGHT" |
| 56 .br |
48 Copyright \(co 2006 Peter Johnson | 57 Copyright \(co 2006 Peter Johnson |
| 58 .br |
OLD | NEW |