请教编译问题!

2020-02-08 12:10发布

请教!
在编译时,出现一个warning,不知道是怎么回事!
我在调用一个串口处理程序时,才会出现,注释掉就不会出现,不知道是什么原因引起的!
请高手不吝赐教!
Warning [1352] F:PIC16F690DebugDebugCOMRxdTxdmain.c; 884. truncation of operand value (0x100) to 8 bits



Build F:PIC16F690DebugDebugCOMRxdTxdDebugCOMRxdTxd for device 16F690
Using driver C:Program FilesHI-TECH SoftwarePICC9.70inpicc.exe

Make: The target "F:PIC16F690DebugDebugCOMRxdTxdmain.p1" is out of date.
Executing: "C:Program FilesHI-TECH SoftwarePICC9.70inpicc.exe" --pass1 F:Tool_yanrzPICC-SourcePIC16F690DebugDebugCOMRxdTxdmain.c -q --chip=16F690 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICC9.70inpicc.exe" -oDebugCOMRxdTxd.cof -mDebugCOMRxdTxd.map --summary=default --output=default main.p1 --chip=16F690 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode)  V9.70
Copyright (C) 2009 Microchip Technology Inc.
Warning [1352] F:PIC16F690DebugDebugCOMRxdTxdmain.c; 884. truncation of operand value (0x100) to 8 bits

Memory Summary:
    Program space        used   4B7h (  1207) of  1000h words   ( 29.5%)
    Data space           used    70h (   112) of   100h bytes   ( 43.8%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Configuration bits   used     1h (     1) of     1h word    (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Lite mode.
The HI-TECH C PRO compiler output for this code could be 482 words smaller.
See http://microchip.htsoft.com/portal/pic_pro for more information.

Loaded F:Tool_yanrzPICC-SourcePIC16F690DebugDebugCOMRxdTxdDebugCOMRxdTxd.cof.

********** Build successful! **********
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。