2011-12-04 34 views

回答

3

我沒有找到MASM的選項(/Cp,/Cx,/Cu似乎沒有幫助)。但我發現TASM一種解決方法:

public fabs 

code segment 

fabs proc 
nop 
ret 
fabs endp 

code ends 

end 

可以編譯爲tasm.exe /ml fa.asmfabs將出現在目標文件中並作爲符號名稱列出。上市:

Symbol Name      Type Value 

??date       Text "12/04/11" 
??filename      Text "fa  " 
??time       Text "04:32:11" 
??version       Number 0314 
@Cpu        Text 0101H 
@FileName       Text fa 
@WordSize       Text 2 
@curseg       Text code 
fabs        Near code:0000 
0
option nokeyword: <fabs> 

.code 
fabs proc 
    ret 
fabs endp 
相關問題