{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

DerekChiou_EE306_Spring2009_Lecture9_afterLecture

# DerekChiou_EE306_Spring2009_Lecture9_afterLecture -...

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

© Derek Chiou Lecture 9: LC-3, Running  Programs Prof. Derek Chiou University of Texas at Austin

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

View Full Document
Administration Exam 1 will be March 4 th All material covered in class through Feb 25 th could be on the test 2/18/2009 © Derek Chiou : EE306: Lecture 9
2/18/2009 © Derek Chiou : EE306: Lecture 9 Recap & Outline Recap State machines Von Neumann LC-3 Outline LC-3 continued Problem Solving

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

View Full Document
LD R2, 0x1AF  Rd = MEM[PC+offset] 2/16/2009 © Derek Chiou : EE306: Lecture 8
LDI R3, 0x1CC Rd = M[M[PC+offset]] 2/16/2009 © Derek Chiou : EE306: Lecture 8

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

View Full Document
LDR R1, R2, 0x1D 2/18/2009 © Derek Chiou : EE306: Lecture 9 Rd = M[offset]
LEA R5, #-3 Rd = PC + offset 2/18/2009 © Derek Chiou : EE306: Lecture 9

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

View Full Document
Addressing Modes How is address computed for Load/Store? PC relative (LD/ST) Rd = M[PC + offset] Indirect Rd = M[M[PC + offset]] Base+offset Rd = M[Rs + offset] Immediate Rd = PC + offset 2/18/2009 © Derek Chiou : EE306: Lecture 9
BRz 0x0D9 2/18/2009 © Derek Chiou : EE306: Lecture 9 Condition Codes If (z == 0) then PC = PC + offset

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

View Full Document
How Are Condition Codes Set?
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 24

DerekChiou_EE306_Spring2009_Lecture9_afterLecture -...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online