answersLogoWhite

0

Machine language is the commands the processor directly knows how to carry out. They go straight to the processor without modification. This is faster than high level programming languages, like Java, Visual Basic, or Python, because the commands in those languages need to be interpreted for the processor.

Therefore, machine language has access to everything the processor has to offer, instead of some predefined commands the programming language gives you.

However, since machine language coding isn't changed a bit or even checked for errors before execution, it can cause the device to crash in the event of an error.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
More answers

in machine language, the very basic and specific commands may be used, like to where the specific data will be stored, how operations and functions be carried out. and since it is in a code the machine can understand, it may not need a compiler.

User Avatar

Wiki User

16y ago
User Avatar

Machine language is the only language understood by a machine. Machine's are not intelligent, they simply have "modes" that can be defined by configuring a bank of on/off switches. If there are, say, 8 switches, then the machine has 256 unique modes of operation because there are 2^8 different ways to configure 8 switches.

Each configuration can be written as a binary value, in this case an 8-bit value that determines which switches are on (1) and which are off (0). That binary value can be translated into a decimal value, thus each mode can be represented by a unique value in the range 0 to 255. We call these values opcodes because each code defines a mode of operation. We can instruct the computer to perform a sequence of operations by rapidly changing the value of the opcode. We do this by storing the sequence as a machine code program which must obviously be written in the machine's own language.

Although we typically use high-level languages to program machines, the computer does not understand these languages so they must be translated into machine code. This is typically done by a compiler, which is itself a machine code program. High-level languages can also be interpreted, which simply means each high-level statement is converted into machine code and immediately executed by the interpreter. Interpretation allows programs to be run immediately but result in much lower performance because the code cannot be optimised. Compilers translate the entire program at once and can optimise the code. Once compiled, the machine code program can be executed as often as required without further translation. However, any changes to the source code means the whole program must be recompiled. In large programs this can easily take several hours. However, programs can be modularised so only the modules affected by a change need be recompiled. Nevertheless, compiled programs take longer to debug because of the need to recompile the program.

User Avatar

Wiki User

10y ago
User Avatar

It is a most efficient in term of storage area use and execution speed and it also allows programmer to utilize the computer's potential for processing data.

User Avatar

Wiki User

16y ago
User Avatar

it is fast processing. it is machine dependent

User Avatar

Wiki User

12y ago
User Avatar

It can do the same things while being much, much smaller.

User Avatar

Wiki User

12y ago
User Avatar

i also dont know

User Avatar

Wiki User

12y ago
User Avatar

It is only depends on binary number.

User Avatar

Wiki User

13y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Disadvantages of machine language
Write your answer...
Submit
Still have questions?
magnify glass
imp