To mask the higher order bits (D7-D4) of a byte means to set those bits to 0, while keeping the lower bits (D3-D0) unchanged. This can be done by performing a logical AND operation with a mask.
(i) Correctly loads the content of register C into A. The instruction `ANI F0H` masks the higher order bits and saves the result back in A, and finally saves it back in C.
(ii) Correctly masks the higher order bits using register B. The instruction `ANA B` does the same thing.
(iii) Does not mask the higher order bits, as the MVI operation loads 0F in register B.
(iv) Does not mask the higher order bits, as the ANI operation masks the lower bits. Hence the correct option is (i) and (ii).
Match the following: For 8086 microprocessor
