SlideShare a Scribd company logo
ADDRESSING MODE:
If we talk about instruction set. Instruction set main contain op-code and operand.
OP-CODE:
Op-code means operation like addition, subtraction,division ,multiplication etc.
OPERAND:
Operand mean data which specifies what data is to be operated.
Any instruction issued by the processor must carry at least two types of information.
 OP-CODE
 ADDRESS FIELD
OP-CODE OPERAND
…CONTINUED
OP-CODE
Which specifies the operation to be performed like addition
ADDRESS FIELD
Which contain the location of operands i.e register or memory location.
Instruction may be classified on the no of operands as: three address, two address, one and half address, one address
and zero address.
It should be noted that in presenting these we would use convention operation, source, destination, to express any
instruction.
Convention operation.
In that convention operation represent the operation to be performed, for example, add, subtract, write
or read.
…CONTINUED
Source.
The source field represent the operand. The source operand can be a constant, a value stored in a register, or a
value stored in a memory.
Destination.
The destination field represent the place where the result of the operation is to be stored.for example, a
register or a memory location.
Three address instruction.
OPERATION.
ADD -1, ADD-2, ADD-3
In this form, each of add-1 add-2 add-3 refers to a register or to a memory location.
For example
ADD R1,R2.R3
…CONTINUED
OPERATION: addition.
It indicates that the value to be stored are those in register R1 and R2 that result should be stored in
register R3
R1+R2----------R3
TWO ADDRESS INSTRUCTION.
OPERATION.
ADD -1, ADD-2
In this form , each of add-1 add-2 refers to a register or to a memory location.
For example
ADD R1,R2
…CONTINUED
OPERATION: addition.
This instruction add the content of register R1 to the content of register R2 and store the
result in register R2
R1+R2---------R2
The operation performed by the three address instruction ADD A,B,C can be performed by the two
address instruction MOVE B,C and ADD A,C . This is because the first instruction moves the contents
of location B into location C and second instruction add the contents of location A to those of
location C.
ONE ADDRESS INSTRUCTION.
…CONTINUED:
OPERATION.
ADD R1
ACCUMULATOR.
In this case the instruction implicity refers to a register called accumulator Racc, such that the contents of the
accumulator is added to the contents of the register R1 and the result are stored back in to the accumulator.
ONE-AND-HALF ADDRESS INSTRUCTION.
Between the two and the one address instruction , there can be a one-and-half instruction. The
instruction uses two types of addressing , that is, a register and a memory location , it is called a one-and-half-address
instruction.
For example.
ADD B,R1
In this case, the instruction add the content of register R1 to the content of memory location B and store the result in
register R1.
…CONTINUED
ZERO ADDRESS INSTRUCTION.
These are the instruction that we use stack operation.
STACK OPERATION.
A stack is an abstract data type that serves as a collection of elements, with two main
principle operation push, which adds an element to the collection, and. Pop, which removes the most
recently added element that was not yet removed.
EXAMPLE
ADD (SP)+,(SP).
The instruction adds the contents of the stack location pointed to by the SP to those pointed to by the
SP+1 and stores the result on the stack in the location pointed to by the current value of the SP.

More Related Content

What's hot

8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
JLoknathDora
 
Instructionset8085
Instructionset8085Instructionset8085
Instructionset8085Fawad Pathan
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
Mahalakshmiv11
 
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
COMSATS Abbottabad
 
CO by Rakesh Roshan
CO by Rakesh RoshanCO by Rakesh Roshan
CO by Rakesh Roshan
Rakesh Roshan
 
MICROPROCESSOR INSTRUCTION SET OF 8085
MICROPROCESSOR INSTRUCTION SET OF 8085MICROPROCESSOR INSTRUCTION SET OF 8085
MICROPROCESSOR INSTRUCTION SET OF 8085
Sumadeep Juvvalapalem
 
8085 arithmetic instructions
8085 arithmetic instructions8085 arithmetic instructions
8085 arithmetic instructions
prashant1271
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
sohelranasweet
 
DAA AND DAS
DAA AND DASDAA AND DAS
DAA AND DAS
Basavaraj Shetty
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
Nemish Bhojani
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
Rajon
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
Vijay Kumar
 
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
Dynamic Programming Code-Optimization Algorithm (Compiler Design)Dynamic Programming Code-Optimization Algorithm (Compiler Design)
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
Dhrumil Panchal
 
3. 8085 addressing modes
3. 8085 addressing modes3. 8085 addressing modes
3. 8085 addressing modes
sandip das
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessorInstruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
Rahul Sahu
 
Ascii adjust & decimal adjust
Ascii adjust & decimal adjustAscii adjust & decimal adjust
Ascii adjust & decimal adjustTech_MX
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085Shifali Sharma
 
