Advertisement
Guest User

Untitled

a guest
Apr 5th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. proc OpenFileGolds
  2. push ax
  3. push dx
  4. mov ah,3Dh
  5. xor al,al
  6. mov al, 2d
  7. mov dx, offset fileNameGolds
  8. int 21h
  9. jc OpenErrorGold
  10. mov [fileHandle],ax
  11. pop dx
  12. pop ax
  13. ret
  14. OpenErrorGold:
  15. mov dx, offset errorMsg
  16. mov ah, 9h
  17. int 21h
  18. pop dx
  19. pop ax
  20. ret
  21. endp OpenFileGolds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement