Quiz5.wi07

SPARC Architecture, Assembly Language Programming, and C (2nd Edition)

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

View Full Document Right Arrow Icon
Signature __________________ Name _________________________ cs30x____ Student ID _________________ Score: Quiz 5 CSE 30 Winter 2007 #1. Order the following storage elements/types from fastest to slowest A) RAM (Main Memory) C) Registers E) L2 cache B) L1 cache D) Hard disk F) Tape ______ (Fastest) ______ ______ ______ ______ ______ (Slowest) List the 2 main events that would cause a full context switch: 1) 2) The ________________ is responsible for ensuring all symbols are known/defined. The ________________ is responsible for getting an executable from disk into memory and ready to run. The ________________ is responsible for combining all object files into a single executable file. How many bits are needed in a SPARC Format 3 instruction to encode a specific register? ________ How many bits are available in a SPARC Format 3 instruction to encode an immediate constant? ________ #2. What gets printed if the following function is invoked as recurse( 3, 6 ) ? int
Background image of page 1

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

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

{[ snackBarMessage ]}

Page1 / 2

Quiz5.wi07 - Signature Student ID Name cs30x Score Quiz 5...

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