annotate tests/mini/compile_asm1.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 657d37df25b0
children
rev   line source
tomas@436 1 extern(C) int printf(char*, ...);
tomas@436 2 void main()
tomas@436 3 {
tomas@436 4 void* i;
tomas@436 5 asm
tomas@436 6 {
tomas@436 7 mov EAX, FS:4;
tomas@436 8 mov i, EAX;
tomas@436 9 }
tomas@436 10 printf("FS:4 = %p\n", i);
tomas@436 11 }