executer une chaine char avec asm() [prob]
	
	
		salut à tous 
compileur : mingw 
os : winxp pro
j'ai un probleme bizarre pour lancer une commande asm
je vais rechercher une reference pour la passer en parametre à une commande jmp
si je l'écris à la main ça fonctionne correctement
	Citation:
	
		
		
			asm("jmp 0x22ff10");
			
		
	
 si je la construit ça me fait une erreur :
	Citation:
	
		
		
			stub.cpp:173: error: expected asm body before "asm_command"
stub.cpp:173: error: expected `;' before ')' token
stub.cpp:173: warning: statement has no effect
			
		
	
 la construction :
	Citation:
	
		
		
			char data_pValue[50] = { 0 };
char asm_command[255]={0};
strcat(asm_command,"\42");
strcat(asm_command,"jmp ");
sprintf(data_pValue, "%#x",(unsigned int)&data[0]);
strcat(asm_command,data_pValue);	
strcat(asm_command, "\042 \0");
asm(asm_command);
			
		
	
 un 
cout<<asm_command<<"\n";
me renvoie bien ("jmp 0x22ff10");
mais 
asm(asm_command); 
ne fonctionne pas, j'ai bidouillé asm_command dans tous les sens (enlevé les doubles quotes, etc..)
mais sans succes
quelqu'un aurait-il une idée ?
rogerio