Help me....with Assembly language
-
excuse for my english........i am from mexico CAN I obtain the characteristics of my PC by means of assembly language? and....give me the code please !!!!!!!!!! can i help me??? Thanks !!!
-
excuse for my english........i am from mexico CAN I obtain the characteristics of my PC by means of assembly language? and....give me the code please !!!!!!!!!! can i help me??? Thanks !!!
Hi, a lot of the PC characteristics (amount of RAM, disk size, USB devices, ...) can be obtained WITHOUT assembly, assembly code does not help here at all. some of the CPU characteristics (cache sizes, supported instructions, ...) can be obtained with assembly, in particular by executing the CPUID instruction. Intel offers an entire Application Note on that. Google it! In order to run the CPUID from .NET, you would need a C/C++ native code DLL, and do some PInvoke. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips: - use PRE tags to preserve formatting when showing multi-line code snippets - before you ask a question here, search CodeProject, then Google