हिंदी

Zero flag is not affected in ______ instruction. - Computer Science 2

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

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×