601legend

Untitled

May 31st, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. assume cs:code, ds:data
  2.  
  3. data segment
  4. y db 25
  5.  
  6. data ends
  7.  
  8.  
  9. code segment
  10. begin:
  11. mov ax,data
  12. mov ds,ax
  13. mov al,y
  14. cbw
  15. mov bl,10
  16. div bl
  17. add al,30h
  18. int 29h
  19.  
  20. mov al,ah
  21. add al,30h
  22. int 29h
  23.  
  24. mov ax,4c00h
  25. int 21h
  26. code ends
  27.  
  28. end begin
Advertisement
Add Comment
Please, Sign In to add comment