arm inline asm (shifting adressing modes)
Original Reporter info from Mantis: Jan Bruns
-
Reporter name: Jan Bruns
Original Reporter info from Mantis: Jan Bruns
- Reporter name: Jan Bruns
Description:
As already noted in the forum, fpc's ARM-inline asm is missing a frequently used addressing mode. To be specific, memory-operands like
LDR r0,[r1,r2,lsl#3] // = [r1 + r2*8]
don't work. Hoping that this is caused only by the gas asm reader, I've made a patch to the file "raarmgas.pas" (probably intoducing many new bugs, but also fixing a couple of existing ones).
www.abnuto.de/jan/code/raarmgas.pas
Mantis conversion info:
- Mantis ID: 11042
- Version: 2.3.1
- Fixed in version: 2.2.4
- Fixed in revision: 11685 (#650e292a)