Advertisements
Advertisements
प्रश्न
Zero flag is not affected in ______ instruction.
पर्याय
XRA A
SUB A
CMP A
MVI A, OOH
MCQ
रिकाम्या जागा भरा
Advertisements
उत्तर
Zero flag is not affected in MVI A, OOH instruction.
Explanation:
MVI A, 00H is a data transfer instruction, and data transfer instructions do not affect any flags in the flag register.
On the other hand, XRA A, SUB A, and CMP A are arithmetic/logical instructions, and they modify the Zero flag based on the result.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2022-2023 (March) Official
