marphy

What is meant by indirect addressing?

Hi I attended a lecture on addressing methods for processor memory and I am confused about indirect addressing. Please elaborate with examples.

Add a comment

0%

1 reply

sangameswar

"Indirect addressing gives the address of the address of the data in the instruction.

The PIC Assembler uses this mode:

movlw 0x20 ; Get an address

movwf FSR ; Store that address

movfw INDF ; Read data at location with that address

Source: http://in.docsity.com/en-docs/Processors_-_Assembler_Programming_and_Computer_Organization_-_Lecture_Slides_"

Add a comment

0%