SlideShare a Scribd company logo
1 of 14
Download to read offline
Instruction Codes
Type of Instruction Codes
Overview

Unit 3 - Instruction Codes
Abhineet Anand
Computer Science and Engg. Department
University of Petroleum and Energy Studies, Dehradun

November 26, 2012

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Introduction
Operation Code
Operands

Instruction Codes

A Computer instruction is binary code that specifies a
sequence of micro operation for the Computer.
The Computer reads each instruction from memory and
places it in a control register.
The control then interprets the binary code of the
instruction and proceeds to execute it by issuing a
sequence of micro operations.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Introduction
Operation Code
Operands

Instruction Codes

An instruction code is a group of bits that instruct the
computer to perform a specific task.
It is usually divided into parts, each having its own
particular interpretation.
They are:
Operation Code, and
Operands.

The most basic part of an instruction code is its operation
part.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Introduction
Operation Code
Operands

Operation Code

The Operation Code (OpCode) of an instruction is a group
of bits that define each operation such add, subtract,
multiply, shift, and complement.
It must consist of at least n bits for a given 2n distinct
operations.
Suppose we are having 64 (26 ) operation then the length
of OpCode will be 6.
The control unit decode the OpCode and do the required
operation.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Introduction
Operation Code
Operands

Operands
The Operation must be performed on some data stored in
processor register or in memory.
Every Computer has its own particular instruction code
format.
The Simplest way to organize a computer is to have an
instruction code format with two parts.
The first part specifies the operation to be performed and
the second specifies an address.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Type of Instruction Codes
Memory - Reference Instruction
Register - Reference Instruction
Input - Output Instruction

Instruction Codes

The Basic Computer has three instruction code formats.
The OpCode part of the instruction contains three bits and
the meaning of the remaining 13 bits depends on the
operation code encountered.
The three instruction code formats are:
Memory - Reference Instruction
Register - reference Instruction
Input - Output Operation

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Type of Instruction Codes
Memory - Reference Instruction
Register - Reference Instruction
Input - Output Instruction

Memory - Reference Instruction

A Memory-Reference instruction uses 12 bits to specify an
address and one bit to specify the addressing mode I.
I is equal to 0 for direct address and to 1 for indirect
address.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Type of Instruction Codes
Memory - Reference Instruction
Register - Reference Instruction
Input - Output Instruction

Register - Reference Instruction
The Register - Reference instruction are recognized by the
operation code 111 with 0 in the leftmost bit (bit 15) of the
instruction.
It specifies an operation on or a test of the AC register.
An operand from memory is not needed, so the other 12
bits are used to specify the operation or test to be
executed.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

Type of Instruction Codes
Memory - Reference Instruction
Register - Reference Instruction
Input - Output Instruction

Input - Output Instruction

An Input- Output Instruction does not need a reference to
memory and recognized by the operation code 111 with a
1 in the left most bit of the instruction.
The remaining 12 bits are used to specify the type of
input-output operation or test performed.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

How to know type of instruction.
Table of Instruction.

OverView

The type of instruction is recognized from four bits in
position 12 through 15 of the instruction.
If the three opcode in position 12 to 14 are not equal to
111, the instruction is a memory-reference type.
If these bit position is equal to 111 and 15th position is 0,
the instruction is a register-reference type otherwise it is
Input- output type.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

How to know type of instruction.
Table of Instruction.

Becuase of three bits use in the operation code, its seems
that the computer is restricted to a maximum of eight
distinct operations.
However, by using other 12 bits, the total number of
instruction can exceed eight.
In fact, the total number of instruction chosen for the basic
computer is equal to 25.

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

How to know type of instruction.
Table of Instruction.

Table of Instruction.
The symbol designation is a three-letter word and represents
an abbreviation intended for programmers and users.
Memory Reference Instructions

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

How to know type of instruction.
Table of Instruction.

Table of Instruction
Register Reference Instructions

Abhineet Anand

Unit 3 - Instruction Codes
Instruction Codes
Type of Instruction Codes
Overview

How to know type of instruction.
Table of Instruction.

THANK YOU

