Wayne Pengelly

Can the value of a Macro parameter be input?

Discussion created by Wayne Pengelly on Mar 28, 2013

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?

 

Outcomes