redhat5 linux 下汇编问题
#cpuid.s .section .data output:.ascii "The processor Vendor ID is 'xxxxxxxxxxxx'\n" .section .text .globl _start _start : movl $0 ,%eax cpuid movl $output, %edi movl %ebx, 28(%edi) movl %edx, 32(%edi) movl %ecx,36(%edi) movl $4,%eax movl $1,%ebx movl $output,%ecx movl $42 %edx #这里是第16行 int $0x80 movl $1,%eax movl $0, %ebx int $0x80 分别用gas 和gcc 编译 都出现 cpuid.s:16: Error: suffix or operands invalid for `mov' 请问怎么解决阿
引用 movl $42 %edx 怎么,没有逗号啊! 一语惊醒阿 加个逗号
相关问答:
在自己的电脑上安装了ubuntu 就是想玩一下3D桌面,于是下载了 compizconfig-settings-manager emerald simple-ccsm fusion 这些东西,安装完之后,我在电脑里点击了emerald ......
咨询QQ:269562808 bzip2recover 功能说明:用来修复损坏的.bz2文件。 语法:bzip2recover[.bz2压缩文件] 补充说明:bzip2是以区块的方式来压缩文件,每个区块视为独立的单位。因此,当某一区 块损坏时,便可利 ......
在LINUX裏安裝 CURL 時,出現如下報錯 checking for SSL support in libcurl... no checking for curl_easy_perform in -lcurl... no configure: error: There is something ......
rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢 你怎么连的? Acces数据库.. 你怎么练的呢? Java code: static String DBDRIVER = "sun.jd ......