高手帮我看看这个程序!
code segment
assume cs:code
go:mov bl,2
mov al,1
cbw
xor dx,dx
add dx,ax
mov bh,al
inc al
inc bl
inc bh
clc
mov cx,0
po:mul bl
add dx,ax
jo p1
jmp p2
p1:inc cx
p2:inc bh
xor ax,ax
mov al,bh
inc bl
cmp bl,100
jl po
code ends
end go
AX=002E BX=2E2F CX=0000 DX=7EAD SP=0000 BP=0000 SI=0000 DI=0000assume cs:code
go:mov bl,2
mov al,1
cbw
xor dx,dx
add dx,ax
mov bh,al
inc al
inc bl
inc bh
clc
mov cx,0
po:mul bl
add dx,ax
jo p1
jmp p2
p1:inc cx
p2:inc bh
xor ax,ax
mov al,bh
inc bl
cmp bl,100
jl po
code ends
end go
DS=0BA7 ES=0B97 SS=0BA7 CS=0BA7 IP=001A NV UP EI NG NZ NA PO CY
0BA7:001A F6E3 MUL BL
-t
AX=0872 BX=2E2F CX=0000 DX=7EAD SP=0000 BP=0000 SI=0000 DI=0000
DS=0BA7 ES=0B97 SS=0BA7 CS=0BA7 IP=001C OV UP EI NG NZ NA PO CY
0BA7:001C 03D0 ADD DX,AX
-t
AX=0872 BX=2E2F CX=0000 DX=871F SP=0000 BP=0000 SI=0000 DI=0000
DS=0BA7 ES=0B97 SS=0BA7 CS=0BA7 IP=001E OV UP EI NG NZ NA PO NC
0BA7:001E 7002 JO 0022
-t
AX=0872 BX=2E2F CX=0000 DX=871F SP=0000 BP=0000 SI=0000 DI=0000
DS=0BA7 ES=0B97 SS=0BA7 CS=0BA7 IP=0022 OV UP EI NG NZ NA PO NC
0BA7:0022 41 INC CX
-t
AX=0872 BX=2E2F CX=0001 DX=871F SP=0000 BP=0000 SI=0000 DI=0000
DS=0BA7 ES=0B97 SS=0BA7 CS=0BA7 IP=0023 NV UP EI PL NZ NA PO NC
0BA7:0023 FEC7 INC BH