SlideShare a Scribd company logo
2
Most read
5
Most read
8
Most read
INSTRUCTION CODES AND COMPUTER REGISTERS Nikhil Gaba 8125
Instruction code An instruction code is a group of bits that instruct the computer to perform a specific operation. Two parts- Operation code-specifies the operation Address-specifies operands, registers or  memory word Address Opcode 0 11 12 15
Stored program organization Memory 4096 X 16 Address Opcode 0 11 12 15 Processor register 0 15 Binary operand Instructions (program) Operands (data)
Direct and Indirect address When the second part of an instruction code specifies the actual operand instruction is said to have an  immediate operand. When the second part specifies the address of operand it is called  direct address. When the second part specifies the address of the memory word in which address of the operand is found is called  indirect   address .
Address Opcode 0 11 12 15 I Memory Memory 0 ADD ADD + + AC AC 22 457 operand operand 457 1 300 300 1350 1350 Direct address Indirect address 14
Basic computer registers 0 0 0 0 0 0 0 11 11 15 15 15 0 15 7 7 Program counter Address register Instruction register Temporary register Data register Accumulator Input register Output r
Functions DR -Holds memory operand AC -Processor register IR -Holds instruction code TR -Holds temporary data AR -Holds address for memory PC -Hold address of next instruction INPR -Holds input character OUTR -Holds output character
Common bus sysytem

More Related Content

PPT
Unit 1 basic structure of computers
PPTX
Addressing mode Computer Architecture
PPTX
instruction format and addressing modes
PPTX
Basic Computer Organization and Design
PPTX
Instruction codes
PPT
Types of instructions
PPT
Control Memory
PPTX
Introduction to Computer Architecture and Organization
Unit 1 basic structure of computers
Addressing mode Computer Architecture
instruction format and addressing modes
Basic Computer Organization and Design
Instruction codes
Types of instructions
Control Memory
Introduction to Computer Architecture and Organization

What's hot (20)

PPT
Instruction cycle
PPTX
memory reference instruction
PPT
Memory reference instruction
PPTX
Logical and shift micro operations
PPTX
Basic Computer Organization and Design
PPTX
Computer instruction
PPS
Registers and-common-bus
PDF
Instruction code
PPTX
General register organization (computer organization)
PPT
Memory Reference instruction
PPTX
Computer registers
PPTX
Input output interface
PPTX
addressing modes
PPTX
DMA operation
PPTX
Microoperations
PPT
Addressing modes (detailed data path)
PPTX
Micro Programmed Control Unit
PPTX
Register transfer and micro-operation
PPTX
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
PPTX
Arithmetic & Logic Unit
Instruction cycle
memory reference instruction
Memory reference instruction
Logical and shift micro operations
Basic Computer Organization and Design
Computer instruction
Registers and-common-bus
Instruction code
General register organization (computer organization)
Memory Reference instruction
Computer registers
Input output interface
addressing modes
DMA operation
Microoperations
Addressing modes (detailed data path)
Micro Programmed Control Unit
Register transfer and micro-operation
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
Arithmetic & Logic Unit
Ad

Viewers also liked (20)

PPS
Computer instructions
PPT
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
PDF
Instruction cycle
PPS
Timing and-control-unit
PDF
What is CPU Register? Type of CPU Register.
PPT
Instruction format
PPTX
Cpu registers
PPTX
Part I:Introduction to assembly language
PPT
Assembly Language Basics
PPT
Assembly Language Lecture 1
PPTX
Computer memory
PPT
Assembly Language Lecture 2
PPT
Shift Register
PPT
Digital 9 16
PPTX
digital Counter
PPT
14827 shift registers
PPTX
Register & Memory
PPTX
Overview of Shift register and applications
PPTX
bus and memory tranfer (computer organaization)
Computer instructions
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Instruction cycle
Timing and-control-unit
What is CPU Register? Type of CPU Register.
Instruction format
Cpu registers
Part I:Introduction to assembly language
Assembly Language Basics
Assembly Language Lecture 1
Computer memory
Assembly Language Lecture 2
Shift Register
Digital 9 16
digital Counter
14827 shift registers
Register & Memory
Overview of Shift register and applications
bus and memory tranfer (computer organaization)
Ad

Similar to Instruction codes and computer registers (20)

