Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Object code is produced when an interpreter or a compiler translates source code into recognizable and executable machine code.
Object code is a set of instruction codes that is understood by a computer at the lowest hardware level. Object code is usually produced by a compiler that reads some higher level computer language source instructions and translates them into equivalent machine language instructions.
Just as human beings understand native languages, computers understand machine language, which is made up of object code. Software applications are built in multiple programming languages with a standard objective: to execute processes via a machine.
A compiler translates source code into object code, which is stored in object files. Object files contain object code that includes instructions to be executed by the computer. It should be noted that object files may require some intermediate processing by the operating system (OS) before the instructions contained in them are actually executed by the hardware.
Object file examples include common object file format (COFF), COM files and ".exe" files.