{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# studio_2 - Studio Exercise 2 ECSE-2610 Computer Components...

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

Studio Exercise 2 ECSE-2610 Computer Components & Operations Rensselaer Polytechnic Institute Feb. 1 , 2005 Put your name etc etc on all sheets you hand in. (It's not necessary to list your blood type :-)) This studio is due at the start of next week's studio. 1. Two's complement arithmetic: 1. [6 points] Find all the decimal numbers that are NOT representable numbers for 6-bit two's complement representation. E.g, 30 is representable, but 40 is not. a. -30; b. 32; c. -32; d. -40; e. -16; f. 50 2. [8] Convert the following 4-bit 2s complement binary numbers into decimal. E.g., 1001 would be -7. 0000, 0001, 0010, 0100, 1000, 1100, 1110, 1111 3. [8] 2s complement the above 8 numbers. E.g., 1001 would complement to 0111. 4. [8] Now, consider that the above 8 numbers are unsigned 4-bit binary numbers. Convert them to decimal. 5. [8] Convert them to hexadecimal. 6. [8] Convert the following pairs of decimal number into 5-bit two's complement representations: a. -3, -7; b. -1, 1; c. 5, -12; d. -5, 12 7. [8] Add each pair 5-bit two's complement numbers obtained in last step, and show the answer in both 2s complement binary and decimal.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

studio_2 - Studio Exercise 2 ECSE-2610 Computer Components...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online