Abhineet Anand

Unit 3 - Instruction Codes

More Related Content

What's hot

Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Rai University
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...Rai University
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registersmahesh kumar prajapat
 
COMPUTER ORGANIZATION NOTES Unit 2
COMPUTER ORGANIZATION NOTES  Unit 2COMPUTER ORGANIZATION NOTES  Unit 2
COMPUTER ORGANIZATION NOTES Unit 2Dr.MAYA NAYAK
 
Basic computer organisation design
Basic computer organisation designBasic computer organisation design
Basic computer organisation designSanjeev Patel
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organizationNitesh Singh
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085muneer.k
 
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...Rai University
 
Computer organization
Computer organization Computer organization
Computer organization vishnu973656
 
Introduction to CPU registers
Introduction to CPU registersIntroduction to CPU registers
Introduction to CPU registersMuhammad Waqas
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
Basic Computer Organisation And Design
Basic Computer Organisation And DesignBasic Computer Organisation And Design
Basic Computer Organisation And Designlavanya marichamy
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingDeepak John
 

What's hot (19)

Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registers
 
COMPUTER ORGANIZATION NOTES Unit 2
COMPUTER ORGANIZATION NOTES  Unit 2COMPUTER ORGANIZATION NOTES  Unit 2
COMPUTER ORGANIZATION NOTES Unit 2
 
Instruction code
Instruction codeInstruction code
Instruction code
 
Basic computer organisation design
Basic computer organisation designBasic computer organisation design
Basic computer organisation design
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organization
 
Central processor organization
Central processor organizationCentral processor organization
Central processor organization
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
Computer organization
Computer organization Computer organization
Computer organization
 
Introduction to CPU registers
Introduction to CPU registersIntroduction to CPU registers
Introduction to CPU registers
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Basic Computer Organisation And Design
Basic Computer Organisation And DesignBasic Computer Organisation And Design
Basic Computer Organisation And Design
 
Pdemodule 4
Pdemodule 4Pdemodule 4
Pdemodule 4
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 

Viewers also liked

9° enfoques de investigación
9° enfoques de investigación9° enfoques de investigación
9° enfoques de investigaciónMAVIRUCHI
 
Guia pedagógico 2 periodo
Guia pedagógico 2 periodoGuia pedagógico 2 periodo
Guia pedagógico 2 periodoIsabel Maia
 
Derechos fundamentales ponderación y racionalidad. Por Rober Alexy
Derechos fundamentales ponderación y racionalidad. Por Rober AlexyDerechos fundamentales ponderación y racionalidad. Por Rober Alexy
Derechos fundamentales ponderación y racionalidad. Por Rober AlexyAlma Carolina Garay
 
Mecanica cinetica dinamica
Mecanica cinetica dinamicaMecanica cinetica dinamica
Mecanica cinetica dinamicabyred
 
Presentacion de ethernet carlios
Presentacion de ethernet carliosPresentacion de ethernet carlios
Presentacion de ethernet carliosguestd451e1
 
El Empaque y Embalaje Adecuado
El Empaque y Embalaje AdecuadoEl Empaque y Embalaje Adecuado
El Empaque y Embalaje AdecuadoVirtualEsumer
 
Administração de materiais unidade 02 14-06-07 - 151 - ppts 01 slide por folha
Administração de materiais unidade 02   14-06-07 - 151 - ppts 01 slide por folhaAdministração de materiais unidade 02   14-06-07 - 151 - ppts 01 slide por folha
Administração de materiais unidade 02 14-06-07 - 151 - ppts 01 slide por folhaAlex Casañas
 
Syllabus de Bioquimica
Syllabus de BioquimicaSyllabus de Bioquimica
Syllabus de BioquimicaGenesis Pincay
 
Sisterma solar de luis alberto el nuevo
Sisterma solar  de luis alberto el nuevoSisterma solar  de luis alberto el nuevo
Sisterma solar de luis alberto el nuevoLuis Melian Gorrin
 
