On Wednesday, 16 May 2012 at 18:17:50 UTC, Walter Bright wrote:
On 5/16/2012 2:40 AM, Mehrdad wrote:
The trouble with 'sticking to D code' is that, well, I can't... it's naked...

Just insert an asm call to a function that returns the address of foo.

Hmmm... interesting idea.

Not a real fan of this solution, since it's extra code, and it involves a function call (and I was trying to avoid function calls in this code, since it's going to be in a boot-sector-like thing). But I think it'll work, thanks...

Reply via email to