* What is gas ".code" directive?
@ 2007-10-26 1:06 Rick Mann
2007-10-26 6:33 ` Rick Mann
0 siblings, 1 reply; 2+ messages in thread
From: Rick Mann @ 2007-10-26 1:06 UTC (permalink / raw)
To: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re:[SOLVED] What is gas ".code" directive?
2007-10-26 1:06 What is gas ".code" directive? Rick Mann
@ 2007-10-26 6:33 ` Rick Mann
0 siblings, 0 replies; 2+ messages in thread
From: Rick Mann @ 2007-10-26 6:33 UTC (permalink / raw)
Cc: binutils
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-26 1:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-26 1:06 What is gas ".code" directive? Rick Mann
2007-10-26 6:33 ` Rick Mann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).