jumpIfEqual PROC var1:DWORD, var2:DWORD, jmpAddress:DWORD mov eax,var1 cmp eax,var2 jne skip pop eax push jmpAddress skip: ret jumpIfEqual ENDP push OFFSET jumpToHere mov eax, 5 push eax push eax call jumpIfEqual
Standard input is empty
prog.asm:1: error: parser: instruction expected prog.asm:9: error: symbol `jumpIfEqual' redefined prog.asm:9: error: parser: instruction expected prog.asm:12: error: comma, colon or end of line expected
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!