Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C166: Return instruction of CALLA (2 Replies)

$
0
0
Hi All I'm looking for an issue in a code written in C and I think it might be due to the compiler. For this SW I'm using c166 V3.05a (an old legacy code). The compiler calls one function with CALLA instruction but the return instruction is RETS (I think should be RET). I think that this cause a spurious value into the stack that in some case create error in the other part of the code. The code that cause this is like BYTE* funct(); BYTE * p_a; BYTE funct_val(); *(p

Viewing all articles
Browse latest Browse all 3049

Trending Articles