From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4abdf0ad9d593e46,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-03 04:48:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!luth.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: "Magnus Andersson" Newsgroups: comp.lang.ada Subject: GNAT Inline machine code Date: Mon, 3 Jun 2002 13:48:07 +0200 Organization: ericsson Message-ID: NNTP-Posting-Host: 172.17.76.217 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:25252 Date: 2002-06-03T13:48:07+02:00 List-Id: 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