YASM_PARSERS(7) Yasm Supported Parsers YASM_PARSERS(7)NAME
yasm_parsers - Yasm Supported Parsers (Assembler Syntaxes)
SYNOPSIS
yasm -p parser [-r preproc] ...
DESCRIPTION
The standard Yasm distribution includes a number of modules for different parsers (assembler syntaxes).
The parser is selected on the yasm(1) command line by use of the -p parser command line option.
NASM PARSER
NASM syntax, selected with -p nasm, 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 yasm_arch(7) for details.
NASM syntax is the Yasm default.
GAS PARSER
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. 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 output. The GAS parser can be selected with -p gas.
SEE ALSO yasm(1), yasm_arch(7)AUTHOR
Peter Johnson <peter@tortall.net>
Author.
COPYRIGHT
Copyright (C) 2006 Peter Johnson
Yasm October 2006 YASM_PARSERS(7)
Check Out this Related Man Page
binfmtasm(1) binfmt_C binfmtasm(1)NAME
binfmtasm-interpreter - binfmt_misc Assembly handler
SYNOPSIS
binfmtasm-interpreter Assembly-source-file-name [command-line opions ...]
DESCRIPTION
binfmtasm-interpreter compiles an assembly source file specified on the command-line using gas compiler, and executes the resulting file.
It is designed to be used as a handler for binfmt_misc handler, which is a system used in Linux for handling arbitrary files as executa-
bles.
The command-line options are passed on to the compiled binary.
FILE MAGIC
There is a requirement for C++ source files to have the magic characters /*BINFMTASMCPP: at the beginning of the file.
That line also is used to specify the additional command-line options for the assmebler.
ENVIRONMENT
GAS The compiler used. The default is to use gcc
AS The compiler used, if GAS variable is not set.
Will fall back to using GCC and CC
BINFMTCTMPDIR
Temporary directory used for binary and execution.
Falls back to $TMPDIR $TEMPDIR or /tmp
BINFMTC_DEBUG
enables debug output if set.
BINFMTASM_GAS_OPTS
Additional G++ options. Use BINFMTC_DEBUG to verify the options being passed on to g++.
The default is -O2 -Wall
AUTHOR
Junichi Uekawa (dancer@debian.org)
Upstream page is available at http://www.netfort.gr.jp/~dancer/software/
SEE ALSO binfmtc-interpreter(1), binfmtcxx-interpreter(1), binfmtf-interpreter(1), binfmtf95-interpreter(1), binfmtgcj-interpreter(1)binfmt_misc Dancer 2005 May 3 binfmtasm(1)
FYI, the GCC compiler is available for OS X. This means you can easily compile all the super GCC opensource. You can see the GCC and other
projects <A HREF=http://www.opensource.apple.com//projects/darwin/1.2/projects.html>HERE</A>.<P>
Also, I looked into how OS X handles OS 9 applications. ... (12 Replies)
Hello all! My boss wants we to learn a little bit of Unix in the next couple of months so I can broaden my opportunities. What processors will Unix run on? Intel... AMD32.... AMD64... Help Please. I need to build a computer that can support Unix to begin learning. Thanks (3 Replies)
What is the command line syntax for the if exist command in Unix like in DOS/WIN which test for the existance of a file?
Is the syntax the same in a script?
Thanx (3 Replies)
I am getting an error "ftpNotes.sh: syntax error at line 8 : `<<' unmatched"
#!/bin/ksh
PATH=/usr/sbin/:/usr/bin:/usr/ucb:/etc:/usr/local/bin:.
cd $HOME
if ;then
if ; then
echo 'DSC file already ftp to epm server'
else
ftp -n epmdev00 <<SCRIPT... (1 Reply)
Hi ...
I have a file saju-list with the following contents
Nidesh:25
Dinto:26
Johnson:28
I want to write a script to display the output like this :
NAME Nidesh
25
NAME Dinto
26
NAME Johnson
28
I write my script like this :
for x in $(cat /in/tmp/saju-list)
do (6 Replies)
Hi
how to color syntax in terminal in OS X ?
I wrote in .vimrc:
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
syntax on
and no results.
Best regards (1 Reply)
The learning curve with UNIX is a bit steep and devastatingly humbling.
Anywho, I need GCC so that I can install the software that I actually need and am terribly stuck. When I attempt to configure gcc I get the following error:
configure: error: installation or configuration problem: C... (2 Replies)
Hi there,
I have built myself a GCC (3.4.4) for PowerPC with a cross compilation toolchain running on a x86, together with glibc-2.3.4 and binutils-2.16. On the PowerPC there is a system runnign already (only console ofc, nothing "cosy", kernel-2.6.15).
So my question is how to propperly... (1 Reply)
Hi Guys,
I have a following code in cm1.sh script.
cnt=`sqlplus -s <un>/<pwd> << !EOF
set heading off verify off pagesize 0
select count(*) from fnd_svc_components where component_name like '%Mailer%' and component_status != 'RUNNING';
exit;
!EOF`
echo $cnt
if ; then
sqlplus -s... (1 Reply)
Hi all
I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware.
Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Hi,
I am trying to execute the above attached script. and i am getting the error as syntax error at line 8: `<<' is not matched.
While i am trying to run that particular line (cat <<EOF > /tmp/query.sql) independently in the prompt it is running successfully without any error.
I am running... (2 Replies)
Hi,
Can someone tell me what will be the difference between the binary that is built on Redhat8 and Suse9 even when compiler version is same i.e GCC 3.2.3 is used on both?I mean if I build an application on Suse9 using GCC 3.2that was supposed to be built on Redhat8 using GCC 3.2 what all... (1 Reply)
Hi,
Can someone tell me what will be the difference between the binary that is built on Redhat8 and Suse9 even when compiler version is same i.e GCC 3.2.3 is used on both?I mean if I build an application on Suse9 using GCC 3.2that was supposed to be built on Redhat8 using GCC 3.2 what all... (1 Reply)
Hi,
Can someone tell me what will be the difference between the binary that is built on Redhat8 and Suse9 even when compiler version is same i.e GCC 3.2.3 is used on both?I mean if I build an application on Suse9 using GCC 3.2that was supposed to be built on Redhat8 using GCC 3.2 what all... (4 Replies)
Hello world,
I thought this might be a great start to help me with an assignment I have that requires me to write an assembly program that mimics a 32 bit Linux command shell:
When launched, your program will perform the following steps in a loop:
1. Print a prompt, specifically “$ “... (1 Reply)