ECE 198 Lecture Notes - Flowchart
Document Summary
Ece 198 worksheet 13: programming the lc-3: multiply. In lecture, we showed you how to implement a constrained version of a multiplication algorithm on the lc-3. This constrained algorithm is shown to the right for your reference. In this discussion worksheet, you will implement an unconstrained version of the multiplication algorithm. This flow chart should not have iterative or conditional constructs and should be written in clear english to help you think through the general strategy you will use to approach the problem. Be sure to think about how you will handle the cases when b is negative. Spending more time on this step will make the other steps go faster. Initialize: get values of a and b from memory clear value of pstartp = p + ab = b - 1b > 0store p in memorystoptruefalse2) decompose your high level flow chart into sequential, iterative, and conditional constructs.