🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stos i byte

#417
From: Bogdan (bogdro)
Date: Fri, 21 Jul 2006 13:34
17 lines
1665 bytes
Johnny napisał(a):
> Czy można na stosie położyć elementy listy "bajtowej". Jest lista
> wartości typu 1,2,3,4,..., której offset znajduje się w di. Wywołując
> push [di] na stosie pojawiają się słowa a nie bajty, z kolei wywołanie
> push byte ptr [di] jest błędne.

 Można, ale nie natychmiast. Trzeba je rozszerzyć, wtedy na stosie
będzie istotnie wartość bajtu, ale w rozmiarze słowa/dworda.

	movzx/sx	ax/eax, byte [di]
	push		ax/eax

-- 
Pozdrawiam, Bogdan                                  (Linux i FreeDOS)
Kurs assemblera x86 (DOS i Linuks): http://rudy.mif.pg.gda.pl/~bogdro
Grupy dyskusyjne o asm:  pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32
Prawdziwy, bezpieczny komunikator:                   www.JabberPL.org
Technical Details
Message-ID: <e9ql69$3ei$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <e9q0v1$k7h$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Bogdan (bogdro)" <bogdan@bogdan.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Stos i byte
Date: Fri, 21 Jul 2006 15:34:38 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 17
Message-ID: <e9ql69$3ei$1@atlantis.news.tpi.pl>
References: <e9q0v1$k7h$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: acrq145.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1153488905 3538 83.11.18.145 (21 Jul 2006 13:35:05 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 21 Jul 2006 13:35:05 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <e9q0v1$k7h$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit