Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a assembler, in my college there is a ia32build assembler. I have tried searching it in Google, but I can't find it. I have x86 processor and I want to install it in Ubuntu 10.4.

Edit 1 : I am not sure about the assembler name but we assemble it by ia32build command.

Edit 2 : The syntax is quite different from nasm. Here's my sample code.

.intel_syntax noprefix

    msg:    .asciz  "Hello World !"


    Prompt msg

.global _entry



share|improve this question
You've got me curious, what is an intel assembler? Sorry that I can't help. – KronoS Aug 28 '10 at 16:16
@Searock You should probably try asking at your college. It could very easily happen that you use a custom made program there and there. – AndrejaKo Aug 28 '10 at 17:00
@Searock OK, I'll have to make a bit longer explanation. Google search didn't give any meaningful results for ia32build, so it's not well known assembler. It could happen that someone from your collage programmed or hired somebody to program the ia32build specifically for use at your collage. If that is true, then only way to obtain the program would be from someone related to your college. You could try asking other students or professors who teach the subject where you use the ia32build. – AndrejaKo Aug 28 '10 at 17:26
@Searock Aha! You seem to be confusing assembler and assembly! Those are two different things. Assembly is the instruction set and each processor has its own instruction set. Assembler turns assembly into machine language (ones and zeroes) used by the processor. Assembly may be different for different assemblers, even if the instruction set is same. Take a look at styles section of Since you seem to be confused by this, it'd be best for you to use assembler provided by your collage. – AndrejaKo Aug 28 '10 at 18:03
@AndrejaKo Thanks, for clearing the confusion. I think Jan Claeys has helped me in identifying the syntax. – Searock Aug 28 '10 at 18:12
up vote 3 down vote accepted

The default assembler on linux and many other open source systems is as (aka GAS, and part of binutils in the GCC compiler toolchain). It supports IA32 as well as lots of other architectures.

Alternatively, you can use nasm or yasm.

One thing about GAS (the GNU assembler) is that it uses a different syntax from what most people are used to (that is, the syntax used by most other assemblers). There is a tool to convert from "intel" to "gas" syntax though, appropriately named intel2gas.

Edit: actually, your syntax looks like GAS syntax...

share|improve this answer
(+1) and how do I assemble using GAS command? – Searock Aug 28 '10 at 18:00
I have never used it directly, but I assume as filename should work, maybe with some additional options. And info as should show you the whole documentation. – JanC Aug 28 '10 at 19:07

I am not familiar with the ia32build assembler, however both Nasm and Yasm are both commonly used x86 assemblers. I personally have only ever used Nasm. It seems to be a bit more mature with more documentation, but either one should work for you on Ubuntu.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .