🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem pamieci

#810
From: Bogdan (bogdro)
Date: Wed, 08 Nov 2006 16:56
29 lines
1651 bytes
PioM napisał(a):
> Witam
> 
> Witam
> 
> Dlaczego nie dziala
> mov [b8000000],3007
> 
> a dziala
> ds=b8000

 Nie załadujesz tyle do DS. Co najwyżej b800.

> mov ds:[0000],3007?

 Jeśli mamy tryb rzeczywisty, to adres = segment*16+offset = b800*16+0
= b8000, a nie b8000000.
 Po drugie, może DS nieustawiony przed pierwszym MOV?

> Wyglada na to samo i powinno dzialac w 32 bitowym adresowaniu.

 Tryb rzeczywisty czy chroniony? Co do rzeczywistego masz wyjaśnienie
powyżej

-- 
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
Rozmawiaj bezpiecznie: www.JabberPL.org Surfuj anonimowo: tor.eff.org
Technical Details
Message-ID: <eit2d7$n48$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <eisoem$a84$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Bogdan (bogdro)" <bogdan@bogdan.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: problem pamieci
Date: Wed, 08 Nov 2006 17:56:09 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 29
Message-ID: <eit2d7$n48$1@nemesis.news.tpi.pl>
References: <eisoem$a84$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: acug106.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1163005159 23688 83.11.86.106 (8 Nov 2006 16:59:19 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 8 Nov 2006 16:59:19 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.7 (X11/20060909)
In-Reply-To: <eisoem$a84$1@atlantis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit