Computer Science > QUESTIONS & ANSWERS > ASSEMBLY LANGUAGE PROGRAMMING (All)
ASSEMBLY LANGUAGE PROGRAMMING Explain the nine defined Flag registers in 8086 by stating what active and inactive flags indicate. There are 9 defined flag registers which are further divided int... o two categories namely status and control flags. Control flags are 3 in number and they enable and disable certain operations of the microprocessor. Status flags are 6 in number i. Sign flag (S). This is a status flag whereby the result after any operation is negative, then the flag is set to 1. If it is indicated that the number is positive, then it is rese to 0. ii. Zero flag (Z). This is a status flag. It is set to 1 when the result of any arithmetic or logical operation is 0. It is reset to 0 if that result is any but a zero iii. Auxiliary Carry flag (AC). This is a status flag used in Binary Coded Decimal number system. It is set to 1 if there is an unsigned overflow for low nibble. Otherwise, it is reset to 0 iv. Parity Flag (P). This is a status flag where if the result of any arithmetic or logical operation has an even number of bits, the parity register becomes set to 1. If the number of bits of the result is odd, the register is reset to 0 v. Carry flag (CY). This is a status flag. When performing an operation with a specified number of bits, if this specified number is exceeded, a carry is generated. When a carry is generated, this flag is set to 1, and if not it is reset to 0 [Show More]
Last updated: 2 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 18, 2022
Number of pages
2
Written in
This document has been written for:
Uploaded
Mar 18, 2022
Downloads
0
Views
122
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·