Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Assembly

 
webmaster forum
Activity
0%
 
New Coder
Posts: 49
Topics: 14
September 15, 2008, 06:24:51 AM

Assemble refer to one or more files that are output by the compiler as a result of program compilation. An assembly is a configured set of loadable code modules and other resources that together implement a unit of functionality. An assembly may contain types, the executable code used to implement these types, and references to other assemblies. The physical representation of an assembly is not defined by this specification. Essentially, an assembly is the output of the compiler.
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
September 15, 2008, 07:14:26 AM

I hate the way developers use similar names for different things!
Assemble refer to one or more files that are output by the compiler as a result of program compilation.

Yup, dont confuse this with assembly code though, - its very possible (and people do) write assembly code by hand, for a number of reasons.

...An assembly may contain types, the executable code used to implement these types, and references to other assemblies.

It depends what you mean by types. A common meaning of type wrt programming languages is the type of a variable (i.e. integer, character, boolean.) This information is generally not present as we go to a lower level of abstraction.

The physical representation of an assembly is not defined by this specification..


Nope, id guess it would be implementation specific.

Essentially, an assembly is the output of the compiler.

It depends on what compiler you are talking about - and if you mean assembly language or  assembly in the .NET way. Generally, no its not (for compilers.) You could argue that a compiler "produces" an executable, which might be machine code or bytecode etc... Assembly code can be thought of as a higher level machine code, and still needs to be translated by an assembler to produce the machine code (which is executable.) Compilers are very rarely one big monolith of a program. Instead they are a chain of different specific tools. For instance, the compiler I wrote for Mesham, a parallel programming language we have developed, generates C99 code (which links against MPI and my runtime library) which then gets "processed" by a C compiler. To the programmer this is all completely hidden but we get the added benefit of portability (with care on our part) and use of the C compiler's optimisation process (as well as not having to reinvent the wheel!)

Nick
« Last Edit: September 15, 2008, 07:20:32 AM by polas »

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
dianna  Offline
Activity
0%
 
Regular Coder
Posts: 88
Topics: 10
WWW
August 07, 2011, 11:30:06 PM

An assembly language is a low-level programming language for computers, microprocessors, microcontrollers, and other programmable devices. It implements a symbolic representation of the machine codes and other constants needed to program a given CPU architecture. This representation is usually defined by the hardware manufacturer, and is based on mnemonics that symbolize processing steps (instructions), processor registers, memory locations, and other language features. An assembly language is thus specific to a certain physical (or virtual) computer architecture. This is in contrast to most high-level programming languages, which, ideally, are portable.

Pakistan's Local Search engine
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 29, 2012, 07:10:34 AM