高手帮我看看编译错误,我实在找不到是怎么回事!!
源代码如下:www.linuxeden.com4i%kDa0jN*q{;r
.file "max,s"
[?0ucN*\'~n.section .text}C-BZk:^6c0_4e
.type max,@function
Vjs[_B L Dwww.linuxeden.com.globl max
5v
R
u5b B6h'w,HLinux伊甸园论坛max:&l'^_2D?9eXM0f u
pushl %ebp
TG
r!c+r0xj movl %esp,%ebp
rI];u|Jb?K subl $8,%esp
7d7K_#F
u;~ movl 8(%esp),%eax\*K[}eD |5|[L
movl %eax,-4(%esp)
YO#Sn"~Linux伊甸园论坛 movl 12(%esp),%eax
eh@$Z
X.B~X/Y |
SLinux伊甸园论坛 movl %eax,-8(%esp)
'Xa&{5r!QLinux伊甸园论坛 cmpl %eax,-4(%esp)
+eWu'vq cmovge movl -4(%esp),%eax
dty b+WNWowww.linuxeden.com leave
Gf6v$?~9s ret3]!qs$~0M0zv
J-c1D
`\U-Iv0|Linux伊甸园论坛.section .text
J*TOE~/}B)}.globl _start
&w mFm?PoLinux伊甸园论坛_start:
%Rw _b qwww.linuxeden.com pushl $0x4
JF5I[@T pushl $0x8HH\|iOW
call max%q.u
r _2A'\NI D5i(D
addl $8,%esp&GQYZ5^f$N3G1o%P3T
movl %eax,%ebx
G/T&EY`www.linuxeden.com movl $1,%eaxT$a'vh8J$s5]Y
int $0x80www.linuxeden.com6\C1L@s'~9G6D
h`/G
错误信息:Linux伊甸园论坛3z9X;Bv_.s~"|
as -o max,o max.s
?9HI-x)L.amax.s: Assembler messages:0|3VU8^
UP5@zl&x?u
max.s:5: Error: suffix or operands invalid for `push'
H \7z#KiJmax.s:20: Error: suffix or operands invalid for `push'
f6Ap/U$]+D#?1@WYQmax.s:21: Error: suffix or operands invalid for `push'b2op TU
对push 的使用哪里错了啊?
|