Quiz4.wi09

Quiz4.wi09 - Name_ cs30x_ Score: Signature _ Student ID _...

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 4 CSE 30 Winter 2009 #1. In the SPARC architecture: If the caller passes 3 actual arguments to a function, those values as formal parameters are accessed in the callee in register ________ through ________ . The ____________ instruction allocates space for local variables. These local variables are accessed with a ______________ (positive or negative) offset relative to register _________. The callee places the return value into register ________ before executing ret/restore. The _____ instruction saves the PC (program counter) as the return address into register ________. The caller retrieves the return value from register _______ after the function it called returns. #2. a) Convert 136.875 10 to binary fixed-point and single precision IEEE floating-point representation (expressed in hexadecimal ). binary fixed-point __________________________________
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.

This note was uploaded on 08/31/2011 for the course CSE 30 taught by Professor Ord during the Fall '08 term at UCSD.

Page1 / 2

Quiz4.wi09 - Name_ cs30x_ Score: Signature _ Student ID _...

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