Proyecto De Tecnica De Programacioin I I
Proyecto De Tecnica De Programacioin  I IProyecto De Tecnica De Programacioin  I I
Proyecto De Tecnica De Programacioin I IAmistadLealtad
 
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...Cristina Dino
 
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216fabian-anav
 
Programa4
Programa4Programa4
Programa4arecerv
 

Viewers also liked (20)

9° enfoques de investigación
9° enfoques de investigación9° enfoques de investigación
9° enfoques de investigación
 
mariposas
mariposasmariposas
mariposas
 
Plam deárea tic's rancheria
Plam deárea tic's rancheriaPlam deárea tic's rancheria
Plam deárea tic's rancheria
 
Guia pedagógico 2 periodo
Guia pedagógico 2 periodoGuia pedagógico 2 periodo
Guia pedagógico 2 periodo
 
Derechos fundamentales ponderación y racionalidad. Por Rober Alexy
Derechos fundamentales ponderación y racionalidad. Por Rober AlexyDerechos fundamentales ponderación y racionalidad. Por Rober Alexy
Derechos fundamentales ponderación y racionalidad. Por Rober Alexy
 
Sumário Pesquisa Redes Sociais - Missão 1 - "Como os internautas brasileiros ...
Sumário Pesquisa Redes Sociais - Missão 1 - "Como os internautas brasileiros ...Sumário Pesquisa Redes Sociais - Missão 1 - "Como os internautas brasileiros ...
Sumário Pesquisa Redes Sociais - Missão 1 - "Como os internautas brasileiros ...
 
Mecanica cinetica dinamica
Mecanica cinetica dinamicaMecanica cinetica dinamica
Mecanica cinetica dinamica
 
Presentacion de ethernet carlios
Presentacion de ethernet carliosPresentacion de ethernet carlios
Presentacion de ethernet carlios
 
Ch 21
Ch 21 Ch 21
Ch 21
 
El Empaque y Embalaje Adecuado
El Empaque y Embalaje AdecuadoEl Empaque y Embalaje Adecuado
El Empaque y Embalaje Adecuado
 
Administração de materiais unidade 02 14-06-07 - 151 - ppts 01 slide por folha
Administração de materiais unidade 02   14-06-07 - 151 - ppts 01 slide por folhaAdministração de materiais unidade 02   14-06-07 - 151 - ppts 01 slide por folha
Administração de materiais unidade 02 14-06-07 - 151 - ppts 01 slide por folha
 
Syllabus de Bioquimica
Syllabus de BioquimicaSyllabus de Bioquimica
Syllabus de Bioquimica
 
Dime qué y cómo evalúas y te diré
Dime qué y cómo evalúas y te diréDime qué y cómo evalúas y te diré
Dime qué y cómo evalúas y te diré
 
Sisterma solar de luis alberto el nuevo
Sisterma solar  de luis alberto el nuevoSisterma solar  de luis alberto el nuevo
Sisterma solar de luis alberto el nuevo
 
Proyecto De Tecnica De Programacioin I I
Proyecto De Tecnica De Programacioin  I IProyecto De Tecnica De Programacioin  I I
Proyecto De Tecnica De Programacioin I I
 
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...
0016 %Bf Que%20%20modelo%20de%20liderazgo%20utilizar%20para%20la%20formaci%F3...
 
trabalho de historia
trabalho de historiatrabalho de historia
trabalho de historia
 
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216
TIPOS DE INVESTIGACION **ANAV** DPA 1 FABIAN LOPEZ MARTINEZ Código 0216
 
Programa cuatro
Programa cuatroPrograma cuatro
Programa cuatro
 
Programa4
Programa4Programa4
Programa4
 

Similar to Types of Instruction Codes & Formats

Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & OrganizationShuvo Chakraborty
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and DesignKamal Acharya
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
Chapter 3 computer organization and artpdf
Chapter 3 computer organization and artpdfChapter 3 computer organization and artpdf
Chapter 3 computer organization and artpdfMohammed472103
 
material for studentbasic computer organization and design .pptx
material for studentbasic computer organization and design .pptxmaterial for studentbasic computer organization and design .pptx
material for studentbasic computer organization and design .pptxjainyshah20
 
