Reply to Carl, > How can i access non-static class fields? try somthing like this (I haven't even tried to compile this) public class FooBar { public int b = 8; } FooBar foo = new FooBar(); // foo is a pointer asm{ mov EBX, foo; // load by value mov EAX, [EBX+FooBar.b.offsetof]; //offset from pointer }