![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 2
Rep Power: 0
![]() |
I just started learning how to program in asm and i read a tutorial that suggested using TASM 3.01 as a compiler. I was able to download the file tasm301.zip from the internet and open the folder but when i click on the TASM program it opens quickly and then closes right away. Am I doing someting wrong?
|
|
|
|
|
|
#2 |
|
Professional Programmer
|
Yes............. >:/
You have to open up a terminal first................ start->ms-dos prompt then type the path and name of the file and hit enter to run it.
__________________
% 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;} |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2005
Posts: 2
Rep Power: 0
![]() |
how do you open up the terminal? sorry, i'm new to all of this
|
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Are you sure ASM is the right choice? It's pretty difficult, especially for someone who's never coded before.
Anyway, if you're on Windows, type "cmd" in the Run dialog box. This'll open a terminal, or as MS likes to call it, a command prompt. On Linux, it's different for each windowing system/whatever. But seriously, if you don't know your basic terminal commands, you should probably track down a guide on changing directories, executing programs, etc. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|