76
votes

I've been taught that "assembly" is what you write in your files, to have your "assembler" convert it into binary code.

But I see these two terms mixed and matched in various works. I've even heard that you write "assembler", after which an "assemblator" makes it executable.

Tell me, please, what's the right words to use?

7
assembly to assembler, is like c to gcc.Sam Liao
Don't forget about .net assemblies, they creates one more "terminology bug"zxcat
Personally I think it went wrong when the term "National Assembly" was introduced during the French revolution :-)Marco van de Voort

7 Answers

87
votes

Actually, the language is called "Assembly Language", and the tool to convert it to machine code is the "Assembler".

More info on Wikipedia: http://en.wikipedia.org/wiki/Assembly_language

13
votes

The purpose of language is to communicate.

If people say things, and other people understand them, they are using the correct terms.

We have rules to make it easier to understand, but in my opinion, if you say what sounds best for you, and let other people say what sounds best for them, and you all understand what you all mean, then everything will be peachy.

For what it's worth, I prefer to write "assembly" and assemble it with an "assembler." I think "assemblator" should be the word of the day someday, and everyone should try to use it as often as possible.

10
votes

The assembly is a piece of code/executable that is in machine executable code. This might be an obj, exe, dll, ... It is the result of a compile.

The assembler is the "compiler" that compiles code into machine executable code. This code has been written in the language "Assembly Language". Assembly language in common English is often called Assembler.

Assemblator seems to be a creative word, born out of necessity to reduce confusion caused by missusing the other terms or a term in a foreign language (see other answers).

8
votes

This might be a (human) language issue - the Swedish word for "assembler" appears to be "assemblator"...

See also: http://sv.wikipedia.org/wiki/Assemblator

5
votes

I honestly don't know if there is a 'standard' terminology that suitably differentiates all these concepts. (Example: If I say "ASM" what am I talking about?)

I can give you my definitions, if that helps any.

Machine Code

This is the compiled output of an assembler or compiler.

Assembly

This is the human readable form of machine code. (Or, machine code as we know it.)

I sometimes use the term assembly in place of machine code because it's implied that I'm not going to actually read the machine code, but rather the assembly.

Assembly Language

This refers to a specific machine code language such as x86 assembly.

Assembler

This is a tool like MASM\FASM used for compiling source code into machine code.

Assembler Language

This is the language used by any given assembler.

I view this as being different from assembly language because assemblers can add their own syntactic sugar which does not exist in the underlying assembly language. (High level functions, macros, etc,.)

1
votes

I'm guessing the origin of these terms goes back to the classic dictionary defintion of assembly: "an assembly of machine instructions to achieve a purpose" which is probably how the computing pioneers thought of a small group of machine instructions. Then an "assembler" is a device that takes individual machine instructions an puts them together into an "assembly".

0
votes

While the code that converts ASM files to PRG or whatever is sometimes referred to as a compiler, that seems to be wrong, it's called assembler, but I'm not quite sure about assemblator, at least I never heard that before. Wikipedia says that assembly language and assembler language are both fine, I personally call it assembler language because I see that more often, at least on german websites. It also says "The conversion process is referred to as assembly, as in assembling the source code. ". I hope that helped.