

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


#1. Show the representation of - 29310 in the following representation schemes (assume 16-bit words):
a) sign magnitude
b) one’s-complement
c) two’s complement
#2. Convert 36210 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):
10110110 00101010
(over)
#4. Powers of 2
128K = 2_____
224 = _______ (in terms of K, M, G, etc.)
#5. List the order of the stages of the compilation process discussed in class:
A - ld (Linkage Editor) B - exe/a.out (Executable image) C - ccomp (C Compiler) D - as (Assembler) E - cpp (C Preprocessor)
% cc/gcc file.c --> _______ --> _______ --> _______ --> _______ --> _______