从arm 到 gnu 的汇编转换
转换1,如下:
arm 如下:
MACRO ABC $a, $b, $h, $w
EXPORT TestMacro$a._abc$b._haha ; 有“.” 拼接符
TestMacro$a._abc$b._haha PROC
IF "$b" = "1" : LOR : "a" = "2" ; 注释
...
ENDIF
IF "$b" = "2"
...
ELIF "$b" = "abc"
...
ELSE
...
ENDIF
IF $a = 3
...
ENDIF
_loop
bne _loop
ENDP
MEND
ABC 2, 3, abc, del
------------------------------------
gun 如下:
.macr ABC a, b, h, w, delim, suffix1, s
转换1,如下:
arm 如下:
MACRO ABC $a, $b, $h, $w
EXPORT TestMacro$a._abc$b._haha ; 有“.” 拼接符
TestMacro$a._abc$b._haha PROC
IF "$b" = "1" : LOR : "a" = "2" ; 注释
...
ENDIF
IF "$b" = "2"
...
ELIF "$b" = "abc"
...
ELSE
...
ENDIF
IF $a = 3
...
ENDIF
_loop
bne _loop
ENDP
MEND
ABC 2, 3, abc, del
------------------------------------
gun 如下:
.macr ABC a, b, h, w, delim, suffix1, s