Go Home Go Home

Machine Instruction

Like Computer Coding, Machine Instruction is a serial of 1s and 0s
(the CPU can read 1s and 0s only)

For example,
"000100000000000000000000000010111000"
means
"add the content in memory cell 0184 into the accumulator"

A machine instruction code consists of two part:

  • Operation code(op code) - tells what operation to be done
  • operand(s) - specifies the the data for the operation

You should note that Machine Instruction is machine-dependent, i.e. different machine can have different set of Machine Instruction.

CPU can read Machine Lanuage(1s and 0s) only. All other languages, therefore, need to be translated to Machine Instruction before they can be executed.


Proceed to : Speed of CPU