RepositoryC
DosX-dev

DosX-dev/cpuid-in-C

An example of identifying a processor through the "cpuid" instruction

95stars
3forks
0issues
1views

🔍 Mã nhận dạng CPU bằng lệnh cpuid trong C

Dự án mở nguồn nhỏ gọn, trực tiếp gọi lệnh cpuid để lấy thông tin bộ xử lý ngay từ C.

Đây là ví dụ thực tế về cách sử dụng lệnh cpuid trong ngôn ngữ C để truy xuất thông tin về bộ xử lý như kiến trúc, vendor và các tính năng hỗ trợ. Dự án miễn phí và có sẵn bản biên dịch .EXE tải về trực tiếp.

✨ Điểm nổi bật

  • cpuid instruction: truy xuất thông tin kiến trúc CPU trực tiếp từ phần cứng
  • Vendor detection: xác định nhà sản xuất bộ xử lý (Intel, AMD, v.v.)
  • Feature flags: liệt kê các tính năng hỗ trợ như SSE, AVX, v.v.
  • Compiled .EXE: hỗ trợ tải bản biên dịch sẵn cho Windows
  • TinyCC build: hưỗng dẫn biên dịch bằng TinyCC cho Windows
  • obfus.h integration: tích hợp công cụ bảo vệ mã nguồn C qua obfus.h

💡 Vì sao đáng chú ý

Dự án cung cấp cách tiếp cận thấp cấp và trực tiếp để làm quen với lệnh cpuid, hữu ích cho sinh viên và lập trình viên hệ thống. Không cần thư viện bên ngoài, chỉ dùng C và một vài dòng assembly để lấy thông tin CPU.

Phù hợp để học tập, nghiên cứu hoặc nhúng dự án hệ thống nhẹ.


#CPUID #C #SystemInfo #LowLevel #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC
cyring/CoreFreq

CoreFreq : CPU monitoring and tuning software designed for the 64-bit processors.

2.3k
Nov 22, 2026
RepositoryC++
intel/pcm

Intel® Performance Counter Monitor (Intel® PCM)

3.4k
Nov 13, 2026
RepositoryVHDL
stnolting/neorv32

🖥️ A small, customizable and extensible MCU-class 32-bit RISC-V soft-core CPU and microcontroller-like SoC written in platform-independent VHDL.

2.3k
Nov 17, 2026
Modelfill-mask
jhu-clsp/mmBERT-base

mmBERT: A Modern Multilingual Encoder !License: MIT(https://img.shields.io/badge/License-MIT-yellow.svg)(https://opensource.org/licenses/MIT) !Paper(https://img.shields.io/badge/Paper-Arxiv-red)(https://arxiv.org/abs/2509.06888) !Model(https://img.s...

♥0
304.0k
Oct 7, 2025
RepositoryJava
SpongePowered/Mixin

Mixin is a trait/mixin and bytecode weaving framework for Java using ASM

1.7k
Aug 5, 2024
RepositoryC
microsoft/PowerToys

Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows

141.3k
Nov 22, 2026
RepositoryC
Genymobile/scrcpy

Display and control your Android device

155.5k
Nov 22, 2026
RepositoryC
obsproject/obs-studio

OBS Studio - Free and open source software for live streaming and screen recording

79.9k
Nov 20, 2026
RepositoryC
FFmpeg/FFmpeg

Mirror of https://git.ffmpeg.org/ffmpeg.git

68.1k
Nov 23, 2026