Logical instructions (and, or, xor, not, test)
Logical instructions (and, or, xor, not, test)Logical instructions (and, or, xor, not, test)
Logical instructions (and, or, xor, not, test)
Irfan Anjum
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
shiji v r
 

What's hot (20)

8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Instructionset8085
Instructionset8085Instructionset8085
Instructionset8085
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
 
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
 
CO by Rakesh Roshan
CO by Rakesh RoshanCO by Rakesh Roshan
CO by Rakesh Roshan
 
MICROPROCESSOR INSTRUCTION SET OF 8085
MICROPROCESSOR INSTRUCTION SET OF 8085MICROPROCESSOR INSTRUCTION SET OF 8085
MICROPROCESSOR INSTRUCTION SET OF 8085
 
8085 arithmetic instructions
8085 arithmetic instructions8085 arithmetic instructions
8085 arithmetic instructions
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
DAA AND DAS
DAA AND DASDAA AND DAS
DAA AND DAS
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
 
arithmetic ins in 8051
arithmetic ins in 8051arithmetic ins in 8051
arithmetic ins in 8051
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
Dynamic Programming Code-Optimization Algorithm (Compiler Design)Dynamic Programming Code-Optimization Algorithm (Compiler Design)
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
 
3. 8085 addressing modes
3. 8085 addressing modes3. 8085 addressing modes
3. 8085 addressing modes
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessorInstruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
 
Ascii adjust & decimal adjust
Ascii adjust & decimal adjustAscii adjust & decimal adjust
Ascii adjust & decimal adjust
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085
 
Logical instructions (and, or, xor, not, test)
Logical instructions (and, or, xor, not, test)Logical instructions (and, or, xor, not, test)
Logical instructions (and, or, xor, not, test)
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 

Similar to addressing mode 1

ITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptxITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptx
SabaNaeem26
 
Compreport
CompreportCompreport
Compreport
xdarlord
 
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
preethi3173
 
Central processing unit
Central processing unitCentral processing unit
Central processing unit
jyoti_lakhani
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
Sadaf Rasheed
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
Sadaf Rasheed
 
addressing modes
addressing modesaddressing modes
addressing modes
Sadaf Rasheed
 
Instruction format UJJWAL MATOLIYA.pptx
Instruction format UJJWAL MATOLIYA.pptxInstruction format UJJWAL MATOLIYA.pptx
Instruction format UJJWAL MATOLIYA.pptx
ujjwalmatoliya
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
KajalOberoi1
 
Addressing modes presentation
Addressing modes presentationAddressing modes presentation
Addressing modes presentation
UmeshBhattarai4
 
Instruction-Sets-2.pptx
Instruction-Sets-2.pptxInstruction-Sets-2.pptx
Instruction-Sets-2.pptx
ClaivemaxGonzales
 
CAO_Unit-3.ppt
CAO_Unit-3.pptCAO_Unit-3.ppt
CAO_Unit-3.ppt
AshishPandey502
 
central processing unit.ppt
central processing unit.pptcentral processing unit.ppt
central processing unit.ppt
ssuserd27779
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
Shail Modi
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipeline
Rai University
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipeline
Rai University
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013
arunachalamr16
 
Chapter8.ppt
Chapter8.pptChapter8.ppt
Chapter8.ppt
AshokRachapalli1
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
Lakshmi Sarvani Videla
 

Similar to addressing mode 1 (20)

ITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptxITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptx
 
Compreport
CompreportCompreport
Compreport
 
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
 
Central processing unit
Central processing unitCentral processing unit
Central processing unit
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
addressing modes
addressing modesaddressing modes
addressing modes
 
Instruction format UJJWAL MATOLIYA.pptx
Instruction format UJJWAL MATOLIYA.pptxInstruction format UJJWAL MATOLIYA.pptx
Instruction format UJJWAL MATOLIYA.pptx
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
Addressing modes presentation
Addressing modes presentationAddressing modes presentation
Addressing modes presentation
 
Instruction-Sets-2.pptx
Instruction-Sets-2.pptxInstruction-Sets-2.pptx
Instruction-Sets-2.pptx
 
CAO_Unit-3.ppt
CAO_Unit-3.pptCAO_Unit-3.ppt
CAO_Unit-3.ppt
 
central processing unit.ppt
central processing unit.pptcentral processing unit.ppt
central processing unit.ppt
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipeline
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipeline
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013
 
Chapter8.ppt
Chapter8.pptChapter8.ppt
Chapter8.ppt
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 

More from samrana gultasab

Famous scientist and inventions
Famous scientist and inventionsFamous scientist and inventions
Famous scientist and inventions
samrana gultasab
 
Net metering ppt
Net metering pptNet metering ppt
Net metering ppt
samrana gultasab
 
Bipolartransistor
BipolartransistorBipolartransistor
Bipolartransistor
samrana gultasab
 
