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:
Program execution; General topics; Runtime system; Runtime library; Executable; Compiler; Interpreter; Virtual machine; Source code; Object code; Bytecode; Machine code
- Object FileAn object file is a file containing object code,...
- Object Code - LanguagesObject code is available in 23 languages. Return to...
- Java (Programming Language)Java (programming language) Not to be confused with...
- Object-Oriented ProgrammingCriticism of Object Oriented Programming OOP has become...
Object code
From Wikipedia, the free encyclopedia
Program execution |
---|
General topics |
Compilation strategies |
Notable runtimes |
|
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
Traditionally, the output of the compilation has been called object code or sometimes an object module.
- Aho, Alfred V.; Sethi, Ravi; Ullman, Jeffrey D. (1986). "10 Code Optimization". Compilers: principles, techniques, and tools. Computer Science. Mark S. Dalton. p. 704. ISBN 0-201-10194-7.
|
No comments:
Post a Comment