Results 1 to 13 of 13

Thread: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    87

    IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    a simple question for you...
    if u would compare ASL to other LANGUAGES ,, what is the big advantage of it??

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    ASM is closer in syntax and construct to the actual machine code that the processor understands - thus if you are a good ASM programmer you can develop code that runs in nearly perfect form.

    Higher level languages - VB and such - translate the syntax and construct used - and will never be as close as ASM to the machine code instructions. That waste - that inability to optimize to within 100% of machine code instruction - is accepted because you can produce code with so much more ease then doing so with ASM.

    Simply knowing ASM will assist any programmer, in my opinion, in developing better 3GL code.

    You will know the difference between:

    FOR X = 1 TO SOMEFUNCTIONCALL

    and

    Y = SOMEFUNCTIONCALL

    FOR X = 1 TO Y

    for instance...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    All programming languages (like VB and C++) have their code translated by a compiler to Assembly and then to Machine Code (I think).

    Assembly is a language, but it is a 1 to 1 translation to Machine Code. Other higher level languages have complicated syntax parsers (using recursion and tree data structures) to figure out how a line of code in VB for example will mean in Assembly/Machine Code.
    "I like to run on treadmills, because at least I know I'm getting nowhere."
    - Me

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Quote Originally Posted by capsulecorpjx
    All programming languages (like VB and C++) have their code translated by a compiler to Assembly and then to Machine Code (I think).
    Many languages do, many languages are compiled to some other intermediate language and some are compiled directly into machine code. And Microsoft has sold all 3 types.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  6. #6
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Quote Originally Posted by jeric_mandrake
    What is the big advantage of it??
    And the best thing is.. if you can read Assembly you can Decompile Programs to Assembly and Edit the Program a bit

    506C65617365205261746520506F7374732E2E2E

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Quote Originally Posted by Iron Skull
    And the best thing is.. if you can read Assembly you can Decompile Programs to Assembly and Edit the Program a bit
    "A bit" being the operative phrase, unless you consider sticking pins in your eyes "mild entertainment".
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  8. #8
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Quote Originally Posted by Al42
    sticking pins in your eyes
    It's more fun than it sounds.
    I don't live here any more.

  9. #9
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    We have different definitions of fun. Disassembling a few dozen K by hand isn't too bad, but modifying the disassembly of a 25 meg .exe that was written in .net isn't my idea of fun - it's easier (for me) to start from the problem and write the new code from scratch.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  10. #10
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Actually .NET is quite easy to disassemble - and easier to modify than x86 :|
    But 25mb is kinda deterring, just due the resource hogging of editing a 25mb file.
    Arghhh....in my opinion Microsoft could have done a much better job than they did with .NET - i just don;t see how they could have made it so resource heavy.

    Cheers.

  11. #11
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    25 meg with 24.5 of it probly being picture files ....

  12. #12
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Quote Originally Posted by Grimfort
    25 meg with 24.5 of it probly being picture files ....

  13. #13
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: IS ASSEMBLY LANGUaGE A PROGRAMMING LANGUAGE???

    Everything is pr0n.

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