answersLogoWhite

0

The assembly part of a compiler is at the back end of the build process. A build process takes instructions from a programming language and converts them into machine instructions. When you need to make machine instructions for a machine that is different than the type you are programming on you need a cross compiler. For instance, if you have a PC with an Intel X86 and you want machine instructions for an Xbox with a PowerPC inside then you would need to cross compile. You could take some intermediate output from your compilation process on the PC and use a cross assembler to make PowerPC instructions. Thus you would be using a cross assembler.

User Avatar

Wiki User

20y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
More answers

A cross-assembler is an assembler that generates machine language for a different type of computer than the one the assembler is running in. It is used to develop programs for computers on a chip or microprocessors used in specialized applications that are either too small or are otherwise incapable of handling the development software.

User Avatar

Wiki User

13y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Difference between an assembler and cross assembler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between an assembler and a translator?

what is the difference between an assembler and the translator


What is the Difference between assembler and macro?

I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...


What is the difference between cross hairs and stadia hairs?

cross hair cross each other but stadia hair do not cross each other


What is difference between assembler and linker?

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.


What is a low-level language?

A low-level language is any symbolic computer programming language that has a low-level of abstraction between the language itself and the machine code that it produces. Assembler language has a near 1:1 relationship with its resultant machine code and is therefore a low-level language. In fact, the only things lower than assembler language is machine code itself and disassembly, which is the reverse of assembly, both of which have no abstraction whatsoever. The only real difference between assembler language and disassembly are that disassembly has none of the comments and none of the symbolic references used by the original assembler, since both were stripped out during assembly. However, a competent hacker, with the aid of the disassembler, can reconstruct a facsimile of the original assembler from the machine code disassembly, thus permitting software to be reverse-engineered.