AREA ARMex, CODE, READONLY ; name this block of code ENTRY ; mark first instruction ; to execute AST EQU 16
start MOV r0, #10 ; Set up parameters ; MOV r1, #3 ; ADD r0, r0, r1 ; r0 = r0 + r1
;stop ; MOV r0, #0x18 ; angel_SWIreason_ReportException ; LDR r1, =0x20026 ; ADP_Stopped_ApplicationExit ; SWI 0x123456 ; ARM semihosting SWI ; LDR CONFIG, 0 IF {AST}=16 ;888kjlkjlkjkjlkjlkjlkjlk44444 ELSE ;JLKAJLFKDJALKJFLKJ ENDIF END ; Mark end of file
如果把AST 改成CONFIG就能编译通过, 换成其他的就有问题了, 请教大家一下
|