Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 (1+0.5+2+0.5= 4 marks) 1 (a) Showing all your working out and the carries perform the following additions (i) 1110 10002 + 0110 11112,

Question 1 (1+0.5+2+0.5= 4 marks) 1 (a) Showing all your working out and the carries perform the following additions

(i) 1110 10002 + 0110 11112, using 8 bit arithmetic. Explain whether your solution is valid or invalid?

(ii) 578 + 158 1 (b) The bitwise operations AND, OR, NOT and XOR are used to do bit-masking, that is, to set (made 1 ) or reset (made 0) particular bits on a byte (or word).

Find the appropriate bitmask(s) M and bitwise operator(s) for any byte A for the following cases showing all your working out and intermediate steps: (i) Make sure that the LSB is set and only this bit is set in the byte. (ii) Flip the MSB and bit 3 leaving the other bits untouched.

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago