Low-level programming language: Difference between revisions

Content deleted Content added
Tag: Text added at end of page
Line 8:
Low-level programming languages are sometimes divided into two categories: ''first generation'', and ''second generation''.
 
 
==Machine code==
[[Machine code]] is the only language a microprocessor can process directly without a previous transformation. Currently, programmers almost never write programs directly in machine code, because it requires attention to numerous details which a high-level language would handle automatically, and also requires memorizing or looking up numerical codes for every instruction that is used. For this reason, [[second generation programming language]]s provide one abstraction level on top of the machine code.
 
Example: A function in 32-bit [[x86]] machine code to calculate the ''n''th [[Fibonacci number]]:
Line 101 ⟶ 100:
 
{{DEFAULTSORT:Low-Level Programming Language}}
[[Category:Programming language classification]]#
 
 
 
==Machine code==
[[Machine code]] is the only language a microprocessor can process directly without a previous transformation. Currently, programmers almost never write programs directly in machine code, because it requires attention to numerous details which a high-level language would handle automatically, and also requires memorizing or looking up numerical codes for every instruction that is used. For this reason, [[second generation programming language]]s provide one abstraction level on top of the machine code.