flat assembler
Message board for the users of flat assembler.
Index
> Non-x86 architectures > [fasmarm] CPU capability 5T |
Author |
|
revolution 11 Jun 2014, 08:33
You need to combine the capability bits. V5T only gives the extra V5T instructions provided, it does not enable all the previous version instructions.
So if your CPU can do all of V1 through to V5T but nothing higher then you should enable all of the V1 to V5T bits but not any others. |
|||
11 Jun 2014, 08:33 |
|
revolution 11 Jun 2014, 08:38
Note that V5T only provides the following two instructions:
bkpt imm blx reg You can see this in the file "InstructionFormatsTHUMB16.asm". So things like ADD are not available without enabling the other instruction sets. |
|||
11 Jun 2014, 08:38 |
|
Asvald 11 Jun 2014, 11:22
Thanks revolution! But can you explain me, why there is only blx reg, but what about "blx addr".
|
|||
11 Jun 2014, 11:22 |
|
revolution 11 Jun 2014, 11:36
"blx offset" is available in V5 ARM mode and X capability THUMB mode. Have a look at the InstructionFormatsARM.asm and InstructionFormatsTHUMB32.asm files to see BLX used there.
|
|||
11 Jun 2014, 11:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.