I. Multiple Choice. Shade the box that corresponds to your answer. 1. The TEST instruction performs the operation. c. NOT 2. An instruction that inverts all bits of a byte or word. a. AND b. OR d. XOR a. XOR b. NEG c. NOT d. ВTC 3. The following operations (instruction) function with signed numbers except one. a. SHL 4. How many places the instruction SHL AX, 10H logically shifted right the value of AX? а. 16 5. The CMP instruction performs the , b. IDIV c. SAR d. IMUL b. 10 с. 1 d. NOTC operation. c. SUB 6. The task of clearing a bit in a binary number is called c. jumping a. TEST b. ВТС d. CMPXCHG b. ORing a. masking 7. Select an instruction form the following that tests bit position 2 of register CH. a. TEST CH, 2 8. After the execution of instruction NEG AX, what will be the value of AX with initial value of 01101101? d. NOTC b. ВТ СН, 2 c. a and b d. NOTC a. 10010010 b. 10010000 с. 10010011 d. 10010100 9. The initial value of AX is 01011100, what will be the value of AX after the instruction NOT AX? a.10100011 b. 10100110 c. 010100011 d. NOTC 10. Suppose AX = 5 (decimal), what will be the value of AX after the instruction SHL AX, 3 executes? а. 20 b. 15 с. 9 d. 40
I. Multiple Choice. Shade the box that corresponds to your answer.
1. The TEST instruction performs the __________________ operation.
a. AND b. OR c. NOT d. XOR
2. An instruction that inverts all bits of a byte or word.
a. XOR b. NEG c. NOT d. BTC
3. The following operations (instruction) function with signed numbers except one.
a. SHL b. IDIV c. SAR d. IMUL
4. How many places the instruction SHL AX, 10H logically shifted right the value of AX?
a. 16 b. 10 c. 1 d. NOTC
5. The CMP instruction performs the _________________ operation.
a. TEST b. BTC c. SUB d. CMPXCHG
6. The task of clearing a bit in a binary number is called __________.
a. masking b. ORing c. jumping d. NOTC
7. Select an instruction form the following that tests bit position 2 of register CH.
a. TEST CH, 2 b. BT CH, 2 c. a and b d. NOTC
8. After the execution of instruction NEG AX, what will be the value of AX with initial
value of 01101101?
a. 10010010 b. 10010000 c. 10010011 d. 10010100
9. The initial value of AX is 01011100, what will be the value of AX after the instruction
NOT AX?
a.10100011 b. 10100110 c. 010100011 d. NOTC
10. Suppose AX = 5 (decimal), what will be the value of AX after the instruction SHL AX,
3 executes?
a. 20 b. 15 c. 9 d. 40
Trending now
This is a popular solution!
Step by step
Solved in 2 steps