name "Hexa"   ; output file name (max 8 chars for DOS compatibility)

org  100h	; set location counter to 100h

mov al, 10110000b

mov dl, 11110000b
and dl, al

mov cl, 11110000b

label:

   mov bl, cl
   cmp bl, 0 
   
   jz end
   shl cl, 1
   shr dl, 1
   jmp label
end:


add dl, 140
mov ah,2
int 21h


mov ah, 0
int 16h

msg         db "press any key..."
msg_size =  $ - offset msg






