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 » Instruction Structure
doubtsolving_ntaugc

Instruction Structure

Computer instruction is divided into groups called fields. Storage - reference instruction, Registry - reference instruction, and Input-Output instruction are the three types of instruction codes in a basic system.

Table of Content
  •  

A computerised instruction is a digital sequence that controls how a computer performs micro-operations in a series. Every computer has its own set of instructions. Operation codes (Opcodes) and Addresses are the two components. Opcodes define how specific instructions should be executed. An address determines the registers or regions used for this activity. Operands are specific components of computer instructions that specify what data should be processed.

Because the memory contains 4096 words, it requires 12 bits of storage to specify the address. The addressing method is determined by the instruction’s 15th bit. Thus, the instruction structure has 12 bits for the address, including 1 bit of addressing mode, leaving 3 bits of Opcodes.

Modes of Addressing

Memory referencing instructions specify the location of a specific memory region. Addressing mode identifies a destination address or functional address within an instruction.

The instruction’s address field can be expressed in two ways: 

Direct Addressing: It uses the operand’s location.

Indirect Addressing: The address is easier to use as a reference to the operand.

An Effective Address is an address that may be utilised directly to construct an operand for a calculation type instruction or as a target location for a branching type instruction without causing any modifications.

Input/Output Instruction: An Input-Output command, such as the Register-reference instruction, does not require a memory reference; therefore, it is identified by opcode 111 with such a 1 inside the leftmost bit of both the instructions. The last 12 bits are utilised to describe the type of input-output activity or testing conducted.

Opcodes

Addition, subtraction, multiplication, complements, and shift are represented by opcodes, a sequence of bits. The bits required for the opcode are determined by the total number of actions available in the machine. During 2n processes, the minimum bits available towards the opcode should be n. Such operations are carried out on data stored in the processor’s registers or storage.

Address

The address represents the memory region where a given instruction is built. The instruction code’s address bits are utilised as an operand rather than an address. The instruction in this kind of technique has an immediate operand. The command does indeed have a direct address if the second half has an address.

In the second portion, there is another option that includes the operand’s address called the indirect address. One bit inside the instruction code can indicate whether an indirect or direct address is performed.

Completeness of Instruction Set

Every language expression in a computer’s assembler language usually refers to a specific processor command. A linguistic expression in a high-level language usually results in many machine instructions. A macroinstruction of assembler language would extend into numerous instructions while executing the assembler programme. 

If the system has a significant set of instructions in each listed category, the sequence of instructions is considered to be complete.

Instructions in arithmetic, logic, and shift

A sequence of instructions transfers data between memory and CPU registers.

Instructions that operate the programme and instructions that examine the state of the programme.

Instructions for input and output

Arithmetic, logical, and shifting instructions give computing capabilities for interpreting the data types that the user may choose to utilise. The main memory stores a large quantity of binary data, but all calculations are done in CPU registers. Thus, data transfer between these two components is required.

Branching instructions and other programme control directives vary in the order in which the programme is run. The system and the operator communicate through input and output commands. Instructions and data should be stored in memory, and computing outcomes must be communicated to the users.

Conclusion

A computer follows instructions and completes a task. Computer instruction is divided into groups called fields. Such fields include various information since anything in computers is already 0 and 1; the selected field has a distinct meaning depending on which a CPU determines what to do. The following are the most typical fields:

The operation field, such as addition, indicates the action to be executed.

The operand’s location, i.e., register and physical memory, is stored in the address field.

The mode field indicates how the operand will be founded.

Machine language will execute the future applications of such a structure and system software if a system software preserves a standardised and consistent app binary functionality for that form. Moreover, just because an Instruction Structure allows several operating systems, it does not indicate that process code written for one of them will run upon another.

faq

Frequently asked questions

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

What is an instruction format?

Ans : The instruction format supports the layout of bits insi...Read full

What distinguishes an excellent instructional format?

Ans : Each of the three elements must be present. Each elemen...Read full

What is the purpose of instruction set design?

Ans : The Instruction Set Architecture is a component of a co...Read full

What are the most important instructional operations?

Ans : The instruction’s operation code is a set of bits tha...Read full

Ans : The instruction format supports the layout of bits inside an instruction. The opcode, processing elements, and addressing mode form these fields. In most cases, the instruction size is kept in multiple sets of 8 bits character lengths.

 

Ans : Each of the three elements must be present. Each element is required since it provides details about the to-be-executed command. An instruction set refers to a collection of instructions.

Ans : The Instruction Set Architecture is a component of a computer’s abstracted model that specifies how programs manage the Processor. The ISA serves as a link across software and hardware, defining precisely whatever the processor can do and how it does it.

Ans : The instruction’s operation code is a set of bits that describe operations like adding, subtracting, shifting, complementing, etc. Every instruction must also have one or even more opcodes, which specify the caches and memory locations from which or to whom data is retrieved.

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