In an 8085 system, a PUSH operation requires more clock cycles than a POP operation. Which one of the following options is the correct reason for this?
For POP, the data transceivers remain in the same direction as for instruction fetch (memory to processor), whereas for PUSH their direction has to be reversed.
Memory write operations are slower than memory read operations in an 8085 based system.
The stack pointer needs to be pre-decremented before writing registers in a PUSH, whereas a POP operation uses the address already in the stack pointer.
Order of registers has to be interchanged for a PUSH operation, whereas POP uses their natural order.
Correct answer: (C) The stack pointer needs to be pre-decremented before writing registers in a PUSH, whereas a POP operation uses the address already in the stack pointer.
Explanation
In the 8085, a PUSH first decrements the stack pointer and then writes the two bytes of the register pair. A POP simply reads from the address already in the stack pointer and then increments it. The extra pre-decrement step is what makes PUSH take 12 clock cycles against 10 for POP.
More Computer Organization questions
GATE 2015 EC Q24– In an 8085 microprocessor, the shift registers which store the result of an addition and…
GATE 2017 EC Q26– The clock frequency of an 8085 microprocessor is 5 MHz. If the time required to execute an…
GATE 2017 EC Q55– The following FIVE instructions were executed on an 8085 microprocessor. The Accumulator…
GATE 2014 EC (EC2) Q52– The figure shows an 8085 interface for input of eight-bit digital data DI₀–DI₇ from an…
GATE 2014 EC (EC4) Q52– An 8085 executes STA 1234H starting at address 1FFEH. STA copies the accumulator to the…
GATE 2016 EC (EC2) Q52– An 8 Kbyte ROM with active-low chip select CS is used with an 8085. It must occupy…