CO Unit 3.pdf (Important chapter of coa)
CO Unit 3.pdf (Important chapter of coa)CO Unit 3.pdf (Important chapter of coa)
CO Unit 3.pdf (Important chapter of coa)guptakrishns23
 
Instruction format
Instruction formatInstruction format
Instruction formatchauhankapil
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdfSaralaT3
 
Timing and control
Timing and controlTiming and control
Timing and controlchauhankapil
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Prasenjit Dey
 

Similar to Types of Instruction Codes & Formats (20)

Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
CSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptxCSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptx
 
Chapter 3 computer organization and artpdf
Chapter 3 computer organization and artpdfChapter 3 computer organization and artpdf
Chapter 3 computer organization and artpdf
 
instruction codes
instruction codesinstruction codes
instruction codes
 
material for studentbasic computer organization and design .pptx
material for studentbasic computer organization and design .pptxmaterial for studentbasic computer organization and design .pptx
material for studentbasic computer organization and design .pptx
 
Processor Basics
Processor BasicsProcessor Basics
Processor Basics
 
Instruction Codes.pptx
Instruction Codes.pptxInstruction Codes.pptx
Instruction Codes.pptx
 
CO Unit 3.pdf (Important chapter of coa)
CO Unit 3.pdf (Important chapter of coa)CO Unit 3.pdf (Important chapter of coa)
CO Unit 3.pdf (Important chapter of coa)
 
2.computer org.
2.computer org.2.computer org.
2.computer org.
 
computer organization.pdf
computer organization.pdfcomputer organization.pdf
computer organization.pdf
 
Addresing modes
Addresing modesAddresing modes
Addresing modes
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
COA.pptx
COA.pptxCOA.pptx
COA.pptx
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdf
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)
 

More from Kumar

Graphics devices
Graphics devicesGraphics devices
Graphics devicesKumar
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithmsKumar
 
region-filling
region-fillingregion-filling
region-fillingKumar
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivationKumar
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons dericationKumar
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xsltKumar
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xmlKumar
 
Xml basics
Xml basicsXml basics
Xml basicsKumar
 
XML Schema
XML SchemaXML Schema
XML SchemaKumar
 
Publishing xml
Publishing xmlPublishing xml
Publishing xmlKumar
 
Applying xml
Applying xmlApplying xml
Applying xmlKumar
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLKumar
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee applicationKumar
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLKumar
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB FundmentalsKumar
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programmingKumar
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programmingKumar
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversKumar
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EEKumar
 

More from Kumar (20)

Graphics devices
Graphics devicesGraphics devices
Graphics devices
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
region-filling
region-fillingregion-filling
region-filling
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivation
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xslt
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
 
Xml basics
Xml basicsXml basics
Xml basics
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
DTD
DTDDTD
DTD
 
