Can the value of a Macro parameter be input?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can the value of a Macro parameter be input?

396 Views
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?

 

Labels (1)
0 Kudos
Reply
0 Replies