ece109_InClass09

ece109_InClass09 - (Why is this important?) When the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 109 Spring 2010 Name:__________________________________________ February 17, 2010 Class Assignment 9 1. Draw a flowchart describing an algorithm for the LC-3 processor that multiplies the value in register R0 by ten, and puts the result in register R1. R0 holds a number between -3000 and +3000, inclusive.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (Why is this important?) When the algorithm finishes, R1 will contain the value of R0 10, and R0 will be unchanged. You may change other registers, as needed. NOTE: Multiplication is just shorthand for repeated addition. 2. Write a sequence of LC-3 instructions (in binary) to implement your algorithm....
View Full Document

Ask a homework question - tutors are online