Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Studio problem, "invalid opcode"

2007-06-16 by David VanHorn

On 6/16/07, John Samperi <samperi@ampertronics.com.au> wrote:
> At 08:14 AM 17/06/2007, you wrote:
> >M128, it shouldn't be ANYWHERE near there though..
>
> Is your code LESS than 64K? Or are you passing the 64K boundary?
> I have never gone past that so don't really know what lies beyond
> that.

WAY less. 3064 words

>
> >In the disasm, the call reads as rcall PC+0268
>
> Have you tried CALL just in case?

Yup, same thing.

>Maybe some wraparound? I know I'm
> clutching at straws...forgetting to pop something off the stack and
> the pc gets messed up? Thinking aloud sometimes helps even if the questions
> are silly and obvious..

At this point (starting the failing call), the SP is at 10FF, which is correct.
It's on the call in, where everything fails, I don't even get to the return.

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.