Similar presentations:
Memory addressing princples
1.
Memoryaddressing
princples
LO:
12.3.4.1 explain memory addressing
2.
RevisionClick to start a quiz!
This quiz covers key concepts of Virtual
Machines, Paging, and Segmentation in
operating systems.
3.
Memoryaddressing
modes
There are many ways to locate data and
instructions in primary memory and these
methods are called “memory address modes”.
Memory address modes determine the method
used within the program to access data either
from the Cache or the RAM.
4.
What arethese
addressing
modes?
Direct
Indirect
Immediate
We have four addressing modes:
Indexed
5.
Group workCreate a poster about memory addressing
mode(show how memory addressing modes
works and provide examples):
• Direct
• Indirect
• Immediate
• Indexed
6.
Immediateaddressing
LDM
Immediate addressing means that the
data to be used is hard-coded into the
instruction itself.
LDA #8
Answer is: 8
7.
Directaddressing
LDD
This is a very simple way of addressing
memory - direct addressing means the
code refers directly to a location in
memory
LDA (3001)
Answer is: 859
8.
Indirectaddressing
LDI
Indirect addressing means that the
address of the data is held in an
intermediate location so that the address
is first 'looked up' and then used to locate
the data itself.
LDA [3001]
Answer is: 653
9.
Final address = base address + indexIndexed
Addressing
LDX
Indexed addressing means that the final
address for the data is determined by
adding an offset to a base address.
LDA 3000[2]
Answer is: 1025
10.
11.
PRACTICEsolve the challenges
Understanding Memory Address Modes
- 101 Computing
12.
EXam stylequestion
Read questions from handouts and answer in
copybooks
13. Assembly language instructions
14. Assembler trace table example 1
15. Answer
16.
Assembler trace table example 217.
Answer18.
Individual work in workbook19. Task 1
20.
Answer21. Task 2
22.
Answer23. Task 3
24.
Answer25. Task 4.1
26.
Answer27. Task 4.2
28.
Answer29. Task 5
30.
Answer31. Task 6
32.
Answer33. Task 7
34.
Answer35. Task 8
36.
Answer37. Task 9
38.
Answer39. Task 10
40.
Answer41. Reflection
Rate your understanding! *
Out of 10, how confident are you now with this task? Be honest!
WWW? (WHAT WENT WELL?)
EBI? (EVEN BETTER IF...?)
informatics