求最大公约数问题???(诚心请教)
为何不能出结果???; gys.asm in Windows Console
include io32.inc
.data
.code
GCD1 proc
blp: mov eax,24
mov ebx,6
cmp eax,ebx
jbe xbn
jmp cob
xbn: xchg eax,ebx
cob: cmp ebx,0
je gretb
div ebx
mov eax,ebx
mov ebx,edx
xor edx,edx
jmp blp
gretb: ret
GCD1 endp