🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Neg i carry

#567
From: Analog
Date: Mon, 28 Aug 2006 12:19
10 lines
1170 bytes
> 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.

Bo   neg R =  0 - R  ?? (czyli sub 0, R )
-- 
TS
Technical Details
Message-ID: <ecun52$5n0$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.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!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Analog <analog@wywal.to.op.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Neg i carry
Date: Mon, 28 Aug 2006 14:19:13 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 10
Message-ID: <ecun52$5n0$1@nemesis.news.tpi.pl>
References: <eck20j$ic8$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: cau252.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1156767714 5856 83.30.92.252 (28 Aug 2006 12:21:54 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 28 Aug 2006 12:21:54 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: pl, en-us, en
In-Reply-To: <eck20j$ic8$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit