Return Address Stack

Return Address Stack

Also RAS. Used in Instruction Fetch .

  • (limited) Stack that records function return addresses
  • RAS is then used in Instruction Fetch when a return instruction is fetched, to predict the return address.
  • Only “predict” since the stack is limited, if callstack too nested, not all addresses can be predicted correctly
Calendar October 22, 2023