Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 438 Bytes

File metadata and controls

15 lines (12 loc) · 438 Bytes

CPUID-in-Assembly

This is only designed to run on x86 Linux machines. I wrote this code around Jan 2005 and it's not really been updated since, use at your own risk.

How to Build from Source

Where I have used 'nasm', 'yasm' could also be used.

32bit x86 machines

nasm -f elf cpuid.asm ld -s -o cpuid cpuid.o

64bit x86 machines

nasm -f elf cpuid.asm ld -s -m elf_i386 -o cpuid cpuid.o