新手,,,那个大侠帮帮我
DATAS SEGMENTx db 45h,95h,0a6h,25h,36h,56h,0f6h,22h,33h,25h
DATAS ENDS
CODES SEGMENT
ASSUME CS:CODES,DS:DATAS
START:
MOV AX,DATAS
MOV DS,AX
mov bx,offset x
mov cx,0ah
mov dl,0
l1:cmp [bx],0
jl l2
inc dl
l2:inc bx
loop l1
mov ah,2
int 21h
mov ah,4c
int 21h
CODES ENDS
END START
求是个数中正数的个数。。。哪里错了