请帮忙检查这段内嵌汇编有什么错误(200分)

  • 主题发起人 主题发起人 leahart
  • 开始时间 开始时间
L

leahart

Unregistered / Unconfirmed
GUEST, unregistred user!
asm
pushad
and esp,0FFFFFFF0h
mov ebx, esp
fld st
fst dword[ebx+18h]
fistp qword[ebx+10h]
fild qword[ebx+10h]
mov edx,dword[ebx+18h]
mov eax,dword[ebx+10h]
test eax,eax
je @L027
@L009:
fsubp st(1),st
test edx,edx
jns @L020
fstp dword[ebx]
mov ecx,dword [ebx]
xor ecx,80000000
add ecx,7FFFFFFFh
adc eax,0
mov edx,dword [ebx+14h]
adc edx,0
jmp @LEND
@L020:
fstp dword[ebx]
mov ecx,dword[ebx]
add ecx,7FFFFFFFh
sbb eax,0
mov edx,dword[ebx+14h]
sbb edx,0
jmp @LEND
@L027:
mov edx,dword[ebx+14h]
test edx,7FFFFFFFh
jnz @L009
fstp dword[ebx+18h]
fstp dword[ebx+18h]
@LEND:
mov key, al
popad
leave
end;

运行后出现了: invaild floating point operation 的错误
 
后退
顶部