📄 cpuid2.s
字号:
#cpuid2.s View the CPUID Vendor ID string using C library calls.section .datatextoutput: .asciz "The processor Vendor ID is '%s'\n".section .bss .lcomm buffer, 12.section .text.globl _start_start: movl $0, %eax cpuid movl $buffer, %edi movl %ebx, (%edi) movl %edx, 4(%edi) movl %ecx, 8(%edi) pushl $buffer pushl $output call printf addl $8, %esp pushl $0 call exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -