1 / 11

Memory Addressing Techniques

Memory Addressing Techniques. Immediate Addressing. involves storing data in pairs with immediate values register pairs:. Immediate Addressing ~ Examples. #1 ~ load the B register with 12 and the C register with 34. Immediate Addressing ~ Examples.

Download Presentation

Memory Addressing Techniques

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Memory Addressing Techniques

  2. Immediate Addressing • involves storing data in pairs with immediate values • register pairs:

  3. Immediate Addressing ~ Examples #1 ~ load the B register with 12 and the C register with 34

  4. Immediate Addressing ~ Examples #2 ~ load the D register with 54 and the E register with 32

  5. Immediate Addressing ~ Examples #3 ~ load the H register with 45 and the L register with 67

  6. Direct Addressing • assigns the contents of a memory location to a register • what we have seen so far

  7. Direct Addressing ~ Examples #1 ~ load the accumulator with the contents of address 1234

  8. Direct Addressing ~ Examples #2 ~ store the contents of the accumulator at address ABCD

  9. Indirect Addressing • involves loading and storing information in the accumulator • information in the accumulator is received from register pairs

  10. Indirect Addressing ~ Examples #1 ~ store the contents of registers B and C in the accumulator

  11. Indirect Addressing ~ Examples #2 ~ load the accumulator with FF and store the contents of the accumulator at memory location 2040

More Related