Guest User

Untitled

a guest
Dec 24th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org 100h
  2.  
  3. ; du code ...  
  4.      
  5.      
  6.      
  7. looping:        ; marqueur pour la boucle  
  8.  
  9. ; on recupere une entree clavier
  10. mov ah, 7h      ; instruction a executer
  11. int 21h         ; execution
  12.  
  13. ; l'entree se trouve dans al, on va le comparer
  14. cmp al, 20h     ; comparaison
  15. jz fin_du_prog  ; si egal a 20h (espace) on va au pointeur indique
  16. jmp looping     ; sinon on remonte au pointeur (boucle)
  17.  
  18.  
  19.  
  20. ; du code ...
  21.  
  22.  
  23. fin_du_prog:
  24. ret ; fin du prog
Add Comment
Please, Sign In to add comment