{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# 3-m - at address x3082 into R5 x3012 If R5 is not positive...

This preview shows pages 1–7. Sign up to view the full content.

2 Exam #1 Distribution Mean: 81.5 (median: 83) Within one standard deviation of mean: 63.2 – 99.8

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
3 Load/Store Instruction Calculations • For LEA, LD/ST, LDI/STI: offset for (first) address is calculated: PCoffset9 = Desired Memory Address – (Instruction Address + 1) • LEA puts Desired Memory Address in register • LD/ST accesses contents of that memory location, gets/puts register from/to there • LDI/STI accesses contents of that memory location, gets another address from there, then gets/puts register from/to the memory location labeled by the second address
4 Load/Store Instruction Calculations • For LDR/STR: offset for address is calculated: Offset6 = Desired Memory Address – Address in Base Register • LDR/STR (like LD/ST) then accesses contents of that memory location, gets/puts register from/to there Metaphor: Bins in a warehouse; you have two runners to get bin contents

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
22 Daily Quiz • Encode these operations: x3011 Load the contents of the memory

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.