Content deleted Content added
m →Machine code: Wordsmithing about machine code |
m →Machine code: More wordsmithing on machine code |
||
Line 11:
== Machine code ==
{{expand section|date=February 2012}}
[[Machine code|Machine Code]], also known as native code, is a program which is written in machine language. Machine code is usually considered the lowest level of code for a computer (barring [[microcode]]), that, in its lowest level form, is written in binary (0s and 1s), but is often written in [[hexadecimal]] or [[octal]] to make it a little easier to handle.<ref>{{Cite web|url=https://marketbusinessnews.com/financial-glossary/machine-code/|title=What is machine code? Definition and examples|website=Market Business News|language=en-US|access-date=2019-11-23}}</ref> These [[Instruction Sets|instruction sets]] are than interpreted by the computer. With this, there is no need for translation. machine code is strictly numerical and usually isn't what programmers program in, due to this complex nature.<ref>{{Cite web|url=https://marketbusinessnews.com/financial-glossary/machine-code/|title=What is machine code? Definition and examples|website=Market Business News|language=en-US|access-date=2019-11-23}}</ref> Machine code is also as close as you can get to the [[Processor (computing)|processor]], so using this language, you are programming specifically for that processor as machine code for each processor may differ.<ref>{{Cite web|url=https://www.webopedia.com/TERM/M/machine_language.html|title=What is Machine Language? Webopedia Definition|last=Beal|first=Vangie|website=www.webopedia.com|language=en|access-date=2019-11-23}}</ref> Typically [[programmer]]s will code in [[High-level programming language|high-level languages]] such as [[Java (programming language)|Java]], which gets gets translated into [[Assembly language|assembly code]], which than translates it into machine code. Since each [[Central processing unit|CPU]] is different, programs need to be recompiled or rewritten in order to work on that CPU.<ref>{{Cite book|url=https://books.google.com/books?id=b5x_NHo5g2oC&pg=PA365&lpg=PA365&dq=Programs+must+be+rewritten+or+recompiled,+therefore,+to+run+on+different+types+of+computers.&source=bl&ots=rdcQxQuyq_&sig=ACfU3U2f8O7PoqpvrXOfdA7eCZl6i_Iqpw&hl=en&ppis=_e&sa=X&ved=2ahUKEwjDwMjhvv_lAhVMeawKHVghDQcQ6AEwAHoECAYQAQ#v=onepage&q=Programs%20must%20be%20rewritten%20or%20recompiled,%20therefore,%20to%20run%20on%20different%20types%20of%20computers.&f=false|title=Information Technology in Business|last=Manzoor|first=Amir|date=2012-03-19|publisher=Amir Manzoor|isbn=978-1-4699-9188-7|language=en}}</ref>
== Data ==
|