Beep Sound - Assembly Language - MASM

Program:

.model tiny
.code
.startup
        mov bx,2000
        mov ax,34dch
        mov dx,12h
        div bx
        out 42h,al
        mov al,ah
        out 42h,al

        in al,61h
        or al,03h
        out 61h,al


        mov dx,0fffh
back:
        mov cx,0ffffh
same:
        loop same
        dec dx
        jnz back

        in al,61h
        xor al,03h
        out 61h,al

.exit
end

4 comments:

  1. hank you for sharing such great information with us. I really appreciate everything that you've done here and am glad to know that you really care about the world that we live in :) translation service

    ReplyDelete
  2. really thanks a lot for sharing such awesome and helpfull content on MASM..

    ReplyDelete
  3. Most sites add the images to make sharing the content more social media friendly but an논산출장샵y of the other platforms should be good for writing.

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...