🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #106

Re: AT&T i call

#106
From: Wiktor S.
Date: Sun, 05 Feb 2006 22:03
26 lines
1630 bytes
>>  Niemniej, kod się kompiluje, a skompilowane bajty ... wychodzą takie
>> same, jak poprzednio. Ale najwyraźniej bardziej zgodna ze składnią
>> AT&T jest ta pierwsza wersja.
>>  Najlepiej to by było sprawdzić po linkowaniu.
>
> Rownolegle przeprowadzilem te same testy i wrzucilem
> dzialajacy przyklad. Niemniej jednak mam kod, w ktorym
> mi cos nie gra i musialem sie upewnic, ze akurat tu jest ok.

Inna interpretacja instrukcji jest chyba niemożliwa, bo pod nasmem kompiluje 
się tylko

table:
call dword [table+eax*4]

i daje (66 67) FF 14 85 00 00 00 00

natomiast

call dword table+eax*4

zwraca "error: invalid operand type"


--
Azarien
Technical Details
Message-ID: <ds5smr$tjq$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
References: <ds5ct5$hog$1@inews.gazeta.pl> <ds5j3r$h04$1@inews.gazeta.pl> <ds5m46$2nt$1@inews.gazeta.pl> <ds5sfl$7as$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "Wiktor S." <wswiktorSP@Mpoczta.fm>
Newsgroups: pl.comp.lang.asm
Subject: Re: AT&T i call
Date: Sun, 5 Feb 2006 23:03:09 +0100
Organization: Onet.pl
Lines: 28
Message-ID: <ds5smr$tjq$1@news.onet.pl>
References: <ds5ct5$hog$1@inews.gazeta.pl> <ds5j3r$h04$1@inews.gazeta.pl> <ds5m46$2nt$1@inews.gazeta.pl> <ds5sfl$7as$1@inews.gazeta.pl>
NNTP-Posting-Host: 155.168.wmc.com.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1139176987 30330 87.250.168.155 (5 Feb 2006 22:03:07 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Sun, 5 Feb 2006 22:03:07 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-Sender: 63e3folRCjcGWUjNfLSN0w==
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-Priority: 3
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit