Jump to content

Native code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 208.230.167.50 (talk) at 20:21, 10 February 2004 (Native Code is Machine specific information.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Native code - code that is specific for a given cpu (possibly including multiple chips or cpu's). By definition, native code is not portable and can only be expected to work on one type of computer cpu.

Code is the data and instructions (bits and bytes) which cause the cpu to process data, send signals, operate external devices, etc.  (See Computer Languages)  In virtually all modern digital computers this code exists physically as binary data.  That is, the code is represented by two different states of some media - two different voltages, two different magnetic states, two different optical states, etc.  The electronic circuits on the chip or chips determines how this data affects the machine.  Different cpu's have different designs so that the same binary data may cause completely different things to happen on two different machines.  

<Please enhance this rudimentary discussion>