🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wartość c/a adres

#333
From: Michał
Date: Wed, 14 Jun 2006 09:37
18 lines
1556 bytes
Johnny wrote:
[...]
> debug wyświetla następujące polecenia mov bl,[0006] i int 20. Skąd się
> bierze to [0006] skoro miało być 10h?

[0006] oznacza wartość pod adresem (ds << 4) + 0006, zobacz co masz w bl 
po wykonaniu tej instrukcji.

> Jeśli zaś dodać
> mov ax,@data
> mov dx,ax
> to debug wyświetla polecenia: mov ax,0F9D, mov dx,ax, mov bl,[000C] , int 20

Dla model small wszystko jest w jednym segmencie, więc count jest 
przesunięty w pamięci o rozmiar instrukcji mov ax, 0f9d; mov ds, ax.

-- 
Pozdrawiam
Technical Details
Message-ID: <e6olhi$r6k$1@nemesis.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: <e6of5l$a5q$1@nemesis.news.tpi.pl> <e6oj1k$39j$1@atlantis.news.tpi.pl> <e6ojos$me3$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: Michał <nie_mam_meila@tpi.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Wartość c/a adres
Date: Wed, 14 Jun 2006 11:37:47 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 18
Message-ID: <e6olhi$r6k$1@nemesis.news.tpi.pl>
References: <e6of5l$a5q$1@nemesis.news.tpi.pl> <e6oj1k$39j$1@atlantis.news.tpi.pl> <e6ojos$me3$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: aajz45.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1150278003 27860 83.5.3.45 (14 Jun 2006 09:40:03 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 14 Jun 2006 09:40:03 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.2 (X11/20060504)
In-Reply-To: <e6ojos$me3$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit