🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Neg i carry

#569
From: Andrzej Grażyński
Date: Tue, 26 Sep 2006 23:57
9 lines
1198 bytes
Johnny napisał(a):
> mov ax,80h
> neg ax
> 
> Dlaczego druga linijka ustawia znacznik carry? Przecież neg to nic
> innego jak not ax i add ax,1h. Jeśli w ten sposób zapiszę tą linijkę to
> carry nie jest ustawiane.
> 
neg ustawia carry wtedy i tylko wtedy, gdy argument jest niezerowy
Technical Details
Message-ID: <efcepl$o92$1@atlantis.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-mail
References: <eck20j$ic8$1@nemesis.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: Andrzej Grażyński <grazynsk@petex.com.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Neg i carry
Date: Wed, 27 Sep 2006 01:57:11 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 9
Message-ID: <efcepl$o92$1@atlantis.news.tpi.pl>
References: <eck20j$ic8$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: pk114.katowice.cvx.ppp.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1159315062 24866 217.99.64.114 (26 Sep 2006 23:57:42 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 26 Sep 2006 23:57:42 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <eck20j$ic8$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit