Re: c++ inline assembler and oop
- From: "WahJava" <spamtrap@xxxxxxxxxx>
- Date: Thu, 29 Sep 2005 18:50:13 +0000 (UTC)
Hi Frank,
Although I've not done this class stuff but I think you can access
class members (instance members), similar to the way you access a
structure members.
e.g.If EBX points to a [Vec3] instance, so in order to refer to [y]
member variable, use:
mov EAX, DWORD PTR [EBX].y
The above statement will copy value of [EBX]->[y] into [EAX] register
Thanx,
Ashish Shukla alias Wah Java !!
Wah Java !!
.
- References:
- c++ inline assembler and oop
- From: Frank Heckel
- c++ inline assembler and oop
- Prev by Date: Accessing Debug Registers in Linux
- Next by Date: Re: Clever ways to hide a compare
- Previous by thread: c++ inline assembler and oop
- Next by thread: Linux asm code
- Index(es):
Relevant Pages
|