This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Sythetic registers: modrm/gas question.


How do I tell gas to assemble an operand as a one-byte offset instead of a 
four-byte offset?

e.g. 

MOV	eax,[ebp + 4]

Does it "just know?"

Andy


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