Tuesday, 15 March 2011

c - error c2400 found new line -



c - error c2400 found new line -

something went wrong code, , i'm seeking help please

#include<stdio.h> int main (void) { __asm {y db 10 format db "%s" mov eax, y add together eax,1 force eax force format phone call printf force 0x8 } }

i guess thread on hold ("off topic"), allow me show corrected code:

#include<stdio.h> int main (void) { char y = 10; char* format = "%d"; __asm { movzx eax, y add together eax,1 force eax force format phone call printf add together esp, 8 } homecoming 0; }

c assembly

No comments:

Post a Comment