Practice Direct Addressing Mode Example - 31.3.2 | 31. Introduction to Addressing Modes | Computer Organisation and Architecture - Vol 1
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What is the value in R1 if R1 + 1 accesses memory location 2 initially?

💡 Hint: Consider how registers are indexed starting from 1.

Question 2

Easy

If R5 is initialized to 0, what will it be after adding the value at memory[2]?

💡 Hint: Think about what value was stored in memory[2].

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

In direct addressing mode, how is memory accessed?

  • Through the register value
  • By fetching from multiple addresses
  • Using an address offset

💡 Hint: Remember how registers directly point to memory locations.

Question 2

True or False: The effective address is always calculated by subtracting register values.

  • True
  • False

💡 Hint: Review the examples of address calculation.

Solve and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

You have an array starting at memory location 100H with values 1, 3, 5, and 7. If R1 is 2, what value will be added to R5 when executed with R5 += array[R1 + 1]?

💡 Hint: Calculate the effective memory location first.

Question 2

If a CPU operates with 8-bit data sizes, how many instructions could effectively fit in a 16-bit addressing space when split into two words?

💡 Hint: Count how many 8-bit segments fit into 16-bits.

Challenge and get performance evaluation