From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,98dc917fce16b418 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!c3g2000yqd.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Performance of access type : a tiny mistake in the WikiBook ? Date: Fri, 9 Oct 2009 11:51:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <91ad7397-27a8-4b9d-811e-6e62d485645c@v2g2000vbb.googlegroups.com> <31da5154-9739-4ead-8437-aaa5d70dc7e8@h30g2000vbr.googlegroups.com> <87659df3-42a8-456b-9788-f37c4c1cbdb1@o21g2000vbl.googlegroups.com> <7b46a937-2b10-4ef4-b113-3e129747ca5e@o36g2000vbl.googlegroups.com> <49732431-8172-47e3-a193-0b79c513ea36@b15g2000yqd.googlegroups.com> NNTP-Posting-Host: 82.30.110.254 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1255114291 5289 127.0.0.1 (9 Oct 2009 18:51:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Oct 2009 18:51:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c3g2000yqd.googlegroups.com; posting-host=82.30.110.254; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8637 Date: 2009-10-09T11:51:31-07:00 List-Id: On Oct 9, 7:14=A0am, Yannick Duch=EAne Hibou57 wrote: > On 8 oct, 21:41, Gautier write-only > wrote: [..] > > =A0 =A025| 00005F E8 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0CALL =A0 test_in_out.p_in > > =A0 =A025| 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.