Question: 1. In a 6-bit two's complement system, A=010110, when perform B= NOT A, which of following statements are true? a. B = 101001, NZCV=0000 b.
1. In a 6-bit two's complement system, A=010110, when perform B= NOT A, which of following statements are true?
a. B = 101001, NZCV=0000 b. B = 101000, NZCV=1000 c. B = 101000, NZCV=0000 e. B = 101001, NZCV=1000
2. In a 6-bit two's complement system, A=010110, B=001100, when perform X=A AND B, which of following statement is true?
a. X is 110001, NZCV=0000 b. X is 000100, NZCV=0000 c. X is 110001, NZCV=0001 d. X is 000100, NZCV=0001 e. None of the above
3. The hexadecimal of the 10-bit unsigned binary number 10 1001 1100 is _______.
a. 29C b. A70 c. C92 d. 07A
4. If a 12-bit memory location contains D9B in hexadecimal, then the binary representation is ______.
a. 1011 1001 1101 b. 1101 1001 1001 c. 1001 1011 1101 d. 1011 1101 1001 e. 1101 1001 1011
5. The decimal number for the 8-bit 2's-complement binary number, 1100 1100 is _______
a. -52 b. 52 c. 396 d. -396 e. None of the above
6. In a 6-bit two's complement system, A=010110, B=001100, when perform X=A + B, which of following statement is true?
a. X is 100010, NZCV=1000 b. X is 000010, NZCV=0000 c. X is 100010, NZCV=1001 d. X is 100100, NZCV=0001 e. 100010, NZCV=0110
7. In a 6-bit two's complement system, A=010110, B=001100, when perform X=A XOR B, which of following statement is true?
a. X is 011010, NZCV=0001 b. X is 011110, NZCV=0000 c. X is 011110, NZCV=0001 d. X is 011010, NZCV=0000 e. X is 011010, NZCV=0010
8. In a 6-bit two's complement system, A=010110, B=001100, when perform X=A - B, which of following statement is true? Hint: perform C= NEGATE B, then perform X = A+C
a. X is 001010, NZCV=0011 b. X is 001010, NZCV=0010 c. X is 101010, NZCV=0011 d. X is 101010, NZCV=0010 e. X is 001010, NZCV=0001
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
