PS04 - ECE 109 Spring 2010 Name:_ Section:_ Problem Session...

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

View Full Document Right Arrow Icon
ECE 109 Spring 2010 Name:__________________________________________ Section:______________________ Mar 1-4, 2010 1 Problem Session 4 If you don’t have your book, the instruction formats that you’ll need for this assignment are listed on the last page. 1. Warm-ups (20 pts – 5 pts each): Write a sequence of LC-3 instructions in binary to perform each task. Assume that EACH INSTRUCTION sequence begins at memory location x3000 . (NOTE: Each task is independent – do not rely on the results of one task to perform the next.) (a) Load the value from memory location x2FF0 into register R2. (b) Store the value in R3 to memory location x30A0. (c) Store the value 12 into memory location x302F. (d) Clear the low-order four bits of memory location x2FFF. (In other words, set bits 3:0 to zero. Leave all other bits unchanged.)
Background image of page 1

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

View Full DocumentRight Arrow Icon
ECE 109 Spring 2010 Name:__________________________________________ Section:______________________ Mar 1-4, 2010 2 For each remaining problem, (1) draw a flowchart , and (2) write a sequence of LC-3 instructions. End
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

PS04 - ECE 109 Spring 2010 Name:_ Section:_ Problem Session...

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

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