AnsweredAssumed Answered

Crazy arguments receiving in functions: help!

Question asked by Marco Sarti on May 25, 2009
Latest reply on Jun 4, 2009 by Marco Sarti

Hi,

I use MC9S08LL16 with this version of Codewarrior:

ColdFireV1 build 080723
HCS08LL16 Service Pack 080813
HCS08SE8 Service Pack 080829
Release 8127
PE V.3.04 Service Pack 081024

 

I have declared in funcs.h this function:

unsigned char GestioneMani(unsigned char ,unsigned char );

In funcs.c I have write my function:

unsigned char GestioneMani(unsigned char TempPassata,unsigned char UmidPassata)

if( (TempPassata<26) && (UmidPassata<80))
  return VERDE;

.......

 

Problem: 

the arguments receiving are differents???!!!

This is a call:

CALL

 

and this is inside the function:inside

 

 

Why?

thanks

Outcomes