Categories: Processor

Instructions In Microprocessor

What is Instruction?

An instruction is a binary pattern designed inside the microprocessor to perform a specific function. In other words, it is actually a command to the microprocessor to perform a given task on specified data.

Instruction Set

The entire group of these instructions are called instruction set. The instruction set determines what functions the microprocessor can perform.

Instruction Format

Instruction Format

Each instruction has two parts: one is the task to be performed called the operation code (opcode) and the other is the data to be operated on called the operand (data).

Instruction And Word Size

1. One word or one byte Instruction

It includes the opcode and operand in the same byte.

Example: ADD B

2. Two word or two byte Instruction

First byte specifies the opcode and second byte specifies the operand.

Example: MVI A, 05

3. Three word or three byte Instruction

The first byte specifies the opcode and the following two bytes specify the 16 bit address. The second byte is lower order and the other is higher order.

Example: JMP 2085H

Robin

Share
Published by
Robin

Recent Posts

Hard Computing

What is hard computing? Hard computing is a traditional computing. It requires a precisely stated…

5 years ago

Soft Computing

Soft computing is a problem solving technology. It tends to fuse synergically different aspects of…

5 years ago

Cluster Computing

Cluster computing is an approach to achieve high performance, reliability or high throughput computing by…

5 years ago

Magnitude Comparator

Magnitude Comparator is a combinational circuit capable of comparing the relative magnitude of two binary…

9 years ago

Full-Subtractor

Full subtractor is a combinational circuit capable of performing subtraction on two bits namely minuend…

9 years ago

Half-Subtractor

Half-subtractor is a combinational circuit capable of subtracting a binary number from another binary number.…

9 years ago