我用的ADS1.2编译器,可在分配堆栈命令中的 space 不可识别,现象如下:
UsrStackSpace SPACE USR_STACK_LEGTH*4
SvcStackSpace SPACE SVC_STACK_LEGTH*4
IrqStackSpace SPACE IRQ_STACK_LEGTH*4
FiqStackSpace SPACE FIQ_STACK_LEGTH*4
编译后有错误:
Error : A1150E: Bad symbol
test4.s line 74
74 00000000 UsrStackSpace SPACE USR_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 75
75 00000000 SvcStackSpace SPACE SVC_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 76
76 00000000 IrqStackSpace SPACE IRQ_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 77
77 00000000 FiqStackSpace SPACE FIQ_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 78
78 00000000 AbtStackSpace SPACE ABT_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 79
79 00000000 UndStackSpace SPACE UND_STACK_LEGTH*4
Error : A1150E: Bad symbol
test4.s line 74
请大家指点.