According to the data in the previous example, LOD 100 will result in the following number to be stored in AC:
Address Mode | Result | Explanation |
---|---|---|
Immediate | $100$ | $100$ itself is the operand/data. |
Direct | $200$ | $100$ is the RAM address pointing to $200$. |
Indirect | $400$ | $100$ is the address pointing to $200$, which points to $400$. |
Register | $500$ | Because register $100$ contains $500$. |
Register Indirect | $1000$ | Because register $100$ contains the address $500$ pointing to $1000$. |
Indexed | $700$ | $100 + 500$ (IND) $ = 600$ is the RAM address pointing to $700$. |
Based | $300$ | $100 + 300$ (BASE) $ = 400$ is the RAM address pointing to $300$. |
Stack | $600$ | $600$ is popped from the stack and put in AC. |