public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: horseriver <horserivers@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: call instruction   question
Date: Thu, 10 Jan 2013 06:08:00 -0000	[thread overview]
Message-ID: <20130109181956.GA6285@debian.localdomain> (raw)

hi:

here is the disassembly code , 

 629:   0f 84 0e 01 00 00       je     73d <acpi_ec_add+0x125>
 62f:   68 d0 00 00 00          push   $0xd0
 634:   ff 35 10 00 00 00       pushl  0x10
 63a:   e8 fc ff ff ff          call   63b <acpi_ec_add+0x23>
 63f:   89 c3                   mov    %eax,%ebx
 641:   5f                      pop    %edi
 642:   58                      pop    %eax
 643:   b8 f4 ff ff ff          mov    $0xfffffff4,%eax


 look at the code at 63a address :

                   63a:   e8 fc ff ff ff          call   63b <acpi_ec_add+0x23>

 e8 is a CALL instruction , but , obviously , 63b is not a subroutin address ,so how does this "call 63b " generate?

 amd what does it do ?



thanks! 

             reply	other threads:[~2013-01-10  4:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10  6:08 horseriver [this message]
2013-01-10  7:56 ` Ian Lance Taylor
2013-01-10 10:12   ` horseriver
2013-01-10 18:10     ` John Fine
2013-01-11  3:48       ` horseriver
2013-01-10 18:32     ` Ian Lance Taylor
2013-01-11  5:17       ` horseriver
2013-01-11 12:32         ` Ian Lance Taylor

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=20130109181956.GA6285@debian.localdomain \
    --to=horserivers@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).