comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: Performance of access type : a tiny mistake in the WikiBook ?
Date: Fri, 9 Oct 2009 11:51:31 -0700 (PDT)
Date: 2009-10-09T11:51:31-07:00	[thread overview]
Message-ID: <d689da38-9e95-4269-b382-542aa48579bf@c3g2000yqd.googlegroups.com> (raw)
In-Reply-To: 49732431-8172-47e3-a193-0b79c513ea36@b15g2000yqd.googlegroups.com

On Oct 9, 7:14 am, Yannick Duchêne Hibou57 <yannick_duch...@yahoo.fr>
wrote:
> On 8 oct, 21:41, Gautier write-only <gautier_niou...@hotmail.com>
> wrote:
[..]
> >    25| 00005F E8                          CALL   test_in_out.p_in
> >    25| 000060 00000000
>
> Thanks for the Gesture :)
>
> It's a long time I haven't seen a LEA (load effective address) in an
> assembly listing
>
> That's strange : the opcode 16#E8# stands for a Call instruction which
> is encoded with a relative offset, and the relative offset is always
> zero (16#00000000#) here, whatever is the location of the Call
> instance. It's funny (there must be a trick somewhere).

Presumably it's fixed up at link time.



      reply	other threads:[~2009-10-09 18:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 20:59 Performance of access type : a tiny mistake in the WikiBook ? Hibou57 (Yannick Duchêne)
2009-10-07 22:38 ` (see below)
2009-10-07 23:30   ` Yannick Duchêne Hibou57
2009-10-08  0:30     ` (see below)
2009-10-08  0:48       ` Yannick Duchêne Hibou57
2009-10-08  9:11         ` Dmitry A. Kazakov
2009-10-08  9:55         ` Gautier write-only
2009-10-08 16:04           ` Yannick Duchêne Hibou57
2009-10-08 16:46             ` Yannick Duchêne Hibou57
2009-10-08 19:41             ` Gautier write-only
2009-10-09  6:14               ` Yannick Duchêne Hibou57
2009-10-09 18:51                 ` sjw [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox