You are on page 1of 1

KT20203 Keakitekturan Komputer Semester 2 2010/2011

Assignment 2

1. Generate the code for data word 0101000000111001. Show that the
code will correctly identify an error in data bit 5. 2. Divide 15 by 5 in binary twos complement notation.

3. Given x = -7 and y = -5. Find the twos complement notation of x and


y, then compute the product x x y with Booths Algorithm using 4-bit words.