Sunday, February 28, 2016

Object code

Object code is in machine language  or moving in that direction which is what a computer actually understands in zeros and ones. So, all computer languages have to be converted to this because in the end a computer doesn't work in any language but machine language of zeros and ones. 

People design in languages like C, Cplus plus and other languages in the old days like Basic, Cobol an Fortran and often need compilers to convert this to object code closer to what a computer can actually read. However, now these compilers are often build into whatever system you are using and might be resident directly in your computer operating system.

Also, TCPIP  is a protocol program that allows all computers (whatever languages they are using) to communicate over the Internet.

You could think of TCPIP like a protocol Droid that speaks many many different languages (like C3P0) of Star Wars that is capable of converting almost any language to almost any language.

begin quote from:

Object code - Wikipedia, the free encyclopedia

en.wikipedia.org/wiki/Object_code
Program execution; General topics; Runtime system; Runtime library; Executable; Compiler; Interpreter; Virtual machine; Source code; Object code; Bytecode; Machine code

 

Object code

From Wikipedia, the free encyclopedia
Object code, or sometimes an object module, is what a computer compiler produces.[1] In a general sense object code is a sequence of statements or instructions in a computer language,[2] usually a machine code language (i.e., binary) or an intermediate language such as RTL.
Object files can in turn be linked to form an executable file or library file. In order to be used, object code must either be placed in an executable file, a library file, or an object file.
Object code is a portion of machine code that has not yet been linked into a complete program. It is the machine code for one particular library or module that will make up the completed product. It may also contain placeholders or offsets, not found in the machine code of a completed program, that the linker will use to connect everything together. Whereas machine code is binary code that can be executed directly by the CPU, object code has the jumps partially parameterized so that a linker can fill them in.
An assembler is used to convert assembly code into machine code (object code). A linker links several object (and library) files to generate an executable.

References




  • "Compiler". TechTarget. Retrieved 1 September 2011. Traditionally, the output of the compilation has been called object code or sometimes an object module.




  • No comments: