Professional Documents
Culture Documents
Computer Instructions
The basic computer has three instruction code formats. The Operation code (opcode) part
of the instruction contains 3 bits and remaining 13 bits depends upon the operation code
encountered.
There are three types of formats:
Memory Reference Instruction
Register Reference Instruction
Input-Output Instruction
OpCode:
Examples are “add memory location A to memory location B,” or “store the number five in
memory location C.” “Add” and “Store” are the opcodes in these examples.