28
;;--------------------
;;--------------------
;;ROR
mov cx,
08h
@@:
ror al,
1
call delay
out dx,
al
loop @b
pop cx
;;ROL
push cx
mov cx,
08h
@@:
rol al,
1
out dx,
al
call delay
loop @b
pop cx
;;--------------------
;flash LED 3 time
mov cx,
01h
@@:
mov al,
0ffh
out dx,
al
call delay
mov al,0h
out dx,
al
call delay
loop @b
ee:
mov
ah, 4ch
;go back to dos
int 21h
.stack
begin endp
end begin