Unit-1: Addressing Modes. Prof.M.Rajasekhara Babu School of Computing Science and Engineering [email protected] OutLine. Recap Session Objectives & Teaching Learning Material Session Plan Assembly Language programming using 4-,3-,2-,1-,0-Address machine instructions
Unit-1: Addressing Modes
School of Computing Science and Engineering
SessionObjectives & Teaching Learning Material
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
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
Letter for Himself
Letter for one of his family Member
Letter for known house address
Letter for unknown house address
Case1: Letter for him self can be mapped to 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
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.
William Stallings “Computer Organization and architecture” Prentice Hall, 7th edition, 2006