Results 1 to 12 of 12
  1. #1
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed

    [Help]Book for Asm

    What is a good book to learn asm from?

  2. #2
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Lul, wrong section.

    Do a bit of googling until you find something you like, it's all about personal preference.

  3. The Following 2 Users Say Thank You to Void For This Useful Post:

    258456 (09-19-2010),therofl (10-01-2010)

  4. #3
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    https://www.mpgh.net/forum/34-assembl...-language.html

    x86 Assembly - Wikibooks, collection of open-content textbooks

    I suggest you learn the masm syntax. Even though HLA comes with a book and everything, the HLA syntax is backwards for no apparent reason and I think that will only confuse you.

    When it comes down two it the only way to learn asm is to program in it. Though I did that I also spent a lot of time learning it by reversing C++ programs. It seems to me the whole point of learning asm is to use it in your C++ code or reverse engineer the original C code, so I wouldn't start too much on asm till you've learned C++, but different people learn different ways so do what u think is best. Im just listing some options.

    BEST ASM TUTS ON THE NET: http:/32assembly.online.fr/tutorials.html
    Last edited by why06; 09-19-2010 at 08:20 PM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  5. The Following User Says Thank You to why06 For This Useful Post:

    258456 (09-19-2010)

  6. #4
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed
    thanks why,

    @void:
    i know it's the wrong section but i posted it here because asm section is dead, lol, even though ur post didn't help me at all i will still thank you lol

  7. #5
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    /moved to assembly.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. The Following User Says Thank You to NextGen1 For This Useful Post:

    why06 (09-20-2010)

  9. #6
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    x86 assembly reference manual.

    Art of Assembly

    Second one has 1426 pages, that should keep you busy.

  10. The Following 2 Users Say Thank You to Void For This Useful Post:

    NextGen1 (09-20-2010),therofl (10-01-2010)

  11. #7
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed
    I am so confused, whenever i put my asm code in my c++ program it's not working, I want to learn the kind of asm where i can just go to my c++ program and put:

    Code:
     _asm
    {
    ; code here
    }

  12. #8
    -Raz0r-'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Australia
    Posts
    117
    Reputation
    15
    Thanks
    38
    My Mood
    Lurking
    I often use __asm to write assembly bridges to call functions in the exectuable that loads my DLL, where variables have to be explicitly passed through registers, as such:

    Code:
    static int GL_SelectTexture( int texUnit )
    {
        __asm
        {
            mov esi, texUnit
            mov eax, GL_SELECTTEXTURE_ADDRESS
            call eax
        }
    }
    There isn't much use for coding asm for game-hacking, unless you need bridges between the game/engine and your module and funcptr's aren't suitable.
    Last edited by -Raz0r-; 09-28-2010 at 04:43 AM.
    Languages: C, C++, x86 ASM, PHP, Lua

  13. #9
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Razor I believe you can also use the _fastcall prefix to create a function pointer that will load available registers first, but it might be best just to go asm to be safe.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  14. #10
    -Raz0r-'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Australia
    Posts
    117
    Reputation
    15
    Thanks
    38
    My Mood
    Lurking
    Yeah, the values are explicitly read from registers in the .exe I've disassembled, so I can't rely on my compiler to assume the registers =p
    I suppose it was an optimisation effort. ASM bridges are pretty easy to write anyway, so it's no problem. =D
    Languages: C, C++, x86 ASM, PHP, Lua

  15. #11
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Quote Originally Posted by why06 View Post
    Razor I believe you can also use the _fastcall prefix to create a function pointer that will load available registers first, but it might be best just to go asm to be safe.
    Limits you to how many parameters you can use. |:

  16. #12
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Help] Good book for C++??
    By thazachsta in forum C++/C Programming
    Replies: 10
    Last Post: 03-01-2020, 10:40 AM
  2. [Help Request] [?]Helpful commands for farming
    By kropek4 in forum Vindictus Help
    Replies: 2
    Last Post: 08-04-2011, 11:20 AM
  3. [Help Request] PLEASE HELP ME FOR A HACK WITH COMBAT ARMS
    By darkusmega in forum Combat Arms Help
    Replies: 4
    Last Post: 05-31-2011, 10:45 PM
  4. [Help Request] help me for error visual c++
    By cheateroO in forum CrossFire Help
    Replies: 2
    Last Post: 05-01-2011, 12:42 PM
  5. [HELP] Good Books For Learning Programming
    By Nathan in forum Coders Lounge
    Replies: 11
    Last Post: 03-02-2011, 12:06 AM