Covid 19
Covid 19Covid 19
Addressing mode
Addressing modeAddressing mode
Addressing mode
samrana gultasab
 
Li fi technology
Li fi technologyLi fi technology
Li fi technology
samrana gultasab
 
clash between india- pak
clash between india- pak clash between india- pak
clash between india- pak
samrana gultasab
 
Pak indo relation
Pak indo relationPak indo relation
Pak indo relation
samrana gultasab
 
Clash between india and pakistan 2016
Clash between india and pakistan 2016Clash between india and pakistan 2016
Clash between india and pakistan 2016
samrana gultasab
 
Women right in islam
Women right in islamWomen right in islam
Women right in islam
samrana gultasab
 
education system
education systemeducation system
education system
samrana gultasab
 
robotics
robotics robotics
robotics
samrana gultasab
 

More from samrana gultasab (12)

Famous scientist and inventions
Famous scientist and inventionsFamous scientist and inventions
Famous scientist and inventions
 
Net metering ppt
Net metering pptNet metering ppt
Net metering ppt
 
Bipolartransistor
BipolartransistorBipolartransistor
Bipolartransistor
 
Covid 19
Covid 19Covid 19
Covid 19
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Li fi technology
Li fi technologyLi fi technology
Li fi technology
 
clash between india- pak
clash between india- pak clash between india- pak
clash between india- pak
 
Pak indo relation
Pak indo relationPak indo relation
Pak indo relation
 
Clash between india and pakistan 2016
Clash between india and pakistan 2016Clash between india and pakistan 2016
Clash between india and pakistan 2016
 
Women right in islam
Women right in islamWomen right in islam
Women right in islam
 
education system
education systemeducation system
education system
 
robotics
robotics robotics
robotics
 

Recently uploaded

Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 

Recently uploaded (20)

Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 

addressing mode 1

  • 1. ADDRESSING MODE: If we talk about instruction set. Instruction set main contain op-code and operand. OP-CODE: Op-code means operation like addition, subtraction,division ,multiplication etc. OPERAND: Operand mean data which specifies what data is to be operated. Any instruction issued by the processor must carry at least two types of information.  OP-CODE  ADDRESS FIELD OP-CODE OPERAND
  • 2. …CONTINUED OP-CODE Which specifies the operation to be performed like addition ADDRESS FIELD Which contain the location of operands i.e register or memory location. Instruction may be classified on the no of operands as: three address, two address, one and half address, one address and zero address. It should be noted that in presenting these we would use convention operation, source, destination, to express any instruction. Convention operation. In that convention operation represent the operation to be performed, for example, add, subtract, write or read.
  • 3. …CONTINUED Source. The source field represent the operand. The source operand can be a constant, a value stored in a register, or a value stored in a memory. Destination. The destination field represent the place where the result of the operation is to be stored.for example, a register or a memory location. Three address instruction. OPERATION. ADD -1, ADD-2, ADD-3 In this form, each of add-1 add-2 add-3 refers to a register or to a memory location. For example ADD R1,R2.R3
  • 4. …CONTINUED OPERATION: addition. It indicates that the value to be stored are those in register R1 and R2 that result should be stored in register R3 R1+R2----------R3 TWO ADDRESS INSTRUCTION. OPERATION. ADD -1, ADD-2 In this form , each of add-1 add-2 refers to a register or to a memory location. For example ADD R1,R2
  • 5. …CONTINUED OPERATION: addition. This instruction add the content of register R1 to the content of register R2 and store the result in register R2 R1+R2---------R2 The operation performed by the three address instruction ADD A,B,C can be performed by the two address instruction MOVE B,C and ADD A,C . This is because the first instruction moves the contents of location B into location C and second instruction add the contents of location A to those of location C. ONE ADDRESS INSTRUCTION.
  • 6. …CONTINUED: OPERATION. ADD R1 ACCUMULATOR. In this case the instruction implicity refers to a register called accumulator Racc, such that the contents of the accumulator is added to the contents of the register R1 and the result are stored back in to the accumulator. ONE-AND-HALF ADDRESS INSTRUCTION. Between the two and the one address instruction , there can be a one-and-half instruction. The instruction uses two types of addressing , that is, a register and a memory location , it is called a one-and-half-address instruction. For example. ADD B,R1 In this case, the instruction add the content of register R1 to the content of memory location B and store the result in register R1.
  • 7. …CONTINUED ZERO ADDRESS INSTRUCTION. These are the instruction that we use stack operation. STACK OPERATION. A stack is an abstract data type that serves as a collection of elements, with two main principle operation push, which adds an element to the collection, and. Pop, which removes the most recently added element that was not yet removed. EXAMPLE ADD (SP)+,(SP). The instruction adds the contents of the stack location pointed to by the SP to those pointed to by the SP+1 and stores the result on the stack in the location pointed to by the current value of the SP.