Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc OpenFileGolds
- push ax
- push dx
- mov ah,3Dh
- xor al,al
- mov al, 2d
- mov dx, offset fileNameGolds
- int 21h
- jc OpenErrorGold
- mov [fileHandle],ax
- pop dx
- pop ax
- ret
- OpenErrorGold:
- mov dx, offset errorMsg
- mov ah, 9h
- int 21h
- pop dx
- pop ax
- ret
- endp OpenFileGolds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement