Lab 2 - FL13 - ECE 198 JL - University of Illinois - Engineering Wiki

Additional problems completion of thes e additional

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Tip: It might be us eful to us e the IEEE-754 Floating-point Convers ion tool to better unders tand the repres entation of floating-point numbers . Additional problems Completion of thes e additional problems is not re quire d for la b2 cre dit. However, problems s imilar to thes e may s how up in a future ex am. Bitwise logic In this c alc ulator's language, a “&” is a bitwis e logic al AND, a “|” is a bitwis e logic al OR, a “^” is a bitwis e logic al XOR, and a “~ ” is a bitwis e logic al NOT. In the abs enc e of parenthes is , bit s hifting is alway s done before AND whic h in turn is alway s done before OR, in the s ame way that multiplic ation is alway s done before addition. In 16-bit uns igned mode, run the following c omputations : 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. x 01fa & 1 x 3030 & 1 x 2911 & 1 x 01fa > > 4 & 1 x 3040 > > 4 & 1 x 2911 > > 4 & 1 x 0001 | x 0080 | x 0040 (x 0001 | x 0080 | x 0040) & x 0080 (x 0001 | x 0040) &am...
View Full Document

This document was uploaded on 03/22/2014.

Ask a homework question - tutors are online