[SOLVED] What is gas ".code" directive?
Rick Mann
rmann@latencyzero.com
Fri Oct 26 06:33:00 GMT 2007
Ugh my bad. I found it in the ARM-specific directives. It means to
generate 32-bit code.
On Oct 25, 2007, at 6:02 PM, Rick Mann wrote:
> In the ARM port of freeRTOS there's some assembly like this:
>
>> .extern main
>> .extern exit
>> .extern AT91F_LowLevelInit
>>
>> .text
>> .code 32
>>
>>
>> .align 0
>>
>> .extern __stack_end__
>
>
> I'm not sure what .code 32 is. There's no mention of it in the TOC
> for the gas directives.
>
> TIA,
> Rick
>
More information about the Binutils
mailing list