Thursday, February 22, 2018

Word of the Day: machine code (machine language)

Word of the Day WhatIs.com
Daily updates on the latest technology terms |February 22, 2018
machine code (machine language)

Machine code, also known as machine language, is the elemental language of computers. It is read by the computer's central processing unit (CPU), is composed of digital binary numbers and looks like a very long sequence of zeros and ones. Ultimately, the source code of every human-readable programming language must be translated to machine language by a compiler or an interpreter, because binary code is the only language that computer hardware can understand.

Each CPU has its own specific machine language. The processor reads and handles instructions, which tell the CPU to perform a simple task. Instructions are comprised of a certain number of bits. If instructions for a particular processor are 8 bits, for example, the first 4 bits part (the opcode) tells the computer what to do and the second 4 bits (the operand) tells the computer what data to use.

01001000 01100101 01101100 01101100 01101111 00100001

 

Depending upon the processor, a computer's instruction sets may all be the same length, or they may vary, depending upon the specific instruction. The architecture of the particular processor determines how instructions are patterned. The execution of instructions is controlled by firmware or the CPU's internal wiring.

Human programmers rarely, if ever, deal directly with machine code anymore. If developers are debugging a program at a low level, they might use a printout that shows the program in its machine code form. The printout, which is called a dump, is very difficult and to work with a tool called a dump. Utility programs used to create dumps will often represent four bits by a single hexadecimal to make the machine code easier to read and contain other information about the computer's operation, such as the address of the instruction that was being executed at the time the dump was initiated.

Quote of the Day

"Many applications are developed in programming languages that are not compiled to efficient machine code before deployment, but that are translated by an interpreter to machine code while the application runs." - David Bicknell

 

Trending Terms

reverse engineering
compiler
firmware
hexadecimal
programming language generations
source code

 
Learning Center

Few own up to source code theft cybersecurity threats
Are you adequately protected against source code theft? Stealing trade secrets is often an inside job done by staffers about to change jobs.

Binary code scanners, like purchasing security vulnerability insurance
Learn why binary code scanners are critical to finding vulnerabilities in open source components and keeping the connected, IoT world safe.

Use APM tools to find app anomalies, wherever they occur
Applications built from hundreds of cloud services glued together with APIs benefit when developers use APM tools to root out hard-to-find bottlenecks.

Apple's confidential iBoot source code leaked online
Apple's iBoot source code was discovered on a public GitHub repository. The company has since ordered its removal, confirming the code's legitimacy.

Obfuscation may prevent reverse engineering
Reverse engineering can reveal all of the source code in your .NET applications. Expert Dan Cornell recommends code obfuscation as a protective measure.

Writing for Business

Open source describes any software whose source codes in the public domain or that is copyrighted and distributed under an ______________.

a. open source license
b. open-source license

Answer


 

Stay In Touch
For feedback about any of our definitions or to suggest a new definition, please contact me at: mrouse@techtarget.com

 

Visit the Word of the Day Archives and catch up on what you've missed!

 

FOLLOW US

TwitterRSS
About This E-Newsletter
This e-newsletter is published by the TechTarget network. To unsubscribe from Whatis.com, click here. Please note, this will not affect any other subscriptions you have signed up for.
TechTarget

TechTarget, Whatis, 275 Grove Street, Newton, MA 02466. Contact: webmaster@techtarget.com

Copyright 2018 TechTarget. All rights reserved.

No comments: