GATE 2014 EC (EC4) – Question 52
An 8085 executes STA 1234H starting at address 1FFEH. STA copies the accumulator to the specified 16-bit address. During fetch and execution, what values appear sequentially at address pins A₁₅–A₈?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) 1FH, 1FH, 20H, 12H
Explanation
The three instruction bytes are fetched from1FFEH,1FFFH and2000H, whose high bytes are1FH,1FH and20H. The accumulator is then written to address1234H, presenting high byte12H. Thus the sequence is **1FH,1FH,20H,12H,A**. The16bit program counter crosses a page boundary during operand fetching.