I'm working on some similar stuff in my interpreter right now, and there
is a way to have an array of jump labels (kind of).
Now, to copy this label into a variable:
Code:
void* jmpPtr;
__asm mov EAX, aLabel
__asm mov jmpPtr, EAX
Of course, you can then put these jump pointers into an array. That's the way I do it anyway. (Note, you don't have to use the EAX register, any 32-bit general purpose register should do.)