Results 1 to 35 of 35

Thread: I want 2 B Assembly Programmer.... plz help...

  1. #1

    Thread Starter
    Addicted Member ßädbö¥'s Avatar
    Join Date
    Jul 2003
    Location
    I Lost somewhere !!
    Posts
    198

    Smile I want 2 B Assembly Programmer.... plz help...

    Hi....
    I'm a VB Programmer and i want 2 learn Assembly.... I don't know anything about Assembly... How it works... Code systax.... nothing.. U can say this is my starting 2 learn Assembly... plz help me... Give me any info about assembly which will help me to b a good assembly programmer.... Thnx u all

    ßädbö¥ Rü£z

    ICQ # : 204178672
    AOL SN : Badboy9jan
    badboy9jan<img src="images/smilies/s...g" />gmail.com

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    First of all - don't even think about it yet. (Visual) Basic is the one of the easiest languages to learn, Assembler is the hardest.

    If you really want to do it, learn C first - it's somewhere in between the two.

  3. #3

    Thread Starter
    Addicted Member ßädbö¥'s Avatar
    Join Date
    Jul 2003
    Location
    I Lost somewhere !!
    Posts
    198
    Yah..... i'm learning C and i also want 2 learn Assembly.. i think i can learn both languages at same time..... plz give me info about assembly... Thnx

    ßädbö¥ Rü£z

    ICQ # : 204178672
    AOL SN : Badboy9jan
    badboy9jan<img src="images/smilies/s...g" />gmail.com

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    I really wouldn't recommend that... you need to understand things much better before you can dive in to it safely. You really need to understand the concepts that you will learn in C.

    The best thing for you to do would be to create a few C programs first, then find yourself some good tutorials for assembler.

  5. #5

    Thread Starter
    Addicted Member ßädbö¥'s Avatar
    Join Date
    Jul 2003
    Location
    I Lost somewhere !!
    Posts
    198
    But i think i can learn Assembly very easily... if u gurus help me....
    I hope u'll help me...

    ßädbö¥ Rü£z

    ICQ # : 204178672
    AOL SN : Badboy9jan
    badboy9jan<img src="images/smilies/s...g" />gmail.com

  6. #6
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Of course we will help.

    The 80x86 instruction set is very easy to learn, however it is verrry hard to master. Even more so if you have not had experience in another language.

    Personally, I would learn C++, or Java first and then move on to C and then goto 80x86 or if you are on a Mac 680x0. (I think I have the name right. )

    If you learn C and then goto C++, you are going to pick up on some bad habits. Also, if you learn assembler before a high level language, there is a good possibility that you could get lost.

    However, this is my suggestion...
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  7. #7

    Thread Starter
    Addicted Member ßädbö¥'s Avatar
    Join Date
    Jul 2003
    Location
    I Lost somewhere !!
    Posts
    198
    if u guys explain me with some examples (with comments ) then it will be very easy 4 me.... thnx and also suggest me about good compliler,linker and editor.... thnx

    ßädbö¥ Rü£z

    ICQ # : 204178672
    AOL SN : Badboy9jan
    badboy9jan<img src="images/smilies/s...g" />gmail.com

  8. #8
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    NASM is a pretty good assembler. NASM-IDE a is nice interface. I believe ALINK is pretty good too (albeit that I have not tried that one yet. )

    And its all free!

    Now what would you like as an example?
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  9. #9

    Thread Starter
    Addicted Member ßädbö¥'s Avatar
    Join Date
    Jul 2003
    Location
    I Lost somewhere !!
    Posts
    198
    to make programme in Assembly i need one compiler, one linker and .... anything else ?

    ßädbö¥ Rü£z

    ICQ # : 204178672
    AOL SN : Badboy9jan
    badboy9jan<img src="images/smilies/s...g" />gmail.com

  10. #10
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Just download NASM and NASM-IDE. that should be enough for making your programs for right now.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  11. #11
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Originally posted by ßädbö¥
    to make programme in Assembly i need one compiler, one linker and .... anything else ?
    In assembly it's called an assembler, not a compiler.

    When programming for windows, you could also use the resource script compiler, it comes with the windows SDK.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  12. #12
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Where could I get a version of that?
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  13. #13
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    MS.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  14. #14
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Could you please provide a link to the Windows SDK?
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  15. #15
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Is it so hard to search for yourself? I have no link stored, and I won't go searching.

    Start here:
    download.microsoft.com
    or maybe
    downloads.microsoft.com
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  16. #16
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    I am a bit fuzzy on what I'm looking for.

    Is this it?

    http://www.microsoft.com/downloads/d...DisplayLang=en

    (NOTE: After searching through MS's site, I did find a link to both 16bit and 32bit SDKs. Apparently, they are not there anymore. )
    Last edited by Darkwraith; Aug 7th, 2003 at 09:49 AM.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  17. #17
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Bah. Can't find one for assembler but I found one for C / C++

    http://www.microsoft.com/msdownload/...sdk/sdkupdate/
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  18. #18
    Addicted Member
    Join Date
    Apr 2003
    Posts
    170
    Originally posted by Darkwraith


    If you learn C and then goto C++, you are going to pick up on some bad habits. Also, if you learn assembler before a high level language, there is a good possibility that you could get lost.

    However, this is my suggestion...
    i have heard this sentence a lot: "if you learn C and C++ later, you'll pick some bad habits"..............

    i kno that if you know c++ you already know C, i dont really
    have a good idea of what is in c++ that is not in c,
    but "BAD HABITS", lik what ????! why ??
    (i kno this is off the topic, but not a big deal is it? )

  19. #19
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    You really do not know how much you are missing out on if you do not learn C and you program in C++. I just started to learn C so I cannot say too much other than the fact that there are a few more commands that give you explicit control over aspects of your program and that C introduces you (at least what I am finding out through my book that I am reading) to some deeper aspects of programming.

    However, you can pick up habits like valuing structured programming over object-oriented. Also, you might use memset / free instead of new / delete.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  20. #20
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Bad habits from C to C++:
    malloc/free
    procedural programming style
    #define instead of template inline or const
    pointers where references would suffice


    Those come readily to mind, I'm sure there are others. The second is the worst and the hardest to come by.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  21. #21
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    here's a really good ide:
    http://www.negatory.com/asmstudio/
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  22. #22
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    i really want to learn asm too...i know C/C++ and VB...
    does anyone have any good tutorials on asm?

    i want to make some basic math functions (calcing distance, roots, average, etc..) in asm and being able to use them in a C/C++ project.

    can anyone tell me where to start?
    i dont know any asm but i want to learn the basics!
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  23. #23
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by cyborg
    i really want to learn asm too...i know C/C++ and VB...
    does anyone have any good tutorials on asm?

    i want to make some basic math functions (calcing distance, roots, average, etc..) in asm and being able to use them in a C/C++ project.

    can anyone tell me where to start?
    i dont know any asm but i want to learn the basics!
    Wait, you recommended a "really good IDE" but don't know any ASM... hmm any ASM gurus like the IDE?

    lol

    I am also wanting to learn ASM because I want to create my own OS and this would help out ALOT.

  24. #24
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    Originally posted by kasracer
    Wait, you recommended a "really good IDE" but don't know any ASM... hmm any ASM gurus like the IDE?
    i recommended that IDE because it looks and works exactly as VC++ does. so if you know VC++, you know Negatory Asm Studio!
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  25. #25
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    The Art of Assembly Language (book or electronic form.)
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  26. #26
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    Originally posted by cyborg
    here's a really good ide:
    http://www.negatory.com/asmstudio/
    omg i tried several IDEs and had always lots of problems compiling etc and this IDE rules a LOT

    thanks!
    \m/\m/

  27. #27
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    I really did not have problems with NASM
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  28. #28
    New Member
    Join Date
    Dec 2003
    Posts
    12
    ßädbö¥ ,

    The best way for you to learn assembly language is to read the Art of Assembly Language 32 bit edition. It uses HLA, the high level assembler. It will guide you gently in assembly programming. It was designed for people know know a high level language and want to learn assembly language. It comes with a comprehensive library of routines to do common tasks like string handling, file input/output etc. It will get you writing programs quickly so have a look at it. The author of the book frequents the win32asmboard and the
    masmforum
    and he would answer any question you may have.

    Art of Assembly Language:

    http://webster.cs.ucr.edu/AoA.html
    silk.odyssey

  29. #29
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Knowing the language does not mean that you know how to program in it. Knowing assembler only means that you know how to code in assembler.

    It takes months, if not years, of work in order to become a decent programmer.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  30. #30
    Junior Member
    Join Date
    Nov 2003
    Posts
    24
    yes Darkwraith is right here.

    *programming* for a person does take a long time to become something substantial.......according to a research paper, it takes a person around 10 years to become proficient in programming. While, this may be in context to a reply in the above posts, you should consider the fact that "programming" and "programming language" are two different things. Even if you know C doesn't necessarily mean that you know programming. It doesn't only apply to assembly language. The point still stays. Learning assembly language is simple. Learning programming is difficult.

    Programming is the art of getting things done using computers, whereas a programming language is a way of communication with the machine. Learning a programming language is very easy. While anybody can write code a machine understands, the one writing code that humans can also understand is called a code god. However, this should not be taken in a very literal sense, since every human being cannot be a programmer. When I say, "humans can understand" in the above comment, it implies programmers. It's the job of a programmer to know what he is supposed to. Know programming as well as the programming language.

    You cannot expect a person to know programming unless he knows its language. The point is simple. Learning the programming language is only a step toward learning programming. Once you've got programming, learning any damn language becomes easy.

    Regards,
    Art
    Last edited by art_sands; Dec 8th, 2003 at 10:44 PM.

  31. #31
    New Member
    Join Date
    Dec 2003
    Posts
    12
    Art,

    Well said, couldn't agree more
    silk.odyssey

  32. #32
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    M68K Assembler is the easiest to pick up in my opinion. Very easy (comparatively speaking!) to learn. It also gives you great appreciation for a lot of the features of the x86 chipset.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  33. #33
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    The point is that if you are starting out on the road to becoming a programmer, any assembly language is a very bad to start. It takes a lot of code and patience to write a program in assembly.

    ... And if you decide to use a lot of invokes to simplify yout code, then you might as well program in C / C++.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  34. #34
    Junior Member
    Join Date
    Nov 2003
    Posts
    24
    The thing you are not getting here is that assembly language is not bad. it's code habits that are bad. Its incorrectly used logic that is bad. It's incorrect human temperament that is bad. And discouragement is the worst. C has a purpose. assembly has a purpose. We do not say that you should program everything in assembly. No one ever did say that even if you could. (Well, that might soon change because of some of my plans though). But it holds for now.

    Use the right tool for the right purpose. not to discourage people using C, but C has an extremely high level of abstraction from the machine which doesn't give a programmer the full understanding of what his/her code is doing. Assembly clears the cloud, and after learning assembly language, it's extremely highly probable that you'll end up writing much better code than without learning it.

    Any language is not bad. All have limitations. There's a lot of hoopla about Java, but to some programmers it's pure ****. Well, that's their viewpoint, but it has its uses too. Java programs are said to provide security, but what about the security of intellectual property. Java code is extremely easily decompilable, and you can imagine why corporates are not interested in producing production non-open-source code in Java. They simply won't.

    Use the right tool for the right purpose. That's the point.

    As for beginning in asm, our community is putting in a lot of effort at producing an excellent reference that is suitable even for beginners! What asm programmers lack is good documentation and good support. Try coding Win32 API in Visual Basic without MSDN, or even knowing only the Visual Basic syntax. It's dead impossible! Visual Basic without its IDE is sick. But certainly one of the greatest environments ever created. Kudos to the VB production team at Microsoft. (Hope ya guys are doin fine... )

    Regards,
    Art
    Last edited by art_sands; Dec 9th, 2003 at 05:14 PM.

  35. #35
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Bah... I hate it when I do this...

    ...any assembly language is a very bad [place] to start
    As for beginning in asm, our community is putting in a lot of effort at producing an excellent reference that is suitable even for beginners!
    I disagree. True, there have been efforts to make assembler easier to learn, but just because you read a book about assembler, it does not mean that you can program in it right off the bat. Really, beginner programmers should start in a high-level language (VB, C++, Smalltalk, etc...) and then program in assembler with the experience gained.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width