1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anyone know ASM?

Discussion in 'Other Languages' started by superriku11, Aug 25, 2012.

  1. superriku11

    superriku11 Newbie

    Joined:
    Aug 25, 2012
    Messages:
    15
    Likes Received:
    1
    Not going to say a whole lot in case nobody has any idea what ASM is, but if you do, anyone work with ASM? Either reverse engineering, modifying programs, or writing code of some sort? I'd be curious to know so please post!
     
  2. lisper

    lisper Newbie

    Joined:
    Aug 23, 2012
    Messages:
    44
    Likes Received:
    24
    Occupation:
    Lead developer of some German research project
    Location:
    Currently Brussels, Belgium
    I do. Although I don't do anything significant with it (as in reverse engineering or something similar)...
    It's more of a "bonzai tree" experience for me, if that makes sense haha. I got myself a very (very) old box and have been hacking around with it, doing some assembly stuff. Nothing useful as I said, but I find it strangely relaxing. I go back every now and then to grow my "bonzai tree".

    I think working with opcodes is most useful to actually understand what it is that is going on behind the scenes. There's so much of abstraction present nowadays that most high-level programming languages seem a bit like magic (take Ruby for example, some stuff it does is pretty fucking magical if you ask me haha). This is not specifically a bad thing, but I think it helps to understand what it is that is going behind all the abstraction. Assembly can help you understand that. Next time when writing commands (even the simple println "Hello World"), you will be thinking back to opcodes and shifting memory addresses, taking bytes and shifting them to the output device.

    If you are interested in more, have a look at FASM (cant post link sorry, not enough posts) and go through all the tutorials. FASM (or flat assembly) is a pretty good, accessible assembly compiler with a large community.

    Or you can ask me if you are interested in anything specific.

    Cheers
     
  3. s0ap

    s0ap Executive VIP Jr. VIP Premium Member

    Joined:
    Sep 23, 2008
    Messages:
    230
    Likes Received:
    810
    Occupation:
    :] guess
    Location:
    Congo/DRC
    Assembly is tons of fun, but once you step into real-deal deep pipelines and multiple core execution models you start to realize that some things are best left to the compiler. Even a 4~8 stage pipe can destroy your execution times if you end up with a data hazard or a lock in the middle of a loop. A little bit of knowledge is a dangerous thing...

    Most of my work gets done in C these days.
     
  4. queenmery

    queenmery Power Member

    Joined:
    Jan 18, 2011
    Messages:
    501
    Likes Received:
    30
    Occupation:
    Student
    Location:
    BANGLADESH
    Yeah I know a little bit,
    but not have a deep knowledge,
    it's a register based language,funny but too risky than user friendly language like c and c++.
     
  5. Blackberry_11

    Blackberry_11 Regular Member

    Joined:
    Apr 17, 2011
    Messages:
    266
    Likes Received:
    19
    ASM assembly language?
    or Microsoft assembler ????
    I know both and used it ,
    just make me clear what you actually wanna know.
     
  6. ampedsoftware

    ampedsoftware Newbie

    Joined:
    Dec 25, 2012
    Messages:
    26
    Likes Received:
    12
    I am very familiar with x86 assembly. I taught it to myself through reverse engineering and defeating software protections, but I've also written my own programs from scratch in it.

    Unless you need crazy high performance for small loops it's not worth writing code in it, but anyone who knows it can modify your program to do what they want. Being able to manipulate software to work for free/have features that were never intended is very useful!
     
  7. BuildMoreLinks

    BuildMoreLinks Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 7, 2012
    Messages:
    1,910
    Likes Received:
    655
    Location:
    17.3660° N, 78.4760° E
    ASM was so much fun in college, playing with all the opcodes, brings back nice memories. Never heard about FASM though.
     
  8. ampedsoftware

    ampedsoftware Newbie

    Joined:
    Dec 25, 2012
    Messages:
    26
    Likes Received:
    12
    FASM is IMO by far the best assembler for x86/64, it's got my favourite assembly syntax (although i like OllyDbgs disassembly syntax better, probably because that's what I'm looking at more often than not). Great community, and there's some cool stuff written in it like Menuet OS!