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.
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.
Im about to start ASM Programming, I found some samples here and when I open my tom in ASM Compiler, it must start in .THUMB which is in sample is .main, .align or whatever.... how is that?
The ASM language used by the GBA is a type for the ARM7 processor. Because of this, it has two modes: thumb and arm. Arm mode is a full instruction set mode made up of 32-bit integers. Thumb mode is a reduced instruction set mode that uses 16-bit integers for commands, which allows for greater speed and less space to be used in the ROM.
Putting .thumb at the top of the ASM file just tells it you are using the thumb-mode instructions for your code. ;)