Advertisement
Guest User

MAPPSO-STD

a guest
Jun 24th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. .model small
  2. .stack 32
  3.  
  4. .data
  5. mock db "+----+",'$'
  6. copy4 db 6 DUP(' '),'$'
  7.  
  8. .code
  9.  
  10. ;mov cx, 5
  11. ;lea si, mock[si - 5]
  12. ;lea di, copy4[di - 24]
  13. ;rep movsB
  14. ; output::
  15. ; x: %0
  16.  
  17.  
  18. main proc far
  19.  
  20. mov ax, @data
  21. mov ds, ax
  22. mov es, ax
  23.  
  24. std
  25.  
  26. mov cx, 6
  27. lea si, mock+5
  28. lea di, copy4+5
  29. rep movsB
  30.  
  31. lea dx, copy4
  32. mov ah, 09h
  33. int 21h
  34.  
  35. mov ax,4c00h
  36. int 21h
  37.  
  38. main endp
  39. end main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement