English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

6 answers

It depends where the textual machine assembly language instruction came from. A whole hand-written program or module of text assembler is translated into a whole program (*.exe) or module (*.obj) of binary machine assembly language instructions by an ASSEMBLER. A program or module in 'C' or a similar medium-level language is often translated directly to binary assembly by the COMPILER. Some compilers allow text assembler within the 'C' program, so they would translate that at the same time. Some compilers can display the text form of the binary assembly they have translated the 'C' into, but that's only for the user's convenience, and doesn't mean that they generate their binary assembly via text assembler. But, a few compilers do generate text assembler, and pass it to the assembler program for final translation.

Really high-level language systems generate binary pseudo-assembler for an imaginary machine which would be good for that language if it could be built. Then instead of building it, the system authors write an INTERPRETER program which steps through the pseudo-assembler code and performs each instruction as it is encountered, according to the specification of the imaginary machine. In this case, there is no true machine assembler corresponding to the user's original program at all.

2006-10-12 05:28:35 · answer #1 · answered by Anonymous · 0 0

Is this a trick question? This question does not make sense to me.

Traditionally, an "instruction" is a line of code in an assembly language. A "statement" is a "line" (well, usually a line) of code in an high-level language.

Compiler compiles statements into assembly language. Assembler translates textual assembly language into machine code. So, if the question meant former, it was during compiling. If it meant latter, it was during assembling.

If this is your homework question, your TA didn't know what he/she was saying.

2006-10-12 05:01:50 · answer #2 · answered by muon 3 · 0 0

When you compile a program, or when it is autocompiled for interpereted languages, is when it is turned into byte (or machine) code.

Assembly is one step above this.

2006-10-12 05:30:16 · answer #3 · answered by John J 6 · 0 0

Generic Stack Assembly Language Simulation
A generic stack machine assembly language has only six operations: Push, Pop, Add, Sub, ... An assembly language program...
www.frontiernet.net/~prof_tcarr/StackM...
Amazon.com: Introduction to 80X86 Assembly...
... .com: Introduction to 80X86 Assembly Language and Computer Architecture: Books: ... Embeded Systems &...
amazon.com/Introduction-Assembly-Langu...
Amazon.com: Assembly Language for...
Amazon.com: Assembly Language for Intel-Based Computers (4th Edition): Books: ... Embeded Systems & Machine/Assembly...
amazon.com/Assembly-Language-Intel-Bas...

2006-10-12 04:53:42 · answer #4 · answered by Anonymous · 0 4

at compile time.

2006-10-12 04:53:56 · answer #5 · answered by Charles C 2 · 5 0

when the little button is pushed into the on position.

2006-10-12 04:53:08 · answer #6 · answered by joey h 3 · 0 4

fedest.com, questions and answers