Absolute jump without register?
From: Kaelin Colclasure (kaelin_at_bridge.com)
Date: 03/28/04
- Previous message: flekso: "Looking for dos routines"
- Next in thread: Julian Brown: "Re: Absolute jump without register?"
- Reply: Julian Brown: "Re: Absolute jump without register?"
- Reply: Bx.C: "Re: Absolute jump without register?"
- Reply: lallous: "Re: Absolute jump without register?"
- Reply: Matt Taylor: "Re: Absolute jump without register?"
- Reply: wolfgang kern: "Re: Absolute jump without register?"
- Reply: Bart Casiero: "Re: Absolute jump without register?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Mar 2004 19:06:19 +0000 (UTC)
Hi :)
I want to to an absolute jump to an address.
With the aid of a register it looks like this and jumps to the desired
address:
mov edx, 00411A30h
call edx
My question is now: Can I do this in one instruction without the
register (or mem)?
I found the following syntax...
call dword ptr cs:[00411A30h]
...but it seems that it is not the same. It crashes my app with an
access violation.
Why doesn't this work? Is there another way to do it without indirection?
Environment: Windows XP, Visual C++ .NET Inline Assembly
Bye,
Kaelin
- Previous message: flekso: "Looking for dos routines"
- Next in thread: Julian Brown: "Re: Absolute jump without register?"
- Reply: Julian Brown: "Re: Absolute jump without register?"
- Reply: Bx.C: "Re: Absolute jump without register?"
- Reply: lallous: "Re: Absolute jump without register?"
- Reply: Matt Taylor: "Re: Absolute jump without register?"
- Reply: wolfgang kern: "Re: Absolute jump without register?"
- Reply: Bart Casiero: "Re: Absolute jump without register?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|