lec14 - Computer Programming I TA C162 Todays Agenda LC3...

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

View Full Document Right Arrow Icon
1 Computer Programming I TA C162 10/02/07 Today’s Agenda LC-3  Few Questions on LC-3 ISA Data path Various Components of Data path Instruction cycle example
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Computer Programming I TA C162 10/02/07 Question: How many times does the LC-3 make a read or write  request to memory during the processing of the  following instructions. LD LDI LDR LEA ST  STI STR
Background image of page 2
3 Computer Programming I TA C162 10/02/07 Question How might one use a single LC -3 instruction to move the value in R2 into  R3? Sol: Machine Code:    0001 011 010 1 00000   Assembly Code:  ADD R3, R2, #0   
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Computer Programming I TA C162 10/02/07 Try your self: If the control is redirected to location 0x4444 after the  execution of the following instructions, what should have been  the relationship between R1 and R2 before these instructions  were executed ? Address          Instruction -------------      ------------------------ 0x4400      1001100010111111               0x4401      0001100100100001        0x4402      0001100001000100       0x4403                        0000100001000000  
Background image of page 4
5 Computer Programming I TA C162 10/02/07 LC-3 Data Path
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

lec14 - Computer Programming I TA C162 Todays Agenda LC3...

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

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