Back to Browse

CPUID leaf0 (Vendor Id String)

115 views
Dec 16, 2022
4:12

Use __get_cpuid() function to execute cpuid leaf0 and extract the vendor id. #include cpuid.h for gcc will make __get_cpuid() function visible. Extract the ascii bytes for the 12 byte vendor id and display in human readable form. source code: https://github.com/vishmohan/inline_assembly_examples/tree/master/cpuid_leaf0

Download

0 formats

No download links available.

CPUID leaf0 (Vendor Id String) | NatokHD