ARM ADS assembly and Gnu assembly conversion

  
 

When porting the assembly code under ARM ADS to the GCC for ARM compiler, there are the following rules: 1. Comment lines are replaced by "@" or "/* ... */"";" ;2, GET or INCLUDE => .INCLUDE such as: get option.a => .include "option.a"3, EQU => .equTCLK2 EQU PB25 => .equ TCLK2, PB25SETA ==> .equSETL ==> .equBUSWIDTH SETA 16 => .equ BUSWIDTH, 164, EXPORT => .globalIMPORT => .externGBLL => .globalGBLA =>gt.global5, DCD => .long6, IF : DEF: => .IFDEFELSE => .ELSEENDIF => .ENDIF:OR: =>

Copyright © Windows knowledge All Rights Reserved