![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Sep 2005
Location: Požega, Croatia
Posts: 93
Rep Power: 3
![]() |
?Best assembler to start with
What assembler I should start with?
TASM || MASM32 ? I worked a little with TASM, but I see that many bigger projects use MASM32. I don't want to learn 32 bit assembly and make .exes without experience in good ol' .com . 32-bit assembly is much more complicated... has include files... ... requires some knowledge of 16-bit assembly. ... and one question: Can I make 16-bit assembly programs with MASM? |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Mar 2005
Posts: 11
Rep Power: 0
![]() |
If you really want to write 16 Bits .com, you should give a try to A86.
Nevertheless, your opinion about what is "more complicated" is, exactely, the reverse of the real facts (Win32 Asm is _WAY_ easier than Dos Programming). You should really try NASM, FASM or RosAsm (TASM is dead since ages, and MASM is the worst possible choice). Betov. < http://rosasm.org > |
|
|
|
|
|
#3 |
|
Expert Programmer
|
NASM from sourceforge. Free and opensource, and has an online community.
|
|
|
|
|
|
#4 |
|
Professional Programmer
|
NASM seconded. It's the best.
__________________
% 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;} |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 4
![]() |
As usual, I recommend MASM32. There is a huge user base along with a plethora of examples.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#6 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
i personally like AT&T assembler more..
EDIT: w00t, 250 posts ![]() |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Sep 2005
Location: Požega, Croatia
Posts: 93
Rep Power: 3
![]() |
lostcauz,
just one question... i saw that MASM32 has IF, While and those things... Is MASM32 HLA? |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 4
![]() |
MASM and HLA are not the same. The constructs you mention are in MASM for easing the transition from a hll to asm. You may use them or ignore them.
If you are unsure about which assembler to try why not download a few and try them for a short time and see which one seems more fitting? MASM, FASM and NASM might be a good start. I'm not familiar with Betov's product.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#9 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
And don't forget AS
, it's included with GCC. |
|
|
|
|
|
#10 |
|
Programmer
Join Date: Sep 2005
Location: Požega, Croatia
Posts: 93
Rep Power: 3
![]() |
Okay, I'll try them...
I currently have TASM 5. It's very old, but i like it. It's maybe most easy assembler. MASM32 attracts me becouse it is most powerfull and has big community. Look at this : http://www.hostileencounter.com/ Whole RTS written in MASM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|