This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ; INVOKE CreateFile, ADDR filename, GENERIC_WRITE, DO_NOT_SHARE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, mov fileHandle,eax .IF eax == INVALID_HANDLE_VALUE jmp L2 .ENDIF INVOKE WriteFile, fileHandle, ADDR array, 188, ADDR bytesWritten, INVOKE CloseHandle,fileHandle L2: exit main ENDP END main...
View Full Document
This note was uploaded on 04/24/2010 for the course COS 235 taught by Professor Karagiozov during the Fall '08 term at American University in Bulgaria.
- Fall '08