1 / 14

Unit-1: Addressing Modes

Unit-1: Addressing Modes. Prof.M.Rajasekhara Babu School of Computing Science and Engineering mrajasekharababu@vit.ac.in. OutLine. Recap Session Objectives & Teaching Learning Material Session Plan Assembly Language programming using 4-,3-,2-,1-,0-Address machine instructions

lois
Download Presentation

Unit-1: Addressing Modes

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. Unit-1: Addressing Modes Prof.M.RajasekharaBabu School of Computing Science and Engineering mrajasekharababu@vit.ac.in

  2. OutLine Recap SessionObjectives & Teaching Learning Material Session Plan Assembly Language programming using 4-,3-,2-,1-,0-Address machine instructions Computation of Memory to store and Encode an instruction, Memory access to fetch and Execute and an instruction and Memory traffic Graphical Analysis Assignment References

  3. Re-Cap 1. Number of fields in 4-address, 3-address, 2-address, 1-address and 0-address instructions 2. Define memory access. 3. Number of memory access for fetching 3-address instruction 4. Number of memory accesses for executing a 4-address instruction 4. List the ways to reduce the number of memory accesses

  4. Objectives & Teaching Learning Material • Session Objectives • To teach the instruction set category based on number of operand address by using instruction formats, how to calculate memory to store, memory to encode, M/As to fetch & Execute an instruction and Memory traffic that enable the students to analyze the program in the above said parameters and make the decision on appropriateness of the program. • Teaching Learning Material • LCD, White board Marker, Presentation slides

  5. Session Plan

  6. Introduction • The mode of access of effective address is called addressing mode. • Effective Address • The address in which the actual operand is available is called as Effective address

  7. Letter for Himself

  8. Letter for one of his family Member

  9. Letter for known house address

  10. Letter for unknown house address

  11. Case1: Letter for him self can be mapped to implicit addressing mode. • Implicit addressing mode Case2: Letter for one of his family member 2. Immediate addressing mode Case3: Letter for known house 3. Direct addressing mode Case4: Letter for unkown house 4. Indirect addressing mode

  12. Summary • Implied Addressing Mode • Immediate Addressing Mode • Direct Addressing Mode • Indirect Addressing Mode

  13. Activity: Brainstorming This activity makes the learner to think a real time analogy for most common addressing modes. Encourage the students to prepare charts, roleplays, presentations etc.,, Procedure: Ask the students to form groups and tell them to identify real time analogy which is similar to postman analogy for most common addressing modes. Give them 10minutes time to discuss about analogy and we can facilitate that each group can explain about their analogy and mapping to various addressing modes. The above activity conducted by forming groups and same recorded on paper.

  14. References Text Book William Stallings “Computer Organization and architecture” Prentice Hall, 7th edition, 2006

More Related