Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

NTA UGC NET 2023 » NTA Study Materials » Computer Science » Format of Instruction
doubtsolving_ntaugc

Format of Instruction

In this article, we will discuss the format of instructions, types of instructions format, examples of the format of instructions and parts of instruction format.

Table of Content
  •  

The instructions provided to computers help the computer perform a task. The computers comprise instructions in groups called fields. Each field has different information and different significance based on which the CPU decides what to perform. The group of bits is used to perform a particular operation on the data. These operations are called instruction code or instruction format. The data on which operations are performed are stored in the computer. Different computers have their own set of instructions. The CPU or processor takes all these instructions from memory and decodes the bits to carry out the instructions.

The layout of bits of instruction is called an instruction format. The instruction format contains opcode (the instructions to be executed), operand (the data on which the instructions are to be executed), and addressing mode.

Format Of Instruction

The set of instructions that manages the operation codes is called the format of instruction. The design of bits in instruction is supported by the format of instruction. The length of instruction is generally preserved in multiples of character, which is 8bits. The instruction format determines the behaviour and complexity of instruction. Depending upon the number of addresses, the format of instruction is of variable length.

 Types of instruction format include:

  •  Zero(0) Address Instruction format

  • One(1) Address Instruction format

  • Two(2) Address Instruction format

  • Three(3) Address Instruction format

Types Of Instruction Format

Types of instruction formats are :

1. Zero(0) Address Instruction format 

  • The instruction format in which there is no address field is called zero address instruction

  • In zero address instruction format, stacks are used

  • In zero order instruction format, there is no operand

2. One(1) Address Instruction format 

  • The instruction format in which the instruction uses only one address field is called the one address instruction format

  • In this type of instruction format, one operand is in the accumulator and the other is in the memory location

  • It has only one operand

  • It has two special instructions LOAD and STORE

3. Two(2) Address Instruction format 

  • The instruction format in which the instruction uses only two address fields is called the two address instruction format

  • This type of instruction format is the most commonly used instruction format

  • As in one address instruction format, the result is stored in the accumulator only, but in two addresses instruction format the result can be stored in different locations

  • This type of instruction format has two operands

  • It requires shorter assembly language instructions

4. Three(3) Address Instruction format 

  • The instruction format in which the instruction uses the three address fields is called the three address instruction format

  • It has three operands

  • It requires shorter assembly language instructions

  • It requires more bits

Example Of format Of Instruction

1. Zero Address Instruction examples

  • Assembly language instruction – PUSH A, PUSH B etc.

  • Stack transfer operation – TOS <- A, TOS <- B etc.

2. One Address Instruction examples

  • Assembly language instruction – LOAD C, ADD B, STORE T etc.

  • Operation Register instruction – AC <- M[T], AC <- M[C] etc.

3. Two Address Instruction examples 

  • Assembly language instruction – MOV R1, A; ADD R1, B etc.

  • Operation Register instruction – R1 <- M[A], R2 <- M[C] etc.

  1. Three Address Instruction examples

  • Assembly language instruction – ADD R1, A, B etc.

  •  Operation Register instruction – R1 <- M[A] + M[B] etc.

Parts Of Instruction Format

The parts of the instruction format are:

1. Addressing Mode 

  • The data is represented in the instruction format with the help of addressing mode

  • The addressing mode is the first part of the instruction format

  • The data can either be stored in the memory of a computer or it can be located in the register of the CPU

2. Operation Code( OPCODE)

  • The operation code gives instructions to the processor to perform the specific Operation

  • The operation code is the second part of the instruction format

3. OPERAND

  • It is the part of the instruction format that specifies the data or the address of the data

  • Depending upon the processor of the computer the instruction format contains zero to three operands

Conclusion 

A standard machine which can be directly decoded and executed by the CPU is called instruction format. It is a sequence of bits in a machine instruction that defines the layout of the instruction. The format of instruction provides specific information to the CPU regarding the information to be performed. The parts of the format of instruction are addressing mode, operation code and operand. The characteristic of a good format of instruction is that all the components of instruction should be present. The group of Instructions is called the instruction set.

Also check:

  • UGC NET Syllabus
  • UGC NET English Syllabus
  • UGC NET Political Science Syllabus
  • UGC NET Economics Syllabus
  • UGC NET Hindi Syllabus
  • UGC NET Commerce Syllabus
  • UGC NET Computer Science Syllabus
  • UGC NET E Certificate
faq

Frequently asked questions

Get answers to the most common queries related to the NTA Examination Preparation.

Define the format of instruction?

Ans. The group of bits is used to perform a particular operation on the data. These operations are called instructio...Read full

Write about zero address Instruction format?

Ans. The instruction format in which there is no address field is called zero ...Read full

Write two address instruction examples?

Ans. Assembly language instruction – MOV R1, A; ADD R1,B etc. ...Read full

Define Addressing Mode?

Ans. The data is represented in the instruction format with the help of addres...Read full

Define Operand?

Ans. It is the part of the instruction format that specifies the data or the a...Read full

Write about three address instruction format?

Ans. The instruction format in which the instruction uses the three address fi...Read full

Ans. The group of bits is used to perform a particular operation on the data. These operations are called instruction code or instruction format. The data on which operations are performed are stored in the computer.

Ans.

  • The instruction format in which there is no address field is called zero address instruction. 
  • In zero address instruction format, stacks are used.
  • In zero order instruction format, there is no operand.

Ans.

  • Assembly language instruction – MOV R1, A; ADD R1,B etc.
  • Operation Register instruction – R1 <- M[A], R2 <- M[C] etc.

Ans.

  • The data is represented in the instruction format with the help of addressing mode. 
  • The addressing mode is the first part of the instruction format. 
  • The data can either be stored in the memory of a computer or it can be located in the register of the CPU.

Ans.

  • It is the part of the instruction format that specifies the data or the address of the data.
  • Depending upon the processor of the computer the instruction format contains zero to three operands.

Ans.

  • The instruction format in which the instruction uses the three address field is called the three address instruction format.
  • It has three operands.
  • It requires shorter assembly language instructions.
  • It requires more number of bits.

Crack NTA UGC with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators


  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the NTA UGC Examination including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Application Process
NTA UGC Results
UGC NET Admit Card
UGC NET Eligibility Criteria 2023
UGC NET Exam Pattern 2023: Paper 1 & Paper 2 Marking Scheme
See all

Related articles

Learn more topics related to Computer Science
What is the Instruction Cycle in Computer Architecture

The instruction cycle helps the CPU perform its primary job of expecting tasks. This article will discuss the steps involved in the instruction cycle and an example of the instruction cycle in detail.

What is Data Structure?

Data structure is putting together data in an organised manner. Data is arranged as primitive data structure, non-primitive data structure, and linear data structure.

Types of Registers

Different types of registers are available nowadays. Read this article to learn about Accumulator, MAR, MDR, and more.

Types of Queues and their Applications

Queue is a linear structure in which actions are conducted in a certain order. This article contains the study material notes on the types of queues - linear queue, circular queue, priority queue, dequeue, and their applications.

See all
Access more than

7,940+ courses for NTA-UGC-NET and SET Exams

Get subscription
freeliveclasses_ntaugc
testseries_ntaugcnet
Subscribe Now
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2025 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY