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

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

View Full Document Right Arrow Icon
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
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 homework help was uploaded on 04/22/2008 for the course ECSE 2610 taught by Professor Ji during the Spring '08 term at Rensselaer Polytechnic Institute.

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 Right Arrow Icon
Ask a homework question - tutors are online