This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembler function executing bug?

Hi,

- assembler function
- C-function
- assembler function

__asm void MyAsmFunc1(void)
{
//do some assembler code
}

void vMyCFunc1(void)
{
//do something
}

void vMyCFunc2(void)
{
//do something
}

void vMyCFunc3(void)
{
//do something
}

__asm void MyAsmFunc2(void)
{
//do some assembler code
}

Using the debugger stepping through my code I discovered that if calling MyAsmFunc1 then after execution has finished it just goes on executing the MyAsmFunc2 function without this second function ever being called!

Weirdo...

Does any expert know what's going on here?

Henk

0