Professional Documents
Culture Documents
MIC Ut1
MIC Ut1
2 Mark’s
1 ) State the function of ALE and READY pin of 8086.
Ans: ALE: i) ALE stand for Address Latch Enable.
ii) Pin number 25.
iii) Generates a signal to latch the address into the external latch for stable output.
READY: i) Pin number 29
ii) Indicates the external memory or I/O device is ready to send or receive data.
Segment Register:
Function: Holds segment base addresses used to calculate physical addresses.
CS (Code Segment): Holds the base address of the code segment.
DS (Data Segment): Holds the base address of the data segment.
SS (Stack Segment): Holds the base address of the stack segment.
ES (Extra Segment): Used with certain instructions for additional data segment
access.
Address Generation:
To generate a physical address, the 8086 combines the base address of the segmentwith an
offset address.
The offset address is provided by the instruction being executed.
The physical address is calculated as follows: Physical Address = Base Address of Segment
+ Offset Address.
Optional)))))))))))))
Carry Flag (CF): Indicates if there was a carry-out or borrow in arithmetic operations.
Parity Flag (PF): Indicates if the number of set bits in the result is even.
Auxiliary Carry Flag (AF): Indicates a carry-out or borrow in the lower 4 bits of a byte.
Sign Flag (SF): Indicates the sign of the result (negative or non-negative).
Overflow Flag (OF): Indicates if the result of a signed operation is too large or too small.