InClassActivity06-sol

InClassActivity06-sol - 10/07/07 5:54 PM Activity #06...

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

View Full Document Right Arrow Icon
10/07/07 5:54 PM Activity #06 SOLUTION Activity 6.1 (first hour) Binary Arithmetic 1. (10) Show the following decimal numbers in signed 8-bit and 16-bit hex format: 8-bit 16-bit +43 2b 002b -43 d5 ffd5 Grading: 2 off for each wrong value 2. (10) Extend the 16-bit number abed to 32 bits, a. assuming that it is unsigned : 0000 abed b. assuming that it is signed : ffff abed Grading: 5 if right, 0 if wrong 3. (10) Perform a binary multiplication as on p. 176. Multiplicand: 0110 2 , Multiplier: 1011 2 Grading: 2 off for every wrong line 4. (10) Fill in the table, using the algorithm shown in Figure 3.8, and the same operands. 0110 1011 0110 0110 0000 0110. ... 1000010 Iteration Step Multiplier Multiplicand Product 0 1011 00000110 00000000 1 1 1011 00000110 00000110 2 1011 00001100 00000110 3 0101 00001100 00000110 2 1 0101 00001100 00010010 2 0101 00011000 00010010 3 0010 00011000 00010010 3 1 0010 00011000 00010010 2 0010 00110000 00010010 3 0001 00110000 00010010 4 1 0001 00110000 01000010 2
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/08/2008 for the course ECE 562 taught by Professor Zhou during the Fall '07 term at New Hampshire.

Page1 / 2

InClassActivity06-sol - 10/07/07 5:54 PM Activity #06...

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