- Back to Home »
- Flag Registers In 8086, Conditional flag,
The Conditional Flag:-
There are six conditional flag.
- The Parity Flag(PF)
- The Zero Flag(ZF)
- The Sign Flag(SF)
- The Auxiliary Flag(AF)
- The Carry Flag(CF)
- The Overflow Flag(OF)
1.The Parity Flag(PF)-If the no of 1's is even in the output stored in the accumulator then it is set otherwise it is reset for the odd.
2. The Zero Flag(ZF)-If the result stored in an accumulator is zero then this flip flop is set otherwise it is reset.
3.The Sign Flag(SF)- If D7 of the result is 1 then sign flag is set otherwise reset. As we know that a number on the D7 always desides the sign of the number.
if D7 is 1: the number is negative.
if D7 is 0: the number is positive.
4. The Auxiliary Flag(AF)-If any carry goes from D3 to D4 in the output then it is set otherwise it is reset.
5. The Carry Flag(CF)-If the result stored in an accumulator generates a carry in its final output then it is set otherwise it is reset.
6.The Overflow Flag(OF)- If a carry goes from D6 to D7 then OF is set otherwise it is reset.
Block Diagram 8259A
ReplyDeleteLR parsing
RPC Implementation Issues
Touch Panels
Multiprogramming Concept with Context switching
Sutherland Hodgeman Polygon Clipping
Conflict Serializability
Relocating Loaders
Parallel Arbitration Logic
Semantic Analysis AI
ReplyDeleteReal Modes of 80386
8 puzzle problem
Prototype Process Model
Error Recovery Strategies
Page Replacement Strategies
TCP/IP Reference Model
Heuristic Search Technique Simple Hill Climbing
Limitations GPRS