Hi,
I want to write ARM asm code with GCC toolchain. Previously, I use TI CGT, 
whose asm syntax is different from 
GCC. For example, the last line has an error with GCC toolchain (bad 
instruction type).



    .global asmfunc
    .global gvar
asmfunc:
    LDR r1, gvar_a
    LDR r2, [r1, #0]
    ADD r0, r0, r2
    STR r0, [r1, #0]
    MOV pc, lr
gvar_a .field gvar, 32


Could you point me to a tutorial, manual etc. on the syntax about writing 
ARM asm code for GCC?

Thanks,

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to