随笔分类 - 汇编
汇编错误
摘要:push 和 pop 栈内的数据 pushx source 压栈 pushl %ecx # puts the 32-bit value of the ECX register on the stackpushw %cx # puts the 16-bit value of the CX regist
阅读全文
摘要:mov src , dst 只有确定的事物才能 从一个地方移动到另一个地方。通常mov子hi零可以 移动一个立即数单元到一个通用寄存器 移动一个立即数到内存 一个通用寄存器数据到另一个通用寄存器 一个段寄存器到一个通用寄存器 一个通用寄存器到控制流寄存器 一个控制流寄存器到一个通用寄存器 一个通用寄
阅读全文
摘要:原因,字符集不对。重新改字符集合,需要utf-8 字符集合 #cpuid.s Sample program to extract the processor Vendor ID.section .dataoutput:.ascii “The processor Vendor ID is ‘xxxxx
阅读全文