Modes of Addressing (OCR A-Level Computer Science): Quizzes

📚Quizzes
Modes of Addressing
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

12 questions from this quiz

Show

What do addressing modes in assembly language define?

How instruction identifies data location

What are the four main addressing modes?

Immediate, direct, indirect, indexed

In immediate addressing, where is the operand located?

Directly in the instruction

Why is immediate addressing fast?

It doesn't require a memory lookup

What does direct addressing specify in the instruction?

The memory address of the data

What is a disadvantage of direct addressing?

Addresses are hard-coded

What does indirect addressing use to locate data?

A pointer to the data address

Why is indirect addressing slower than direct?

It requires an extra memory lookup

How is the effective address calculated in indexed addressing?

By adding base address to index value

What is indexed addressing commonly used for?

Iterating over arrays or lists

In the example, what value is loaded by MOV A, #5?

The constant 5

What common mistake occurs with indexed addressing?

Forgetting to update index register

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.