flat assembler
Message board for the users of flat assembler.

Index > DOS > help rdtsc

Author
Thread Post new topic Reply to topic
michalll



Joined: 01 Mar 2007
Posts: 7
michalll
i have a bit of problem with rdtsc instruction, as far as i kow it should load edx and eax with current time stamp. But when i call it writes
Quote:
Current time: xx.xx.xx,xx
Enter new time:

thats quite odd
Post 12 Aug 2008, 14:21
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
You made your own little program "time.asm" that assembles to "time.com" or "time.exe"? command.com has a built-in command, time, which will override your executable... try calling it "mytime" instead Smile
Post 12 Aug 2008, 17:34
View user's profile Send private message Visit poster's website Reply with quote
michalll



Joined: 01 Mar 2007
Posts: 7
michalll
thanks that was it Very Happy
Post 12 Aug 2008, 18:47
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Np - I've been in more or less the same situation, took me a bit to realize before I slammed my head into the wall and felt stupid Razz
Post 12 Aug 2008, 18:50
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
or you can call it rdtsc.com (or tsc.com), as it is rdtsc application.
Post 14 Aug 2008, 18:07
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.