ee357_hw8_sol

ee357_hw8_sol - EE 357 Homework 8 Name: _Solutions_ Note:...

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

View Full Document Right Arrow Icon
EE 357 Homework 8 Name: ___Solutions________________________________ Note: Attach all work to receive full credit 1.) Write the control sequence of steps for the fetch and execution phase of the following instructions on the three-bus CPU structure presented in class. Show step numbers. Also, optimize your sequences to take the least number of clock cycles (not just steps). This means you should do increments or other possible operations while READs or WRITEs are started. Note : More lines may be shown then the actual number of steps required. a.) SUBI.W #1234,D4 Sub ops: Read SUBI instruct, Inc. PC, Read ext. word $1234, Inc. PC, Subtract $1234 from D4 Step # Steps for Fetch, Decode, and Execution phase 1. PCoutA, F=A, MARin, READ 2. PCoutA, SEL2, ADD, PCin, WMFC 3. MDRoutA, F=A, IRin 4. Decode 5. PCoutA, F=A, MARin, READ 6. PCoutA, SEL2, ADD, PCin, WMFC 7. D4outA, MDRoutB, SUB, D4in, END b.) MOVE.W $7000,$7800 Subops: Read ext. word $7000, Inc. PC, Read data at $7000, Read ext. word $7800, Inc. PC, write data from $7000 to $7800 Step # Steps for execution phase only 5. PCoutA, F=A, MARin, READ 6.
Background image of page 1

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

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

Page1 / 4

ee357_hw8_sol - EE 357 Homework 8 Name: _Solutions_ Note:...

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

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