• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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.

Tool: Thumb assembler and linker

knizz

  • 192
    Posts
    17
    Years
    • Seen Oct 28, 2020
    Three days ago I wanted to compile ASM-code. I started to download devKitArm but I was too impatient and didn't like the gcc overhead. So I decided to create my own assembler.

    Features:
    • Complete thumb-instruction-set
    • C-Preprocessor-compatible
    • A linker is included

    Problems:
    • Many opcodes use wrong factors for arguments. You can't use this program without the GBATEK and a disassembler
    • All opcodes need three characters (b → b_i, bx → b_x)
    • The syntax is strange
    • b_x and bx don't work with labels
    • The code is a mess
    • It's probably buggy

    You can find the source here: https://code.google.com/p/khexe/source/browse/trunk/
     
    Three days ago I wanted to compile ASM-code. I started to download devKitArm but I was too impatient and didn't like the gcc overhead. So I decided to create my own assembler.

    Features:
    • Complete thumb-instruction-set
    • C-Preprocessor-compatible
    • A linker is included

    Problems:
    • Many opcodes use wrong factors for arguments. You can't use this program without the GBATEK and a disassembler
    • All opcodes need three characters (b → b_i, bx → b_x)
    • The syntax is strange
    • b_x and bx don't work with labels
    • The code is a mess
    • It's probably buggy

    You can find the source here: https://code.google.com/p/khexe/source/browse/trunk/
    It's a great theory, in fact I was already making one. What is this coded in?
     
    It's a great theory, in fact I was already making one. What is this coded in?

    In C. But I completely rewrote the version I posted about above. So the feature and bug list is different now. I also have a thread at thepokemonboard which shows a source-example.
     
    Back
    Top