Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.powerpc.tech > #17
| Newsgroups | comp.sys.powerpc.tech |
|---|---|
| Date | 2015-03-02 02:54 -0800 |
| References | <9066vt$gkh12@nntp.cig.mot.com> |
| Message-ID | <9fcafe76-0eea-46f8-994f-5bcaddc5b90a@googlegroups.com> (permalink) |
| Subject | Re: PPC 8260 - reading program counter |
| From | shakti.bhumca07@gmail.com |
On Thursday, 30 November 2000 13:30:00 UTC+5:30, Derek Opitz wrote: > How do I read the program counter? > > Writing exceptions for the 8260, and I want access to the program counter. > I think I can get access to all other registers, but I don't know how to get > access to the program counter. > > Thanks in advance, > > Derek Hi, My problem is related to PPC crash handler. I had implemented crash handler in arm but when I am trying to implement crash handler in PPC, I am facing some problem. In arm registers we use pc (program counter), frame pointer (fp) and sp(stack pointer). BUT when I trying to implement crash handler in PPC, registers name are different like general purpose register (gpr), floating point register(fpr),srr0, lr. Which register in PPC, I should use as pc, which register should I use as fp and which register should I use as pc. Please help me. Regards, Shakati
Back to comp.sys.powerpc.tech | Previous | Next | Find similar
Re: PPC 8260 - reading program counter shakti.bhumca07@gmail.com - 2015-03-02 02:54 -0800
csiph-web