0% found this document useful (0 votes)
6 views3 pages

Understanding Processor Addressing Modes

The document outlines various addressing modes used by processors to access data, including register, direct, immediate, indirect, and others. Each mode is described with a brief explanation and an example instruction. These addressing modes facilitate efficient data manipulation and memory access in computing systems.

Uploaded by

mtharunisha2007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Understanding Processor Addressing Modes

The document outlines various addressing modes used by processors to access data, including register, direct, immediate, indirect, and others. Each mode is described with a brief explanation and an example instruction. These addressing modes facilitate efficient data manipulation and memory access in computing systems.

Uploaded by

mtharunisha2007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ADDRESSING MODES

The different ways that a processor can access data are referred to as addressing
modes

[Link] ADDRESING MODE

Register mode is a fast and efficient addressing mode because the data is accessed
directly from the register without needing to fetch it from memory

EXAMPLE; MOV R2,R1

this instruction copies the contents of Register R2 to register R1

[Link] addressing mode

direct addressing mode is a scheme in which the address specifies which memory word
or register contains the operand

example LOAD R1 ,100

load the contents of memory address 100 to register R1

[Link] addressing mode

in place of address field immediate addressing mode has opted and field it does not
recover any reference to memory

example ADD 3

[Link] addressing mode

in indirect addressing mode the address field in the instruction contains the memory
location or register where the effective address of the operand is present.

example LOAD R1,(1005)

[Link] indirect addressing mode

the address of the target memory location will be stored in the register and the
registered will be mentioned in the instruction.

example LOAD R1,(R2)

[Link] addressing mode

instruction has two address field: value and referral referenced register. the effective
address is computed by adding content of referenced Register to value.

Example : Value + (R)

[Link] addressing mode


here the referenced register is program counter and hence this addressing mode is also
known as PC relative addressing mode

EXAMPLE

JMP REL8

Jumps to a memory address that is located at end of set of 8 bytes from the current
instruction pointer.

[Link] register addressing mode

base register addressing mode is used to implement intersegment transfer of control


example : MOV [R+8],A

this instruction copies the contents of memory whose address is determined by adding
the contents of register R and displacement 8 to the register A.

[Link] addressing mode

used to access elements in arrays which are stored in memory at consecutive location.

example : MOV[R1+RI],R

the contains of the memory address generated by the addition of main memory address
and displacement is copy to register or.

[Link] increment addressing mode

the content present in the register is initial incremented and then the content that is
incremented in the register is used in the form of an effective address

example MOV R0,(R2)+

this instruction copies the contents of Register or not into the memory location whose
address is specified by the contents of Register or 2 after copy operation the content of
Register or 2 or automatically implemented by one.

[Link] decrement addressing mode

the contents of your register specified in the instruction and degree method and then
they are used as an effective address to access a memory location

example MOV-(R0),R1

the instruction initially degree months the contents of Register or not and then the
decremental contents of Register or not are used to address the memory location finally
the contents from the address the memory location or copied into the register or 1.

stack addressing mode


start pointer always contains the address of top of stack t o s where the operand is to
be stored does the address of the operant is the contents of Tag pointer

example

push R

this instruction decrements SP and copies the contents of Register R on the top of stack
pointed by stack pointer.

You might also like