InClassActivity06-sol - 5:54 PM Activity#06 SOLUTION...

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

View Full Document Right Arrow Icon
2/8/02 5:54 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2002 Page 1 of 2 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 0000 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. 250. 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 4.26, and the same operands. 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
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 note was uploaded on 04/25/2010 for the course ECSE ecse-2340 taught by Professor Wozny during the Spring '09 term at Rensselaer Polytechnic Institute.

Page1 / 2

InClassActivity06-sol - 5:54 PM Activity#06 SOLUTION...

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