Explain the TEST instruction.
TEST: The TEST instruction executes the AND operation. The difference is as the AND instruction changes the destination operand, whereas the TEST instruction does not. This TEST only affects the condition of the flag register that indicates the result of the test.