DerekChiou_EE306_Spring2009_Lecture9_afterLecture

DerekChiou_EE306_Spring2009_Lecture9_afterLecture -...

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

View Full Document Right Arrow Icon
© Derek Chiou Lecture 9: LC-3, Running  Programs Prof. Derek Chiou University of Texas at Austin
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
2/18/2009 © Derek Chiou : EE306: Lecture 9 Recap State machines Von Neumann LC-3 Outline LC-3 continued Problem Solving
Background image of page 3

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

View Full DocumentRight Arrow Icon
LD R2, 0x1AF  Rd = MEM[PC+offset] 2/16/2009 © Derek Chiou : EE306: Lecture 8
Background image of page 4
LDI R3, 0x1CC Rd = M[M[PC+offset]] 2/16/2009 © Derek Chiou : EE306: Lecture 8
Background image of page 5

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

View Full DocumentRight Arrow Icon
LDR R1, R2, 0x1D 2/18/2009 © Derek Chiou : EE306: Lecture 9 Rd = M[offset]
Background image of page 6
LEA R5, #-3 Rd = PC + offset 2/18/2009 © Derek Chiou : EE306: Lecture 9
Background image of page 7

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

View Full DocumentRight Arrow Icon
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
Background image of page 8
BRz 0x0D9 2/18/2009 © Derek Chiou : EE306: Lecture 9 Condition Codes If (z == 0) then PC = PC + offset
Background image of page 9

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

View Full DocumentRight Arrow Icon
How Are Condition Codes Set? Specific instructions set
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/24/2011 for the course EE 306 taught by Professor Ambler during the Spring '07 term at University of Texas at Austin.

Page1 / 24

DerekChiou_EE306_Spring2009_Lecture9_afterLecture -...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online