Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org 100h
- ; du code ...
- looping: ; marqueur pour la boucle
- ; on recupere une entree clavier
- mov ah, 7h ; instruction a executer
- int 21h ; execution
- ; l'entree se trouve dans al, on va le comparer
- cmp al, 20h ; comparaison
- jz fin_du_prog ; si egal a 20h (espace) on va au pointeur indique
- jmp looping ; sinon on remonte au pointeur (boucle)
- ; du code ...
- fin_du_prog:
- ret ; fin du prog
Add Comment
Please, Sign In to add comment