Computers - Technical MCQs

Q1:

Which of the following is not an arithmetic instruction?

A INC (increment)

B CMP (compare)

C DEC (decrement)

D ROL (rotate left)

ANS:D - ROL (rotate left)

Compare uses subtraction operation thus it is arithmetic instruction, while ROL is logical.