刚开始用Real View MDK-ARM 3.15B,我写了段C程序,在编译时出现了以下警告:请教高手。 #define GPBCON (*(volatile unsigned long *)0x56000010) #define GPBDAT (*(volatile unsigned long *)0x56000014) int main () { GPBCON=0x00004000; GPBDAT=0x00000000; return 0; }
assembling S3C2410A.s... S3C2410A.s(971): warning: A1786W: This instruction using SP is deprecated in ARMv7 compiling ARM.C... linking... Program Size: Code=1316 RO-data=16 RW-data=0 ZI-data=1256 "ARM.axf" - 0 Error(s), 1 Warning(s). |