cs313-2006-t2-problemset6-solution - Execute valE valB + 4...

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

View Full Document Right Arrow Icon
CPSC 313 06W Term 2 Problem Set #6 - Solution 1. iaddl: Stage iaddl V, rB Fetch icode:ifun M 1 [PC] rA:rB M 1 [PC + 1] valC M 4 [PC + 2] valP PC + 6 Decode valB R[rB] Execute valE valB + valC setCC Memory Write back R[rB] valE PC update PC valP 2. leave: Stage leave Fetch icode:ifun M 1 [PC] valP PC + 1 Decode valA R[ebp] valB R[ebp]
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Execute valE valB + 4 Memory valM M 4 [valA] Write back R[esp] valE R[ebp] valM PC update PC valP 3. The solution to the copy block problem will not be provided. 4. The solution to the sequential simulator problem will not be provided. 1...
View Full Document

This note was uploaded on 10/09/2011 for the course CPSC 344 taught by Professor Karen during the Fall '10 term at The University of British Columbia.

Ask a homework question - tutors are online