Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
121 views
in Electronics by (115k points)
closed by
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?
1. 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.
2. Memory write operations are slower than memory read operations in an 8085 based system.
3. 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.
4. Order of registers has to be interchanged for a PUSH operation, whereas POP uses their natural order.

1 Answer

0 votes
by (152k points)
selected by
 
Best answer
Correct Answer - Option 3 : 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.

PUSH  is  pre decremented operation

Since it is 16 bit operation it takes 6 clock cycles for Fetch and decoding operation.

For PUSH operation:

T1

T2

T3

6 clock cycles

3 clock cycles

3 clock cycles

Fetch and  Decode

Write operation

Write operation

 

Total no of clock cycles = 6+3+3= 12 clock cycles

Whereas POP is a post incremented operation and it takes only 4 clock cycles in fetch and decode operation.

For POP:

T1

T2

T3

 4 clock cycles

3 clock cycles

3 clock cycles

Fetch and  Decode

Write operation

Write operation

 

Total no of clock cycles = 4+3+3= 10 clock cycles

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...