Bon, j'ai regardé le man as, cela me semblait bien trop simple pour fonctionner du premier coup...
as mcpu=arm9tdmi march=armv4t boucle.s
Assembler messages:
Error: can't open mcpu=arm9tdmi for reading: No such file or directory
mcpu=arm9tdmi:0: Error: can't open march=armv4t for reading: No such file or directory
boucle.s:14: Error: junk at end of line, first unrecognized character is `@'
boucle.s:15: Error: junk at end of line, first unrecognized character is `@'
boucle.s:16: Error: too many memory references for `mov'
boucle.s:17: Error: no such instruction: `stmfd sp!,{fp,ip,lr,pc}'
boucle.s:18: Error: too many memory references for `sub'
boucle.s:19: Error: too many memory references for `sub'
boucle.s:20: Error: no such instruction: `b .L2'
boucle.s:22: Error: no such instruction: `ldr r3,.L5'
boucle.s:23: Error: no such instruction: `ldr r3,[r3,'
boucle.s:24: Error: too many memory references for `add'
boucle.s:25: Error: no such instruction: `ldr r3,.L5'
boucle.s:26: Error: invalid char '[' beginning operand 2 `[r3'
boucle.s:28: Error: no such instruction: `ldr r3,.L5'
boucle.s:29: Error: no such instruction: `ldr r2,[r3,'
boucle.s:30: Error: no such instruction: `ldr r3,.L5+4'
boucle.s:31: Error: too many memory references for `cmp'
boucle.s:32: Error: no such instruction: `bne .L3'
boucle.s:33: Error: no such instruction: `ldmfd sp,{r3,fp,sp,pc}'
boucle.s:38: Warning: value 0x15752a00 truncated to 0x2a00
Il semblerait qu'il ne reconnaisse rien...
Je joins mon super programme de la mort
Fichier joint : boucle.s