Quiz1.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 1 CSE 30 Winter 2007 #1. Show the representation of - 322 10 in the following representation schemes (assume 16-bit words): a) sign magnitude b) one’s-complement c) two’s complement #2. Convert 241 10 into (assume 16-bit words): a) binary b) octal c) hexadecimal #3. Fill in the Condition Code bits for the following addition instructions (8-bit two’s-complement numbers): 00110110 01101010 + 11001010 + 01011001 ----------
Background image of page 1

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

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

Unformatted text preview: ---------- N Z V C N Z V C----------------- ----------------- | | | | | | | | | | ----------------- ----------------- (over) #4. Powers of 2 32M = 2 _____ 2 17 = _______ (in terms of K, M, G, etc.) #5. List the five C/C++ Runtime Environment areas in the order as discussed in class that a typical Unix system will lay them out, and in particular the SPARC architecture lays them out: A - Stack B - Heap C - BSS D - Data E - Text _______ low memory _______ _______ _______ _______ high memory...
View Full Document

Page1 / 2

Quiz1.wi07 - ---------- N Z V C N Z V C-----------------...

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