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

📚Flashcards
Modes of Addressing
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

14 cards from this deck

Show

What do addressing modes define?

How instructions identify data location in memory

What are the 4 main addressing modes?

Immediate, direct, indirect, indexed

Where is the operand in immediate addressing?

Specified directly in the instruction itself

Immediate addressing main advantage

Fast - no memory lookup required

Immediate addressing use case

Loading constant values quickly

Immediate addressing disadvantage

Not flexible - value is fixed in instruction

What does direct addressing specify?

Memory address where data is located

Direct addressing use case

Accessing specific fixed memory locations directly

Indirect addressing pointer concept

Address where actual data address is stored

Indirect addressing disadvantage

Slower - requires extra memory lookup

Indirect addressing ideal for

Dynamic data structures like linked lists

Indexed addressing calculation

Base address + index register offset

Indexed addressing common use

Iterating over arrays or lists

Indexed addressing limited by

Size of the index register

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

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