01-15-2010
Does the assembler output differ between operating systems ?
The assembly code generated by assembler, from a C-source code depends on the CPU architecture underlying it, eg x-86 . Then does the assembler output of a simple C-source code (containing common function-calls of both windows and linux) differ between Operating Systems ?
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Chapters on Linux and Unix:
http://www.prenhall.com/divisions/esm/app/author_tanenbaum/custom/mos2e/
Slides, figures, code, lots of goodies on-line!
CHAPTER 10 CASE STUDY 1: UNIX AND LINUX 671
10.1. HISTORY OF UNIX 672
10.1.1. UNICS 672
... (1 Reply)
Discussion started by: Neo
1 Replies
2. Filesystems, Disks and Memory
We are currently running two servers each with remote file systems mounted on each other. They need upgrading from Solaris 2.6 to 8.
Does anyone know if there is a problem with having one server running Solaris 2.6 and the other v8?? Until we have time to upgrade them both. (2 Replies)
Discussion started by: hesmas
2 Replies
3. UNIX for Advanced & Expert Users
I am interested in hearing anyones opinions on what OS they would choose to run a MySQl db and the reasons why, of course. I have a task to build a db server for a project that will be very busy if things work as the creative minds think that it will. I am running a FreeBSD box right now on... (0 Replies)
Discussion started by: smtpgeek
0 Replies
4. Shell Programming and Scripting
Hi all,
I prepared a document on UNIX OS. Its an humble attempt to share my knowledge.
Please review the document attached and correct if any mistakes and any suggestions to make it more useful and any troubleshooting information if needed to add.
Please help in making the document to add... (2 Replies)
Discussion started by: gurukottur
2 Replies
5. Programming
Hi, folks,
I have a simple program main.c. The program is very simple, just for testing purpose. The program was proven correct by using "gcc".
Now I would compile it step by step from main.c to main.o. Here is what I did:
cpp main.c main.i <This step succeeded>
cc main.i -o... (5 Replies)
Discussion started by: meili100
5 Replies
6. UNIX for Advanced & Expert Users
Dear administrators I want to post the following question and, honestly, I don't know in which forum to post it since its general meaning.
my question is: Where the operating system are going?
Microkernel, monolithich or hybrid ?
Because this question involves more forums at the same but... (2 Replies)
Discussion started by: Puntino
2 Replies
7. UNIX for Dummies Questions & Answers
Hi :)
I have unix Operating Systems 5
I need working for user logout befor 10 minutes,In the
case that he is not active :o
what do I do? :rolleyes: (4 Replies)
Discussion started by: fakhwork
4 Replies
8. Fedora
Hello. I own a MacBook (black) running Leopard (Mac OS X 10.5.8), and I'm curious about a few things -- any help will be very, very much appreciated. I'm pretty much a newbie to Unix, although I have some very basic command-line skills with Mac OS X's Terminal. So while I know how to work the... (13 Replies)
Discussion started by: Tron55555
13 Replies
9. Google Chrome OS
we have
windows
linux- redhat ubuntu -or more i don't know
unix- solares
snow-lepord
and recently chrome
what do you think
well when i sow that all has extentions like exe -dsb i felt scared (1 Reply)
Discussion started by: Anna Hussie
1 Replies
10. Shell Programming and Scripting
Hello all
Can anyone help me to solve the below issue
I want to take user input with space separated .The number of inputs can be variable
like if user inputs
1 2 3 4
ouput will stored in as array a where i=4 and I can retreive the value like a =3
any thoughts how to do it
... (2 Replies)
Discussion started by: Pratik4891
2 Replies
as_ia(1) General Commands Manual as_ia(1)
NAME
as_ia: as - assembler for Integrity systems
SYNOPSIS
outfile] [file]
Remarks
This manpage describes on Integrity systems. For on PA-RISC systems, see as_pa(1).
DESCRIPTION
assembles the named source file file, or the standard input if file is not specified. The output of the assembler is an ELF relocatable
object file that must be processed by before it can be executed.
Assembler output is stored in file outfile. If the option is not specified, the assembler constructs a default name. If no source file is
specified, outfile will be otherwise the suffix (if present) is stripped from the name of the source file and is appended to it. Any
directory names are removed from the name so that the object file is always written to the current directory.
does not not perform any macro processing. Standard C preprocessor constructs can be used if the assembler is invoked through the C com-
piler.
Options
recognizes the following options:
Specify that the source file contains 32-bit ABI targeted code.
This option is overridden by the assembler directive in the source file. The object file is a 32-bit ELF file by default.
Specify that the source file contains 64-bit ABI targeted code.
This option is overridden by the assembler directive in the source file. The object file is a 64-bit ELF file by default.
Permit an unlimited number of errors to be tolerated before the assembly
process is abandoned. By default, one hundred errors are allowed before the assembler aborts.
Specify that the object file should be 32-bit ELF.
This is the default (see also Note that it is valid to write 64-bit ABI targeted code to a 32-bit ELF file. All 32-bit
addresses in the object file are zero-extended to 64-bit upon loading. Zero-extension, however, may invalidate any negative
addresses (such as with relocations).
Specify that the object file should be 64-bit ELF (see also
See
See
Set dependency checking.
lvl must be one of the following: or what must be one of the following: or
Produce an output object file with the name
outfile instead of constructing a default name.
Print the version information to stderr before assembling the input.
Suppress the specified warning messages.
Promote the specified warning messages to errors.
Suppress all warning messages.
EXTERNAL INFLUENCES
Environment Variables
determines the location of the message catalog for the processing of
controls which assembler to invoke and enables support for multiple (cross-) development kits. The variable points to the root of a spe-
cific SDK. No provision has been made to validate the value of the variable or the suitability of the assembler that's being invoked.
International Code Set Support
Single- and multi-byte character code sets are supported.
WARNINGS
The assembler does not check dependencies.
DIAGNOSTICS
When syntactic or semantic errors occur, a single-line diagnostic is displayed on standard error, together with the line number and the
file name in which it occurred.
FILES
assembler error message catalog
default assembler output file
SEE ALSO
cc(1), ld(1), elf(3E).
Integrity Systems Only as_ia(1)