cygwin 能用linux的软中断吗?
cygwin 能用linux的软中断吗?cygwin里面的编译器会吧把linux下的int 80这类转换成windows下对应的int 21之类的吗?
我试了下面一段程序
.section .data
output:
.ascii "the processor Vendor ID is xxxxxxxxxxxx"
.section .text
.globl _start
_start:
nop
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
int $0x80
movl $1, %eax
movl $0, %ebx
int $0x80
走到int 80时就出错了,大侠们有用过的就请指教一下?