Summary: Take address of label (at least in inline asm)
--- Comment #0 from Dmitry Olshansky <dmitry.o...@gmail.com> 2012-07-26
14:11:39 PDT ---
See also NG discussion:
So address of label can be taken via some asm trick:
add EAX, 4;
move address, EAX
//OK now address points where needed
move EAX, [ESP];
//<<--- want code pointer here
The request is to allow direct use of label addresses in contexts other then
lea, mov, etc.
An extension of that would be to introduce taking of label address in normal D
code to aid portability, but that's the whole other question.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------