;check if tasm.exe is used.
GBLL THUMBCODE ;global logical variable, init. to {false}
[ {CONFIG} = 16 ;[=if,{CONFIG}:build-in variable defined by ARM assembler,16=assembing
Thumbcode.
THUMBCODE SETL {TRUE} ;SETL:set the logic variable
CODE32 ;changing from Thumb state to Arm state
| ;|=else
THUMBCODE SETL {FALSE}
] ;]=endif
[ THUMBCODE
CODE32 ;for start-up code for Thumb mode???
]
这是三星网站提供的代码,虽然我对这段代码的表面意思很明白,可是我却不理解他的目的是为了什么,为什么
没有直接用CODE32代替???而且后面的IF似乎没有什么作用????
请高手指教!
我要赚赏金
