Advertisement
shawonrog

y=exist otherwise run & scan

Nov 27th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. .MODEL SMALL
  2. .STACK 100H
  3. .DATA
  4. .CODE
  5. MAIN PROC
  6.  
  7. MOV BL,'0'
  8.  
  9. WHILE:
  10. MOV AH,1
  11. INT 21H
  12. MOV BL,AL
  13. CMP BL,59H
  14. JE END_IF
  15.  
  16. JMP WHILE
  17. END_IF:
  18.  
  19.  
  20. MAIN ENDP
  21. END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement