21 Aug ENGR 325
1. (5) What is 5ED4 – 07A4 when these values represent unsigned 16-bit hexadecimal numbers? The
result should be written in hexadecimal. Show your work. (P&H 3.1, §3.2)
2. (5) What is 5ED4 – 07A4 when these values represent signed 16-bit hexadecimal numbers stored in
sign-magnitude format? The result should be written in hexadecimal. Show your work. (P&H 3.2,
§3.2)
3. (5) What is 4365 – 3412 when these values represent unsigned 12-bit octal numbers? The result
should be written in octal. Show your work. (P&H 3.4, §3.2)
4. (5) What is 4365 – 3412 when these values represent signed 12-bit octal numbers stored in signmagnitude format? The result should be written in octal. Show your work. (P&H 3.5, §3.2)
5. (5) Assume 185 and 122 are unsigned 8-bit decimal integers. Calculate 185 – 122. Is there
overflow, underflow, or neither? (P&H 3.6, §3.2)
6. (5) Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format.
Calculate 185 + 122. Is there overflow, underflow, or neither? (P&H 3.7, §3.2)
7. (5) Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format.
Calculate 185 – 122. Is there overflow, underflow, or neither?
8. (5) Assume 151 and 214 are signed 8-bit decimal integers stored in two’s complement format. Calculate 151 + 214 using saturating arithmetic. The result should be written in decimal. Show work
9. (5) Assume 151 and 214 are signed 8-bit decimal integers stored in two’s-complement format.
Calculate 151 – 214 using saturating arithmetic. The result should be written in decimal. Show
your work. (P&H 3.10, §3.2)
10. (5) Assume 151 and 214 are unsigned 8-bit integers. Calculate 151 + 214 using saturating
arithmetic. The result should be written in decimal. Show your work. (P&H 3.11, §3.2)
11. (5) As discussed in the text, one possible performance enhancement is to do a shift and add instead
of an actual multiplication. Since 9 x 6, for example, can be written (2 x 2 x 2 + 1) x 6, we
can calculate 9 x 6 by shifting 6 to the left three times and then adding 6 to that result. Show the
best way to calculate 0x33 x 0x55 using shifts and adds/subtracts. Assume both inputs are 8-bit
unsigned integers. (P&H 3.17, §3.3)
12. (5) What decimal number does the bit pattern 0x0C000000 represent if it is a two’s complement
integer? An unsigned integer? (P&H 3.20, §3.5)
13. (5) If the bit pattern 0x0C000000 is placed in the Instruction Register, what MIPS instruction will be
executed? (P&H 3.21, §3.5)
14. (5) What decimal number does the bit pattern 0x0C000000 represent if it is a floating point
number? Use the IEEE 754 standard. (P&H 3.22, §3.5)
15. (5) Write down the binary representation of the decimal number 63.25 assuming the IEEE 754 single
precision format. (P&H 3.23, §3.5)
16. Write down the binary representation of the decimal number 63.25 assuming the IEEE 754 double
precision format. (P & H 3.24, 3.5)
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Wridemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
