* gas 2.10.91 and relative addressing
@ 2001-09-14 22:25 Marc Tardif
2001-09-15 0:26 ` Alan Modra
0 siblings, 1 reply; 2+ messages in thread
From: Marc Tardif @ 2001-09-14 22:25 UTC (permalink / raw)
To: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gas 2.10.91 and relative addressing
2001-09-14 22:25 gas 2.10.91 and relative addressing Marc Tardif
@ 2001-09-15 0:26 ` Alan Modra
0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2001-09-15 0:26 UTC (permalink / raw)
To: Marc Tardif; +Cc: binutils
On Sat, Sep 15, 2001 at 12:31:29AM -0400, Marc Tardif wrote:
> I'm trying to jump forward 0xa bytes
jmp .+2+0xa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-15 0:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-14 22:25 gas 2.10.91 and relative addressing Marc Tardif
2001-09-15 0:26 ` Alan Modra
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).