assume cs:codesg,ds:datasg
datasg segment
db 10
datasg ends
codesg segment
start:
mov ax,0FFFFH
shl ax,1
mov dx,0
adc dx,0
mov cx,dx
mov bx,ax
shl dx,1
shl ax,1
adc dx,0
shl dx,1
shl ax,1
adc dx,0
add dx,cx
add ax,bx
adc dx,0
codesg ends
end start
;像我酱紫写就可以
我认为是正确的 ,我调试了一下,完全正确