Aug 13th, 2005, 2:49 PM
|
#2
|
|
Professional Programmer
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 
|
It depends on what system you are compiling for. If for windows or linux, I would recommend nasm or fasm (in that order). There are also good tutorials for ASM on this board, or search google for Iczelion's pages.
Also, please try to refine your choice of grammar in posts. Thank you, and welcome to the board.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
|
|
|