This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5中编译汇编遇到的问题



SWI_handler: .asmfunc
  STMFD R13!,{R0-R12, R14} ;
  SUB R13, R13, #0x4  ;
  LDR R0, [R14, #-4]  ;
  BIC R0, R0, #0xFF000000 ;
  CMP R0, #327680  ;
  BNE NOPRIV   ;
  MRS R0, SPSR  ;
  BIC R0, R0, #0x1F  ;
  ORR R0, R0, #0x1F  ;
  MSR SPSR_CF, R0  ;
NOPRIV:         ADD R13, R13, #0x4  ;
  LDMFD R13!, {R0-R12, R14} ;
  MOVS PC, R14   ;
 .endasmfunc

以上代码编译时报错:[E0002] Illegal mnemonic specified
跪求大婶帮忙呀