/**************************************************************************
查看Step Over、Step Into、Step Out、Next Statement的区别
CPU:MSP430F149
编写者:czhang
2005年2月
**************************************************************************/
#include <msp430x14x.h>
unsigned int Moon(unsigned int iq0);
unsigned int River(unsigned int iq0);
int main( void )
{
unsigned int MoonRiver;
WDTCTL = WDTPW + WDTHOLD; //关闭看门狗
mei:
MoonRiver=0;
MoonRiver=Moon(100)+River(200);
goto mei;
return 0;
}
unsigned int Moon(unsigned int iq0)
{
return (iq0+10);
}
unsigned int River(unsigned int iq0)
{
return (iq0+1);
}