Professional Documents
Culture Documents
By Hasan Murad Lecturer Cse, Uap
By Hasan Murad Lecturer Cse, Uap
By Hasan Murad
Lecturer
CSE,UAP
Chapter Name
• The processor status and the flags register
Why Flags Register?
• Processor can make decision
• Based on Current Status
• 8086 processor Status consists of 9 individual bits called flags
FLAGS Register
Bit Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Flags OF DF IF TF SF ZF AF PF CF
Types of Flag
• Classified into two group
• 1. Status Flags
• 2. Control Flags
Status Flag
• The status flags reflect the result of a computation
Bit Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Flags OF SF ZF AF PF CF