• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Research: ASM Tutorial document

JPAN

pokemon rom researcher
  • 104
    Posts
    16
    Years
    • Seen Jul 2, 2016
    While still in a beta version, I come here today with a document on the ARM7 Thumb-mode assembly.
    I say this is a beta version because I wrote it but nobody read it, and (of course) I understand what's in it, but I have no idea what someone who doesn't will be able to grasp from it.
    Any comments in this thread will be used to improve this document until it is ready for a final version.

    Also, I'm sorry for the lack of pictures or examples. For now, I hope the examples I provide are enough, but if need arises, I will provide some more.
     
    I've just glanced over the whole article.
    Having read some of ASM tutorials ,including this one,I think that they have taken a little far from Pokemon games,though this one is more relational.
    Anyway,good tutorial.
    I agree, I've read a few (mabye 2 or 3) ASM tutorials and they all explained what registers were, but they didn't tell you what you could do with them in the pokemon games.

    I tried reading through this tutorial and I understood everything till about half way, where I lost it at adding two variables together... That program was too complex xD.

    Anyway I think I'm just not ready for ASM yet xD

    But it's a great tutorial!
     
    great tut! I read through it all and only missed 1 or 2 things!
    Edit:I think that along with push and pop there is a move.
     
    Last edited:
    The reason they don't go into detail about how to use it in pokemon is because ARM/THUMB technical manuals/tutorials usually explain going through the process of MAKING GBA games. ASM isn't centered around pokemon, and in reality, you can develop ASM codes for ANY game... not just pokemon... BUT, Us ROM hackers have found a good use for this complicated bit of programming code.

    Thanks JPAN, I knew you would pull through!

    Just finished reading, and I must say, it looks a lot like some other ARM/THUMB documents I have read... It has a few things that could be used for Pokemon, but no interactivity.
    give us some challenges, some tasks.
     
    Last edited:
    LOL @ above poster.
    Like the tut quite a bit.
    Perhaps you could explain how to find routines that are being ran?
    I see a bunch of people in R&D posting disassembled routines for things like items/surfing etc...i was wondering if you could post how to do that?
    also, i think omega was onto something with the usefulness of mov...
     
    Full Metal said:
    LOL @ above poster.
    Like the tut quite a bit.
    Perhaps you could explain how to find routines that are being ran?
    I see a bunch of people in R&D posting disassembled routines for things like items/surfing etc...i was wondering if you could post how to do that?
    also, i think omega was onto something with the usefulness of mov...
    Go download a debugger, read the manual... Then run your ROM with the debugger and add breakpoints to it while watching your game break at certain routines. That's the best way to describe it, can't think of something better.
     
    mkay can you recomend a good one?
    and how do i know where to set the breakpoints?
    i've looked at the disassembler in VBA and it only has RAM addresses, and it skips around way to much for me to know whats going on, which vba-sdl-h only supports 0x08xxxxxx addresses, or am i wrong?
     
    mkay can you recomend a good one?
    and how do i know where to set the breakpoints?
    i've looked at the disassembler in VBA and it only has RAM addresses, and it skips around way to much for me to know whats going on, which vba-sdl-h only supports 0x08xxxxxx addresses, or am i wrong?

    You might want to read my ASM tutorials.
     
    er...i have ... several times, and now i got the thing to work...sort of >_< well...it copies the bytes and everything, but the buffernumber doesn't work right both times, so i must be doin somethin wrong.
     
    ....I dont know all wif ASM....ASM need a compliler?If got please give me link and tutorial how to use.Thanks~:)
     
    ....I dont know all wif ASM....ASM need a compliler?If got please give me link and tutorial how to use.Thanks~:)

    The tutorial is the attachment. If you need a basic tutorial and compiler, check for Hackmew's Knowledge. A simple search should bring it up. ;)
     
    Hi I'm new. I am 12 years old. I am going to make my own POkemon game.
    I know everything besides the dreaded ASM.

    Are there ASM tutorial that are COMPLETE for Pokemn?
     
    This was a cool tut.
    It got me started with ASM.
    Now I can work with ASM for animation (I think)
     
    While still in a beta version, I come here today with a document on the ARM7 Thumb-mode assembly.
    I say this is a beta version because I wrote it but nobody read it, and (of course) I understand what's in it, but I have no idea what someone who doesn't will be able to grasp from it.
    Any comments in this thread will be used to improve this document until it is ready for a final version.

    Also, I'm sorry for the lack of pictures or examples. For now, I hope the examples I provide are enough, but if need arises, I will provide some more.

    Link is dead so here is a new one JPANs Thumb Tutorial with original and pdf versions
     
    Last edited:
    Back
    Top