This preview shows page 1. Sign up to view the full content.
Unformatted text preview: there is a repeated pattern, point out what it is.) 5. Addition and subtraction. Suppose these are unsigned binary numbers. (1 points) (a) 111+1101 (b) 1000-11 6. Complement numbers. Suppose these are 4-bit 2s complement numbers with four bits. Do the indicated operations. For subtraction, get the complement number of subtrahend first, then do addition. Tell if there is an overflow for each one. (3 points) (a) 1111+1110 (b) 0011 0010 (c) 1001 +1110 (d) 0100 + 0101 (e) 1111+0001 (f) 1111+1111 7. Complement numbers. (3 points) (a) Whats the range of the representable numbers in 2s complement system if we use only 8 bits? (b) Do the following operations of 8-bit 2s complement numbers and tell if there is an overflow. i) 00010010+11000100 ii) 10001000-01111111 8. Binary multiplication. Use the method (partial product + shifted multiplicand) we discussed in class. (2 points) 10101 x 11101...
View Full Document
- Spring '08
- Computer Architecture