Explore BrainMass

Machine Code

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

When might it be appropriate to write software using machine code?

© BrainMass Inc. brainmass.com October 25, 2018, 12:02 am ad1c9bdddf

Solution Preview

When might it be appropriate to write software using machine code?

Machine Code, or machine language, in computer science, low-level programming language that can be understood directly by a computer's central processing unit (CPU). (Encarta, 2008)

Machine code is extremely difficult for humans to read because it consists merely of patterns of bits (i.e., zeros and ones). The specific set of instructions that constitutes a machine code depends on the make and model of the computer's CPU. For instance, the machine code for the Motorola 68000 microprocessor differs from that used in the Intel Pentium microprocessor.

Programmers who want to work at the machine code level instead usually use assembly language, developed by American mathematician Grace Murray Hopper in 1952, a human-readable notation for the machine language in which the instructions represented by patterns of zeros and ones are replaced with alphanumeric symbols (called mnemonics) in order to make it easier to remember and work with them (including reducing the chances of making errors). Like machine code, the specific set of instructions that make up an assembly ...

Solution Summary

Disscussion of when it might be appropriate to write software using machine code?

See Also This Related BrainMass Solution

Interpreted Vs Compiled Code

Interpreted code executes much more slowly than compiled code, yet several systems use them extensively. The most well known are Visual Basic (it has two modes: interpreter mode and compiler mode), JavaScript and the special case of interpretation of Java programs. Discuss the merits and weaknesses of interpreting, as opposed to compiling, and explain when and why they are used.

View Full Posting Details