|
From: Cyrill G. <gor...@gm...> - 2010-10-05 20:57:42
|
On Wed, Oct 06, 2010 at 12:51:47AM +0400, Cyrill Gorcunov wrote: ... > In mmacro params head TOK_NUM should be concat'ed with > tail TOK_NUM only, otherwise the weird construction like > > %define id1 1 > %define idid1 2 > %define TOK_NUM 1 > %define TOK_ID id > > %macro m 2 > mov eax, 1%1id%2 ; this expands to 1idid1 > ; where idid1 expands to 2 > ; and then to 12 > %endmacro > > m TOK_ID, TOK_NUM > > Do not proceed. > Did not I mean :) |