Last active
January 30, 2018 20:29
-
-
Save Souhardya/765ad975fcf0f01462a9e218c814eb7f to your computer and use it in GitHub Desktop.
Windows x86 Beep Sound ( NASM )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------------------- | |
; Windows x86 beep sound | |
;-------------------------- | |
BITS 32; | |
extern _MessageBeep@4 ; USER32.LIB | |
SECTION .data | |
SECTION .text | |
global _main | |
_main: | |
push 0xFF | |
call _MessageBeep@4 ; Call messagebeep function | |
xor eax, eax | |
ret | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment