td win32asm 004.asm

Upload: z4rm4r

Post on 02-Jun-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Td Win32asm 004.Asm

    1/13

  • 8/10/2019 Td Win32asm 004.Asm

    2/13

  • 8/10/2019 Td Win32asm 004.Asm

    3/13

  • 8/10/2019 Td Win32asm 004.Asm

    4/13

  • 8/10/2019 Td Win32asm 004.Asm

    5/13

  • 8/10/2019 Td Win32asm 004.Asm

    6/13

  • 8/10/2019 Td Win32asm 004.Asm

    7/13

  • 8/10/2019 Td Win32asm 004.Asm

    8/13

  • 8/10/2019 Td Win32asm 004.Asm

    9/13

  • 8/10/2019 Td Win32asm 004.Asm

    10/13

  • 8/10/2019 Td Win32asm 004.Asm

    11/13

  • 8/10/2019 Td Win32asm 004.Asm

    12/13

  • 8/10/2019 Td Win32asm 004.Asm

    13/13

    td_win32asm_004.asmret

    My_MessageBox:;------------------------------------------------------------------------------; API "MessageBoxA" creates a message box;------------------------------------------------------------------------------push 0h ;uType, style, 0=MB_OK Button

    push OFFSET MB1Titel ;lpCaption,pointer to title textpush OFFSET MB1Text ;lpText,pointer to text message boxpush WP1_hWnd ;handle of owner window 0=no ownercall MessageBoxA ;- API Function -ret ;return value IDOK=1h;******************************************************************************

    ;==============================================================================; end Main = end of our program code;------------------------------------------------------------------------------end Main ;end of our program code, entry point

    ;==============================================================================; To create the exe file use this commands with your Microsoft Assembler/Linker;------------------------------------------------------------------------------; ml.exe /c /coff td_win32asm_004.asm ;asm command; rc.exe /v rsrc.rc ;rc command; cvtres.exe /machine:ix86 rsrc.res; link.exe /subsystem:windows td_win32asm_004.obj rsrc.obj ;link command;==============================================================================

    Page 13