1 .section .data
2
3 .section .text
4 .globl _start
5 _start:
6 movl $1, $eax
7 movl $4, $ebx
8
9 int $0x80
我是按照网上教程敲的(详见
http://learn.akae.cn/media/ch18s01.html),结果编译报错:
[neil@localhost Assemble]$ as -o hello.o hello.s
hello.s: Assembler messages:
hello.s:6: Error: suffix or operands invalid for `mov'
hello.s:7: Error: suffix or operands invalid for `mov'
谁能告诉我这是为什么