This is the mail archive of the binutils@sources.redhat.com 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]

org directive


Hi,
       Suppose we have some code as:

		.text

			move src, dst
			AND reg
			OR reg
			
			.org 0x800


			/*Some more instructions*/

			XOR reg
			move src,dst

		.end

First is .org in between a text section valid or logical ?
Second Isn't it more logical that default fill value in text section be NOP?


Thanks
Vineet

	
	


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