avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] reading program counter


From: Jamie Morken
Subject: [avr-gcc-list] reading program counter
Date: Tue, 05 Nov 2002 13:57:46 -0800

Hi,

How can I read the program counter in a u16 variable?
I have read the d.s but haven't found the PC address where its value is
stored.

I want to do this because my code is locking up somewhere and if I know the
last
PC address I can see the line of code it is doing this on.

cheers,
Jamie Morken


avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]