Can the value of a Macro parameter be input?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can the value of a Macro parameter be input?

636件の閲覧回数
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 返答(返信)