Could some kind soul please explain to me what
this C macro does ?


The INDEXTOSTATEIMAGEMASK macro is defined as follows:

#define INDEXTOSTATEIMAGEMASK(i) ((i) << 12)
Posted on 2001-11-29 20:19:19 by anon
Looks like a logical shift left by 12 bits.
INDEXTOSTATEIMAGEMASK macro i:REQ

EXITM %((i) SHL 12)
ENDM
Posted on 2001-11-29 20:28:23 by bitRAKE
Thanks for the translation bitRAKE, I'll try it out now :grin:
Posted on 2001-11-29 21:20:36 by anon