Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] call, ret

2005-02-22 by Dave VanHorn

At 08:56 AM 2/22/2005, Eric wrote:

>Hi all, Now here is a tricky problem, sorry to hog your time.
>
>I have a call statement near the start of the program I comment out just 
>before I download it to the
>micro, but when I wish to step through the program with the simulator, I 
>un-comment it.
>
>The main program calls a function then that calls a second function which 
>calls a third function, (but as
>I step through it) a "RET"urn in the third function should send it back to 
>were the second function left
>off, But instead sends the studio program right back to the very first 
>statement at the beginning of the
>program.

And your stack pointer is set to where?

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.