;; (C) David Vajda ;; 2024-11-30 ;; Excersize - i586/amd64 - CPUID global _start section .data OutStr: db "0000 000 000", 10, 13 section .text _start: mov eax, 0x00 cpuid mov esi, OutStr mov [esi], ebx add esi, 4 mov [esi], edx add esi, 4 mov [esi], ecx add esi, 4 mov ecx, OutStr mov edx, 14 mov eax, 4 mov ebx, 1 int 0x80 mov eax, 1 mov ebx, 0 int 0x80