Article View: pl.comp.lang.asm
Article #833Re: Label
From: Pawel Kraszewski
Date: Thu, 16 Nov 2006 09:34
Date: Thu, 16 Nov 2006 09:34
31 lines
1532 bytes
1532 bytes
Johnny wrote: > Chciałem sprawdzić prostą konstrukcję z podręcznika dot. "label". > > .model tiny > .stack 100h > .code > org 100h > main proc > mov ax,lb > > mov ax,0c0h > int 21h > main endp > .data > lb label word > dane dd 12345678h > end main > > Jednak widzę w debugerze, że program od razu startuje od linii mov > ax,0c0h. Mam wrażenie - być może mylne - że poprzednia instrukcja > "skleiła się" z inną i jest nieprawidłowo interpretowana. Czy to ma > jakiś związek z wyrównaniem? Jak temu zapobiec? > Strzelam: Może asembler jest sprytny i wyoptymalizował 1.go mova jako zbędnego? Daj w pierwszej linii jakiś inny rejestr niż ax. -- Pawel Kraszewski www.kraszewscy.net
Technical Details
Message-ID:
<ejhbhg$ea$3@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<ejh4vl$3s4$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Pawel Kraszewski <Pawel@Kraszewscy.net> Newsgroups: pl.comp.lang.asm Subject: Re: Label Date: Thu, 16 Nov 2006 10:34:41 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 32 Message-ID: <ejhbhg$ea$3@nemesis.news.tpi.pl> References: <ejh4vl$3s4$1@atlantis.news.tpi.pl> NNTP-Posting-Host: efg175.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1163669872 458 83.21.44.175 (16 Nov 2006 09:37:52 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 16 Nov 2006 09:37:52 +0000 (UTC) User-Agent: KNode/0.10.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit