汇编程序实例
Farmwang
博采众长,兼收并蓄!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
cpuid 的使用方法
.section .dataoutput: .ascii "the processor vendor id is 'XXXXXXXXXXXX'\n".section .text.globl _start_start:movl $0,%eaxcpuidmovl $output,%edimovl %ebx,28(%edi)movl %edx,32(%edi)movl %ecx原创 2017-07-22 16:08:44 · 1926 阅读 · 0 评论 -
CPUID Using printf
.section .dataoutput: .asciz "the value is '%s'\n".section .bss .lcomm buffer,12.section .text.globl _start_start:nopmovl $0,%eaxcpuidmovl $buffer,%edimovl %ebx,(%edi)movl %edx,4(%edi)m原创 2017-07-23 16:03:48 · 332 阅读 · 0 评论
分享