Applying xml
Applying xmlApplying xml
Applying xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XML
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB Fundmentals
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programming
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC Drivers
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EE
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Types of Instruction Codes & Formats

  • 1. Instruction Codes Type of Instruction Codes Overview Unit 3 - Instruction Codes Abhineet Anand Computer Science and Engg. Department University of Petroleum and Energy Studies, Dehradun November 26, 2012 Abhineet Anand Unit 3 - Instruction Codes
  • 2. Instruction Codes Type of Instruction Codes Overview Introduction Operation Code Operands Instruction Codes A Computer instruction is binary code that specifies a sequence of micro operation for the Computer. The Computer reads each instruction from memory and places it in a control register. The control then interprets the binary code of the instruction and proceeds to execute it by issuing a sequence of micro operations. Abhineet Anand Unit 3 - Instruction Codes
  • 3. Instruction Codes Type of Instruction Codes Overview Introduction Operation Code Operands Instruction Codes An instruction code is a group of bits that instruct the computer to perform a specific task. It is usually divided into parts, each having its own particular interpretation. They are: Operation Code, and Operands. The most basic part of an instruction code is its operation part. Abhineet Anand Unit 3 - Instruction Codes
  • 4. Instruction Codes Type of Instruction Codes Overview Introduction Operation Code Operands Operation Code The Operation Code (OpCode) of an instruction is a group of bits that define each operation such add, subtract, multiply, shift, and complement. It must consist of at least n bits for a given 2n distinct operations. Suppose we are having 64 (26 ) operation then the length of OpCode will be 6. The control unit decode the OpCode and do the required operation. Abhineet Anand Unit 3 - Instruction Codes
  • 5. Instruction Codes Type of Instruction Codes Overview Introduction Operation Code Operands Operands The Operation must be performed on some data stored in processor register or in memory. Every Computer has its own particular instruction code format. The Simplest way to organize a computer is to have an instruction code format with two parts. The first part specifies the operation to be performed and the second specifies an address. Abhineet Anand Unit 3 - Instruction Codes
  • 6. Instruction Codes Type of Instruction Codes Overview Type of Instruction Codes Memory - Reference Instruction Register - Reference Instruction Input - Output Instruction Instruction Codes The Basic Computer has three instruction code formats. The OpCode part of the instruction contains three bits and the meaning of the remaining 13 bits depends on the operation code encountered. The three instruction code formats are: Memory - Reference Instruction Register - reference Instruction Input - Output Operation Abhineet Anand Unit 3 - Instruction Codes
  • 7. Instruction Codes Type of Instruction Codes Overview Type of Instruction Codes Memory - Reference Instruction Register - Reference Instruction Input - Output Instruction Memory - Reference Instruction A Memory-Reference instruction uses 12 bits to specify an address and one bit to specify the addressing mode I. I is equal to 0 for direct address and to 1 for indirect address. Abhineet Anand Unit 3 - Instruction Codes
  • 8. Instruction Codes Type of Instruction Codes Overview Type of Instruction Codes Memory - Reference Instruction Register - Reference Instruction Input - Output Instruction Register - Reference Instruction The Register - Reference instruction are recognized by the operation code 111 with 0 in the leftmost bit (bit 15) of the instruction. It specifies an operation on or a test of the AC register. An operand from memory is not needed, so the other 12 bits are used to specify the operation or test to be executed. Abhineet Anand Unit 3 - Instruction Codes
  • 9. Instruction Codes Type of Instruction Codes Overview Type of Instruction Codes Memory - Reference Instruction Register - Reference Instruction Input - Output Instruction Input - Output Instruction An Input- Output Instruction does not need a reference to memory and recognized by the operation code 111 with a 1 in the left most bit of the instruction. The remaining 12 bits are used to specify the type of input-output operation or test performed. Abhineet Anand Unit 3 - Instruction Codes
  • 10. Instruction Codes Type of Instruction Codes Overview How to know type of instruction. Table of Instruction. OverView The type of instruction is recognized from four bits in position 12 through 15 of the instruction. If the three opcode in position 12 to 14 are not equal to 111, the instruction is a memory-reference type. If these bit position is equal to 111 and 15th position is 0, the instruction is a register-reference type otherwise it is Input- output type. Abhineet Anand Unit 3 - Instruction Codes
  • 11. Instruction Codes Type of Instruction Codes Overview How to know type of instruction. Table of Instruction. Becuase of three bits use in the operation code, its seems that the computer is restricted to a maximum of eight distinct operations. However, by using other 12 bits, the total number of instruction can exceed eight. In fact, the total number of instruction chosen for the basic computer is equal to 25. Abhineet Anand Unit 3 - Instruction Codes
  • 12. Instruction Codes Type of Instruction Codes Overview How to know type of instruction. Table of Instruction. Table of Instruction. The symbol designation is a three-letter word and represents an abbreviation intended for programmers and users. Memory Reference Instructions Abhineet Anand Unit 3 - Instruction Codes
  • 13. Instruction Codes Type of Instruction Codes Overview How to know type of instruction. Table of Instruction. Table of Instruction Register Reference Instructions Abhineet Anand Unit 3 - Instruction Codes
  • 14. Instruction Codes Type of Instruction Codes Overview How to know type of instruction. Table of Instruction. THANK YOU Abhineet Anand Unit 3 - Instruction Codes