hw01

# hw01 - For the problems below do the arithmetic in the...

This preview shows page 1. Sign up to view the full content.

LSU EE 2720-2 Homework 1 Due: 21 September 2011 Problem 1: Perform each of the conversions below. Convert 812 10 to Hexadecimal, Binary, and Octal the smart way. The smart way is to convert it to hexadecimal Frst. ±rom there it is a simple matter to convert the hex to binary and then the binary to octal. Convert 812 16 to decimal. Convert 812 10 to BCD, Excess-3, and 2421 encoding. Convert - 812 10 to 12-bit: signed magnitude, 2’s complement, and 1’s complement represen- tations. Convert the 8-bit quantity 10100101 to decimal assuming it is: binary unsigned, 2’s comple- ment signed, 1’s complement signed, and BCD unsigned. If the quantity 10100101 is not a valid number in any of these representation, then use “not valid” as your answer instead of the decimal number. Problem 2: Perform the arithmetic indicated below. Show the answers in the same representation as the operands (binary, BCD, etc) and also in decimal. Show your work. Indicate whether there was over²ow.
This is the end of the preview. Sign up to access the rest of the document.