Реферат: Создание программы с использованием программного продукта Turbo Assembler
push offset msg
call TranslateMessage
push offset msg
call DispatchMessageA
jmp msg_loop
end_loop:
push [msg. wParam]
call ExitProcess
_err:
jmp end_loop
WndProc proc
push ebp
mov ebp,esp
push ebx
push esi
push edi
cmp dword ptr [ebp+0ch],WM_DESTROY
je wmdestroy
cmp dword ptr [ebp+0ch],WM_CREATE
je wmcreate
cmp dword ptr [ebp+0ch],WM_PAINT
je wmpaint
cmp dword ptr [ebp+0ch],WM_CHAR
je wmchar
jmp defwndproc
wmchar:
push dword ptr [ebp+10h]
pop char
push TRUE