GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.22

8085 RET machine cycles

Computer Organization & Architecture · Instructions & Addressing Modes · Full GATE CSE 1996 paper

GATE 1996, Q1.22 1 mark · MCQ
Report issue

Instructions & Addressing Modes

Question 1.22, GATE 1996: How many machine cycles does an ordinary 8085 RET instruction require?
Tap to enlarge
Your answer
Answer & solution

Answer: C: 3 (no official key was published)

RET first fetches its opcode. It then reads the two bytes of the saved return address from the stack, requiring two memory-read machine cycles. Those bytes restore the program counter and the stack pointer advances by two. Thus the total is one opcode-fetch cycle plus two memory-read cycles, or three. Machine cycles are not individual clock T-states, so counting clock periods instead would confuse two different timing measures.

Original paper, page 3