Difference between revisions of "Machine code"
Jump to navigation
Jump to search
m (Added links, minor clarifications) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | '''Machine code''' is a sequence of binary | + | '''Machine code''' is a sequence of [[binary]] values that control a central processing unit ([[CPU]]). On very early [[Computer|computers]], machine code was the [[Programming language]] used to program computers. Since the 1960s, however, [[computer software]] is commonly written in a higher level language such as [[C (programming language)|C]], [[Java (programming language)|Java]], [[FORTRAN]], and [[Assembly language]]. |
| − | For many CPUs, Machine code is generated from assembly language via an assembler, or sometimes directly from higher level languages such as C, via | + | For many CPUs, Machine code is generated from assembly language via an assembler, or sometimes directly from higher level languages such as C, via a [[compiler]]. |
== External links == | == External links == | ||
| − | *[http:// | + | *[http://computer.howstuffworks.com/microprocessor.htm How Microprocessors Work] |
[[Category:Computers]] | [[Category:Computers]] | ||
[[Category:Software]] | [[Category:Software]] | ||
Latest revision as of 17:28, May 14, 2021
Machine code is a sequence of binary values that control a central processing unit (CPU). On very early computers, machine code was the Programming language used to program computers. Since the 1960s, however, computer software is commonly written in a higher level language such as C, Java, FORTRAN, and Assembly language.
For many CPUs, Machine code is generated from assembly language via an assembler, or sometimes directly from higher level languages such as C, via a compiler.