Ok, so I am getting off of Visual Studios 6 and moving to Dev-C++(Which uses GCC). Well I'm currently writing an app that taps your Hardware information to get CPUID. It compiles fine in VS6 but since GCC uses AT&T asm, I'm stuck doing something completly different. So, I was wondering if anyone could tell me the proper way to translate this...
_asm{
xor eax, eax
cpuid
mov cpumax, eax
// put vendor string in cpusignature
mov edi, t
mov dword ptr [edi], ebx
mov dword ptr [edi+4], edx
mov dword ptr [edi+8], ecx
mov byte ptr [edi+12], 0
}
Also if anyone knows how to get either the FSB or Multi from CPUID that information would be greatly appreciated.