🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Równie prosta zagadka

#2191
From: Bernard
Date: Sun, 11 Apr 2010 20:00
17 lines
1569 bytes
On 2010-04-09 22:53, Andrzej Grażyński wrote:
>
> LEA EDI,[ESI+ECX-1]
> SHR ECX,1
> JZ @@Ready
> STD
> @@Loop:
> MOV AL,[EDI]
> MOVSB
> INC ESI ; MOV [ESI+1],AL
> MOV [ESI],AL ; ADD ESI,2
> INC ESI ; ----
> LOOP @@Loop
> @@Ready:

No dobra, wiem, że jest cała masa rozwiązań. Moje w poście wyżej ma 
jedną pętlę z pięcioma instrukcjami i raczej nic mu nie dolega.
Technical Details
Message-ID: <hpt9pu$5rp$1@newsread1.aster.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!plix.pl!newsfeed1.plix.pl!nntp.aster.pl!newsread1.aster.pl!not-for-mail
References: <hpiqg4$te8$2@news.onet.pl> <hpmpsm$ga1$1@newsread1.aster.pl> <hpo44s$583$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!plix.pl!newsfeed1.plix.pl!nntp.aster.pl!newsread1.aster.pl!not-for-mail
From: Bernard <bernard@earth.net>
Newsgroups: pl.comp.lang.asm
Subject: Re: Równie prosta zagadka
Date: Sun, 11 Apr 2010 22:00:15 +0200
Organization: Aster Sp. z o.o.
Lines: 17
Message-ID: <hpt9pu$5rp$1@newsread1.aster.pl>
References: <hpiqg4$te8$2@news.onet.pl> <hpmpsm$ga1$1@newsread1.aster.pl> <hpo44s$583$1@news.onet.pl>
NNTP-Posting-Host: 187-mo6-2.acn.waw.pl
Mime-Version: 1.0
X-Trace: newsread1.aster.pl 1271016062 6009 82.210.165.187 (11 Apr 2010 20:01:02 GMT)
X-Complaints-To: abuse@aster.pl
NNTP-Posting-Date: Sun, 11 Apr 2010 20:01:02 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
In-Reply-To: <hpo44s$583$1@news.onet.pl>
X-Antivirus: avast! (VPS 100411-0, 2010-04-11), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit