求大神帮忙做题或修改
x,y为字型,假设x单元中保存三个数,9,-6,34,分别作出判断并计算,当x<0,y=x*x.当0<=x<10,y=2x+3.当x>=10,y=x/6.帮做的一生平安,或帮忙修改ASSUME CS:CODES,ds:data
data segment
dw 9,6,34,0,0,0
data ends
CODES SEGMENT
START:
MOV ax,data
MOV ds,ax
mov bx,0
mov cx,3
s:cmp ,0
jnb s0
mov al,
mul al
s0:cmp ,10
jb s1
mov ax,
mov bl,6
div bl
mov ,ax
inc bx
jmp s
s1:mov al,
mov bl,2
mul bl
add ax,3
mov ,ax
inc bx
jmp s
MOV AH,4CH
INT 21H
CODES ENDS
END START