Can the value of a Macro parameter be input?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can the value of a Macro parameter be input?

642 次查看
waynepengelly
Contributor I

I would like to input the value of a Macro parameter.

 

MyMacro:           MACRO

xxAddr\1:                 SET         \2

                           ENDMACRO

 

MyLoc:               SET         5 

xxAddr5:            SET         8

 

                MyMacro  MyLoc, 3

 

The code assembles as:

 

xxAddrMyLoc:    SET      3

 

I would like the code to assemble as:

 

xxAddr5:    SET      3

 

Does anyone know how to accomplish this?

 

标签 (1)
0 项奖励
回复
0 回复数