江湖急救:问下群里的哥们姐们,STM8S105K4 STM8能不能将两个unsigned int型变量相乘,怎么我一乘就提示出错呀
程序如下:
unsigned int a=0,b=400,c=300;
a=b*c;
就这么简单 就提示出错。能指点下吗?
故障提示如下
#error clnk Debug\sinwave.lkf:1 symbol c_lreg not defined (Debug\stm8_interrupt_vector.o )
#error clnk Debug\sinwave.lkf:1 symbol c_rtol not defined (Debug\stm8_interrupt_vector.o )
#error clnk Debug\sinwave.lkf:1 symbol c_uitolx not defined (Debug\stm8_interrupt_vector.o )
#error clnk Debug\sinwave.lkf:1 symbol c_imul not defined (Debug\stm8_interrupt_vector.o )
The command: "clnk -lD:\STMicroelectronics\COSMIC\CXSTM8_32K\Lib -o Debug\sinwave.sm8 -mDebug\sinwave.map Debug\sinwave.lkf " has failed, the returned value is: 1
exit code=1. |