🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stos i byte

#414
From: Johnny
Date: Fri, 21 Jul 2006 11:27
18 lines
1274 bytes
Michał Walenciak napisał(a):
> na stos mozna kłaść tylko słowa lub podwójne słowa (w procesorach 32
> bitowych), nie da sie położyć bajtu
> 
> możesz zrobić cos takiego :
> mov ah,[di]
> mov al,[di + 1]
> push ax
> 
Dzięki.
W tym przypadku to raczej
mov ah,[di]
shr ax,4
push ax
no bo liczba bytów może być nieparzysta i co wtedy?

-- 
Johnny
Technical Details
Message-ID: <e9qdm8$5me$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <e9q0v1$k7h$1@nemesis.news.tpi.pl> <e9q2tc$t1g$1@inews.gazeta.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.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Johnny <johnny_bez_spamu_@klub.chip.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Stos i byte
Date: Fri, 21 Jul 2006 13:27:07 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 18
Message-ID: <e9qdm8$5me$1@atlantis.news.tpi.pl>
References: <e9q0v1$k7h$1@nemesis.news.tpi.pl> <e9q2tc$t1g$1@inews.gazeta.pl>
NNTP-Posting-Host: nat-132.wasko.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1153481224 5838 193.178.240.132 (21 Jul 2006 11:27:04 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 21 Jul 2006 11:27:04 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
In-Reply-To: <e9q2tc$t1g$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit