Essentials of Computer Organization and Architecture
Essentials of Computer Organization and Architecture
5th Edition
ISBN: 9781284123036
Author: Linda Null
Publisher: Jones & Bartlett Learning
bartleby

Concept explainers

Question
Book Icon
Chapter 5, Problem 21E
Program Plan Intro

Immediate addressing mode:

In immediate addressing mode, the instruction is immediately followed by the data which means that the data that is to be used is already given in the instruction itself.

Example:

ADD R4, #4

This instruction is used to add the data 4 immediately with the contents of register R4.

Direct addressing mode:

The address of the instruction that includes address of an operand is known as direct addressing.

Example:

MOV R3, 46H

This instruction is used to move the data present at the location 46H to register R3.

Indirect addressing mode:

The address of the instruction that includes actual operand is known as indirect addressing.

Example:

MOV R2, 37H

This instruction is used to move the content of address present at 37H to register R2.

Indexed addressing mode:

The address of the operand is acquired by aggregating the contents related to general register to index register that contains constant value.

Example:

MOV R3, R4÷DPTR

This instruction is used to move the content of the register and given constant memory location to register R3.

Blurred answer
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education