Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Note: Solve all question by hand (clear and understandable) and take a clear picture and insert the answers in assignment file at the place of
Note: Solve all question by hand (clear and understandable) and take a clear picture and insert the answers in assignment file at the place of each question. Please upload the file in .doc format. Copying the contents from anywhere is strictly prohibited. Copied assignments will be marked as zero. Question 1: 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. Question 2: 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 Question 3: Using a table similar to that shown in following, calculate the product of the hexadecimal unsigned 8-bit integers 62 and 12. You should show the contents of each register on each step. Iteration Step Multiplier Product 1 1 N Initial values 1a: 13Prod = Prod + Mcand 2: Shift left Multiplicand 3: Shift right Multiplier 1a: 1 = Prod = Prod + Mcand 2: Shift left Multiplicand 3: Shift right Multiplier 1:0 No operation 2: Shift left Multiplicand 3: Shift right Multiplier 1:0 No operation 2: Shift left Multiplicand 3: Shift right Multiplier 0011 0011 0011 0000 0001 0001 0000 0000 0000 0000 0000 0000 0000 Multiplicand 0000 0010 0000 0010 0000 0100 0000 0100 0000 0100 0000 1000 0000 1000 0000 1000 0001 0000 0001 0000 0001 0000 0010 0000 0010 0000 0000 0000 0000 0010 0000 0010 0000 0010 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 3 4 FIGURE 3.6 Multiply example using algorithm in Figure 3.4. The bit examined to determine the next step is circled in color. Question 4: What decimal number does the bit pattern 0x0C000000 represent if it is a two's complement integer? An unsigned integer? Show your work
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started