public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: dj@stealth.ctron.com (DJ Delorie)
To: hjl@nynexst.com
Cc: gas2@cygnus.com, masaki@eie.minolta.co.jp, raeburn@cygnus.com
Subject: Re: [masaki@eie.monolta.co.jp: GAS bug and etc]
Date: Fri, 11 Nov 1994 06:49:00 -0000	[thread overview]
Message-ID: <9411111450.AA12152@delorie> (raw)
In-Reply-To: <9411111444.AA05506@titanic.nynexst.com>

> I think gas will add a right address prefix automatically when it sees
> a large offset. Ken?

The problem with using the 16-bit jcxz is that, even if the offset is
small, if the target isn't in the first 64K of memory, the program is
toast.  The reason is that %eip is masked to 0x0000ffff AFTER adding
the offset.  The 32-bit version doesn't do this.  I can't see this
behavior being of *any* use in a 32-bit program, unless you *really*
know what you're doing.



  reply	other threads:[~1994-11-11  6:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-11  6:11 DJ Delorie
1994-11-11  6:28 ` H.J. Lu
1994-11-11  6:37   ` DJ Delorie
1994-11-11  6:45     ` H.J. Lu
1994-11-11  6:49       ` DJ Delorie [this message]
1994-11-11  7:06         ` H.J. Lu
1994-11-11 10:31         ` Richard Stallman
1994-11-11 10:46           ` DJ Delorie
1994-11-11 14:27             ` Richard Stallman
1994-11-11 15:01               ` Arthur Kreitman
1994-11-11 13:42 mycroft

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9411111450.AA12152@delorie \
    --to=dj@stealth.ctron.com \
    --cc=gas2@cygnus.com \
    --cc=hjl@nynexst.com \
    --cc=masaki@eie.minolta.co.jp \
    --cc=raeburn@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).