Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: saxman
Forum: C++ Jan 30th, 2005, 1:38 PM
Replies: 1
Views: 264
Posted By saxman
Re:

This comes from Ken Silverman:

#if 0 //To compile, type: "nmake getmhz.c"
getmhz.exe: getmhz.c; cl getmhz.c /MD /G6y /Ox /nologo /link /opt:nowin98
!if 0
#endif

#include <windows.h>
#include...
Forum: C++ Jan 24th, 2005, 2:16 PM
Replies: 1
Views: 264
Posted By saxman
Question Using RDTSC In C/C++

I'm trying to use the RDTSC (Read Time-Stamp Counter) x86 instruction in my C program. Now I have the instruction working... but I want to take the entire 64-bits and divide them by 400,900,000...
Forum: C++ Jan 10th, 2005, 7:30 PM
Replies: 1
Views: 130
Posted By saxman
Timing Micro-seconds

I know what the clock() function does. It works fine, but in a certain case I need to time things in 'us' rather than 'ms'. Is there anyway I can do this? Without being able to do this, it will be...
Forum: C++ Jan 8th, 2005, 6:58 PM
Replies: 2
Views: 142
Posted By saxman
I'm not getting the decimal values I expected at...

I'm not getting the decimal values I expected at the end of this program. Apparently, the ESP (stack pointer) is getting messed up due to my ASM and C combination. Does anyone have an idea how I...
Forum: Assembly Dec 25th, 2004, 5:59 PM
Replies: 4
Views: 433
Posted By saxman
Can you post the original 16-bit code?

Can you post the original 16-bit code?
Forum: Assembly Dec 16th, 2004, 12:50 PM
Replies: 1
Views: 373
Posted By saxman
I'm calling the FREAD function in assembly, but I...

I'm calling the FREAD function in assembly, but I have an issue. This is what I'm trying to accomplish:


unsigned short int * *value1;
unsigned short int * *value2;
unsigned short int *...
Forum: Assembly Dec 8th, 2004, 10:45 PM
Replies: 1
Views: 410
Posted By saxman
I'm not new to x86 ASM, but I am new to the...

I'm not new to x86 ASM, but I am new to the square-root-related instructions that Intel has provided. I don't know what I'm doing wrong in my program, but I get a divide overflow. Perhaps someone...
Showing results 1 to 7 of 7

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC