The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: korte on July 11, 2009, 10:00:27 PM

Title: textequ
Post by: korte on July 11, 2009, 10:00:27 PM


p2 = 9

want:  mov eax, 1 shl xnum_9

but constant parameter not work

   mov eax, 1 shl xnum_ & p2   !!!!!!!!!!!! error







Title: Re: textequ
Post by: qWord on July 11, 2009, 10:08:43 PM
did i understand you right:

xnum_9 = 123
p2 = 9

mov eax, 1 shl @CatStr(<xnum_>,%p2)


regards, qWord