This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:[SOLVED] What is gas ".code" directive?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]