From: "Magnus Andersson" <magnus.andersson@avionics.saab.se>
Subject: GNAT Inline machine code
Date: Mon, 3 Jun 2002 13:48:07 +0200
Date: 2002-06-03T13:48:07+02:00 [thread overview]
Message-ID: <adfks1$cb2$1@newstoo.ericsson.se> (raw)
How do I read the system clock using GNAT inline assembler?
This results in compiler error "No code generated for file rdtsc.ads
(package spec)":
asm("rdtsc ");
asm("movl %%eax, %0", Outputs => Interfaces.Unsigned_32'Asm_Output ("=g",
high123) );
Thanks
/ Magnus
next reply other threads:[~2002-06-03 11:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 11:48 Magnus Andersson [this message]
2002-06-03 13:57 ` GNAT Inline machine code Mark Johnson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox