Question: Arithmetic and logical operations: Let A = 01110101 and B = 11001001 be 2s complement integers. Compute the following. Assume a fixed width of 8
Arithmetic and logical operations: Let A = 01110101 and B = 11001001 be 2s complement integers. Compute the following. Assume a fixed width of 8 bits (i.e., your answers must be 8 bits). Please show your work -- failure to do so means you get zero points.
A OR B (bitwise OR)
A AND B (bitwise AND)
A+ B + 1 (B is complement of B)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
