Quiz1.wi09

Quiz1.wi09 - ---------- N Z V C N Z V C-----------------...

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

View Full Document Right Arrow Icon
1 Signature __________________ Name_______________ cs30x____ Student ID _________________ Score: Quiz 1 CSE 30 Winter 2009 #1. Show the representation of - 398 10 in the following representation schemes (assume 16-bit words): a) sign magnitude b) one’s-complement c) two’s complement #2. Convert 477 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): 11110110 00101011 + 11001001 + 01110101 ----------
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) 2 #4. Powers of 2 256K = 2 _____ 2 36 = _______ (in terms of K, M, G, etc.) #5. List the order of the stages of the compilation process discussed in class: A - exe/a.out (Executable image) B - ccomp (C Compiler) C - ld (Linkage Editor) D - as (Assembler) E - cpp (C Preprocessor) % cc/gcc file.c --> _______ --> _______ --> _______ --> _______ --> _______...
View Full 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

Quiz1.wi09 - ---------- 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