[fpc-pascal] find return adress of a procedure/function

Rainer Stratmann RainerStratmann at t-online.de
Sun Apr 24 11:44:18 CEST 2011


How to find the return adress of the calling code of a procedure/function?

Where in the stack is the information to the return adress?

stack + - x?

How to acess to the information in assembler?
Is it in every processor architecture possible, for example ARM?
(actually 80x86).
Is it different in 32 / 64 bit?



More information about the fpc-pascal mailing list