Question: (3) The Dec VAX computer did not have instructions for Boolean operations and, or, instead, it had instructions bis and bic, both of which take

(3) The Dec VAX computer did not have instructions for Boolean operations and, or, instead, it had instructions bis and bic, both of which take data word r and a mask word m and generated a result z, which consisted of the bits of r modified by the bits of m. For bis, the modification sets the bits of z to 1 at cach position is 1. For bic the modification scts the bits of z to 0 where ever m is 1. (a) Find the Boolean function (in disjunctive normal form), implemented by (i) bis (i) bic. (b) Implement the bitwise operator xor only using bis and bic (write it as a C function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
