how do i declare a jump table in inline assembly language? I want to do the code below, but msvc is not taking the dd lines.
I also tried _asm _emit offset label1
but it only spit out 1 byte
_asm _emit (offset label1) >> 8
doesn't compile either so I can't do it a byte at a time.
_asm {
jmp skiptable
jmptable:
dd offset label1
dd offset label2
skiptable:
jmp [table + 4*eax]
label1:
....
label2:
....
}