digitalmars.D.learn - Re: Memory corruption rant.
- Kagamin <spam here.lot> Jun 02 2011
Kagamin Wrote:writeln("I'm still ok"); asm { cmp EBP,0; ja ok; hlt; ok: nop; } writeln("Still ok"); if(myObject is null) writeln("3"); else writeln("4");
without hlt: asm { cmp EBP,0; ja ok; call _msg; ok: nop; } extern(C) void msg() { writeln("msg hit"); assert(0); }
Jun 02 2011