include io32.inc
.data
infor byte 'Input Number: ',13,10,0
Yes_msg byte 'yes,it’s a prime.',13,10,0
No_msg byte 'sorry,it’s not a prime!',13,10,0
.code
start:
mov eax,offset infor
mov edi,offset No_msg
call dispmsg
call readuid
mov esi,eax ;保存eax的值
shr esi,1
mov ebx,02h ;从...
- [parse] 调试错误要放在调试器里进行,调试程序没有写程式轻松。 05/23 20:33