This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas 2.10.91 and relative addressing
- To: binutils at sourceware dot cygnus dot com
- Subject: gas 2.10.91 and relative addressing
- From: Marc Tardif <intmktg at CAM dot ORG>
- Date: Sat, 15 Sep 2001 00:31:29 -0400 (EDT)
I'm trying to jump forward 0xa bytes with the following code:
jmp 0xa
Unfortunately, after assembling, the generated code is obviously thinking
0xa is an absolute offset. In previous versions of gas, this was not the
case. Now, I seem to have to declare labels and then use those labels as
an argument to jmp. Is there a way I could do without labels and still use
relative offsets?
Marc