PDF
Basics of Computer Organization and Design
PPTX
instruction codes
PPT
Basic computer organization
PPTX
instruction format.pptx
PPTX
Instruction Codes.pptx
PDF
computer organization.pdf
PDF
Lect5 organization
PDF
BASIC COMPUTER ORGANIZATION AND DESIGN
PPTX
Ch5_MorrisMano.pptx
PPTX
Computer Organization and Design.pptx
PPTX
Memory Reference Instructions
PPTX
Chp 2 and 3.pptx
PPTX
material for studentbasic computer organization and design .pptx
PPTX
Module 2- Basic Computer Organization and Design.pptx
PDF
Ca basic computer organization
PDF
cse211 power point presentation for engineering
PPT
BasicComputerOrganization and Architecture by Moriss Meno
PPTX
instruction sets (1).pptx
PPT
Computer Architecture & Organization
PPTX
module 3 instruction set and control unit
Basics of Computer Organization and Design
instruction codes
Basic computer organization
instruction format.pptx
Instruction Codes.pptx
computer organization.pdf
Lect5 organization
BASIC COMPUTER ORGANIZATION AND DESIGN
Ch5_MorrisMano.pptx
Computer Organization and Design.pptx
Memory Reference Instructions
Chp 2 and 3.pptx
material for studentbasic computer organization and design .pptx
Module 2- Basic Computer Organization and Design.pptx
Ca basic computer organization
cse211 power point presentation for engineering
BasicComputerOrganization and Architecture by Moriss Meno
instruction sets (1).pptx
Computer Architecture & Organization
module 3 instruction set and control unit

More from Sanjeev Patel (20)

PPT
Unit v export incentives
PPT
Types of letter of credits on 11 09 2012
PPT
Risks involved in imports
PPT
Processing of export order on 4 09 12
PPTX
North america ppt
PPT
Mib 3.6 unit ii on 10 09 12
PPT
Mib 3.6 unit 2 on 17 09 2012
PPT
Mib 3.6 on august 6 th 2012
PPT
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
PPT
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
PPT
Mib 3.6 marine insurance on 09 10 12 copy
PPT
Mib 3.6 export financing on 1 10 12
PPT
Incoterms on 27th august 2012
PPT
Export import control main
PPT
Mib 3.6 on 14th aug 2012
PPSX
Teachers day _Sanjeev_Patel
PPTX
Register transfer language
PPT
Introduction
PPTX
Input output organisation
PPT
Data transfer and manipulation
Unit v export incentives
Types of letter of credits on 11 09 2012
Risks involved in imports
Processing of export order on 4 09 12
North america ppt
Mib 3.6 unit ii on 10 09 12
Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 on august 6 th 2012
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Mib 3.6 marine insurance on 09 10 12 copy
Mib 3.6 export financing on 1 10 12
Incoterms on 27th august 2012
Export import control main
Mib 3.6 on 14th aug 2012
Teachers day _Sanjeev_Patel
Register transfer language
Introduction
Input output organisation
Data transfer and manipulation

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PDF
Pre independence Education in Inndia.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Business Ethics Teaching Materials for college
PPTX
master seminar digital applications in india
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
O7-L3 Supply Chain Operations - ICLT Program
Open Quiz Monsoon Mind Game Final Set.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
O5-L3 Freight Transport Ops (International) V1.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Open Quiz Monsoon Mind Game Prelims.pptx
Pre independence Education in Inndia.pdf
Pharma ospi slides which help in ospi learning
Anesthesia in Laparoscopic Surgery in India
Business Ethics Teaching Materials for college
master seminar digital applications in india
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
GDM (1) (1).pptx small presentation for students
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
TR - Agricultural Crops Production NC III.pdf
Microbial diseases, their pathogenesis and prophylaxis

Instruction codes and computer registers

  • 1. INSTRUCTION CODES AND COMPUTER REGISTERS Nikhil Gaba 8125
  • 2. Instruction code An instruction code is a group of bits that instruct the computer to perform a specific operation. Two parts- Operation code-specifies the operation Address-specifies operands, registers or memory word Address Opcode 0 11 12 15
  • 3. Stored program organization Memory 4096 X 16 Address Opcode 0 11 12 15 Processor register 0 15 Binary operand Instructions (program) Operands (data)
  • 4. Direct and Indirect address When the second part of an instruction code specifies the actual operand instruction is said to have an immediate operand. When the second part specifies the address of operand it is called direct address. When the second part specifies the address of the memory word in which address of the operand is found is called indirect address .
  • 5. Address Opcode 0 11 12 15 I Memory Memory 0 ADD ADD + + AC AC 22 457 operand operand 457 1 300 300 1350 1350 Direct address Indirect address 14
  • 6. Basic computer registers 0 0 0 0 0 0 0 11 11 15 15 15 0 15 7 7 Program counter Address register Instruction register Temporary register Data register Accumulator Input register Output r
  • 7. Functions DR -Holds memory operand AC -Processor register IR -Holds instruction code TR -Holds temporary data AR -Holds address for memory PC -Hold address of next instruction INPR -Holds input character OUTR -Holds output character