inline asm, jmp to offset?
Well in inline asm I have done this to do jumps to addresses.
Code:
int addr = 0x00400324
__asm{
jmp addr
}
But I was wondering how you would do just "jmp 0x00400324" because of how the program works i cant store the value it has to be completely static like "jmp 0x00400324" but that doesnt work.
Re: inline asm, jmp to offset?
Why not just declare it const.. isn't that what you want anyway? If it won't allow you to type the address straight into the jmp directive, then just declare the address as const and use it like you just have..
chem