Stack cache

My question is about the stack cache that can be found in Java processors like Sun's picoJava. I cannot understand how the stack cache handles a function call or return. I know the stack cache maintains a top and a bottom pointer to point to the top and bottom entries in the stack cache (for the current method context). Then how does it maintain multiple values (each pair of values corresponding to a function call) of such pointers when a function call happens?

Thank you.

Reply to
googler
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.