Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(1) Using an 8-bit pattern, calculate the result for the operation (-42-22). Firstly, convert each number to two's complement. Secondly, calculate the result. Lastly, convert

image text in transcribed
(1) Using an 8-bit pattern, calculate the result for the operation (-42-22). Firstly, convert each number to two's complement. Secondly, calculate the result. Lastly, convert the result back to decimal. (5) (2) Flip the 3 rightmost and the 4 leftmost bits of a 16-bit number A(1101100100010101) first. Suppose that the result is B. Then continue to set the 5 rightmost bits and the 6 leftmost bits of B. Show the masks and operations. (5) (3) A computer has 4GB of memory. Each word is 2 bits. Calculate how many bits are needed to address each single word in memory (5) (4) The following two binary numbers are represented by IEEE 754 single floating point number. Calculate the subtraction for these two numbers using IEEE 754 single floating point format. Do not convert them to real numbers. (5") 01000001010000000000000000000000-01000001000100000000000000000000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

5. Prepare for the role of interviewee

Answered: 1 week ago

Question

6. Secure job interviews and manage them with confidence

Answered: 1 week ago