I need help in my program, here how it goes.
The task is to make this formula work X(plus)Y(square)
so here is my codes( i dont know how to call it)
-------------------------------------------------------
Code:
.386 .model flat, stdcall include .\include\windows.inc extrn ExitProcess :near extrn MessageBoxA :near .data Number1 dword 7 Number2 dword 5 Number3 dword 0 Caption db "XplusYsquared",0 .code Main: push Number1 Push Number2 Call XplusYsquared mov Number3, eax Push MB_OK Push offset Caption Push offset Number3 Push NULL call MessageBoxA push 0 Call ExitProcess XplusYsquared: push ebp mov ebp, esp mov eax, dword ptr [ebp+8] mul eax add eax, dword ptr [ebp+0ch] mov esp, ebp pop ebp ret 8 End Main
and is there any other output display that i can use? besides Message box?
Thank you!
