jumpIfEqual PROC var1:DWORD, var2:DWORD, jmpAddress:DWORD mov eax,var1 cmp eax,var2 jne skip pop eax push jmpAddress skip: retjumpIfEqual ENDP push OFFSET jumpToHeremov eax, 5push eaxpush eaxcall 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!