;****************My Opinion
;****************since it print How many bit '0','1' are
;****************Use jc introduction;
;assume that data stores in ax,dx
;dx=high(word),ax=low(word)
_l:
mov cx,8
push cx
shl ax,1
jc _add1
add bl
loop _l
pop cx
shl dx,1
jc _add1
add bl
_add1:
add bh
mov dl,bl;bl=the NO.of '0'
mov ah,2
int 21h
mov dl,bh;bh=the NO.of '1'
int 21h
int 20h