Input/Output, DMA & Interrupts
![Question 10(b), GATE 2000: The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.
Task: State ALE and active-low RD at T1,T2,T3,T4.](../../assets/questions/CS-2000-Q64-1.webp)
![Question 10(b), GATE 2000: The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.
Task: State ALE and active-low RD at T1,T2,T3,T4.](../../assets/questions/CS-2000-Q64-2.webp)
Shared context
The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.
Answer & solution
Answer: ALE: pulse high in T1, low in T2–T4. RD̅: high, low, low, high. (no official key was published)
1. T1 is the opcode-fetch address phase. ALE pulses high so an external latch can retain the low address before AD₇…AD₀ is reused as a data bus. RD̅ remains inactive high.
2. In T2 and T3 the memory read is active: RD̅ is low and the addressed memory drives the opcode. ALE is low because the low address has already been latched.
3. T4 is internal decoding, not an additional memory read, so RD̅ is high and ALE is low. State-level summary (T1,T2,T3,T4): ALE=(pulse,0,0,0); RD̅=(1,0,0,1). A pulse is not a claim that ALE is high for the entire T1 interval.
4. These first four states are an opcode fetch for either DAH or DBH; thus the opcode discrepancy does not alter this control-signal answer. Subsequent cycles do differ, as explained in part (a).