Addressing. Sample Question. Three addressing modes. Immediate Not an address. Use this number as it is. Direct Treat this number as an address, use the value that is at that address. Indirect
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Indirect addressing may be used for code or data. It can make implementation of pointers or references or handlesmuch easier, and can also make it easier to call subroutines which are not otherwise addressable.
Some early minicomputers (e.g. DEC PDP-8, Data General Nova) had only a few registers and only a limited addressing range (8 bits). Hence the use of memory indirect addressing was almost the only way of referring to any significant amount of memory.
LDA 99 (X)
LDA #0;load 0 to acc
LDX #0;load 0 to x
LOOPSTA TABLE(X);store acc in table+x
CPX #99;compare x with 99
BNE LOOP;branch if not equal
What does this do?