For today...
- Convert the number 4 and 3/4 into binary. Your result should look like xxx.xxx, where the Xs are either 0 or 1.
- Convert the number into binary scientific notation. So, you'll wind up with x.xxxxx, where the first X is a 1. The number of times you shift the decimal place will be the exponent (if the decimal moves left, the exponent is positive; if it moves right, it's negative).
- In the IEEE floating point format, the number stored in the 8-bit chunk is the real exponent plus 127. So... add 127 to the exponent found in step 2, and convert that to an 8-bit unsigned integer.
- Glue it all together.
First bit is 0 if positive.
Next 8 bits is the number found in step 3.
Last 23 bits are the fraction (after the decimal place in step 2).
You don't have to write all the zeros -- just put a line stretching to the right, with a zero at the end....
- Show your TA!
- Now, do the same thing for -11 and 7/8.
- Show your TA again!
- Use the NOT, NAND, and NOR diagrams from the book. For each possible input pattern (NOT has 0 and 1, NAND and NOR have 00, 01, 10, 11), sketch the diagram, and circle the transistors that are on for each pattern.
- Yes. You'll need to draw the NOT gate twice. And you'll need to draw the NAND and NOR gates four times.
- Include in your sketches the output of the gates.
- Show your TA the sketches. Make sure your TA agrees that they are correct. During the exam next week, you'll have to draw them again, and if the TA doesn't agree now, he certainly won't agree when he's grading the exam.