Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

access registers in powerpc



hello,

 I want to access the link register (r1) in powerpc. What would be the 
instruction and how does one get the register contents into a C variable? I 
want to write a C routine that reads through the stack frame (upwards).
 If there is sample code available -pl. let me know.

thanks
-kamal


********************************************************************************
Network Programs is a SEI-CMM Level 5 & ISO 9001: 2000 Certified Company
********************************************************************************
The information contained in this communication (including any attachments) is
intended solely for the use of the individual or entity to whom it is addressed
and others authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking any action in
reliance on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by responding to this email and delete it from your system.
Network Programs (India) Limited is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt.
********************************************************************************



Home | Main Index | Thread Index | Old Index