Re: how to decide the value of SF
- From: Phil Carmody <thefatphil_demunged@xxxxxxxxxxx>
- Date: 25 Oct 2006 10:38:13 +0300
Sebastian Biallas <spamtrap@xxxxxxxxxx> writes:
Phil Carmody wrote:
Sebastian Biallas <spamtrap@xxxxxxxxxx> writes:
Tim Roberts wrote:
spamtrap@xxxxxxxxxx wrote:No. By the usual mathematical definition, 0 is neither positiv nor negative.
if sub ax,ax(two numbers compared,the resulst is neither a plus nor0 is a positive number.
a negative )
how to determine the value of SF?
By the usual x86 definition, 0 is positive.
The SF is set iff the result is negative (i.e. the MSB is set). So if it
isn't set, all you know is that the number is non-negative. Non-negative
is not the same as positive.
I know this isn't the definition for positive, but it's relevant -
do you agree with this definition:
natural number
n. One of the set of positive whole numbers; a positive integer.
Between you and me, I'm also interested to know how many integer values
you think there are between 0 and 127? Again, it is relevant.
You seem to fail to realise how much convention plays a part in communication,
and that there may be different conventions in different contexts. Even 1
was prime for some great mathematicians last century.
Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.
- Follow-Ups:
- Re: how to decide the value of SF
- From: Sebastian Biallas
- Re: how to decide the value of SF
- References:
- how to decide the value of SF
- From: spamtrap
- Re: how to decide the value of SF
- From: Tim Roberts
- Re: how to decide the value of SF
- From: Sebastian Biallas
- Re: how to decide the value of SF
- From: Phil Carmody
- Re: how to decide the value of SF
- From: Sebastian Biallas
- how to decide the value of SF
- Prev by Date: Having trouble posting?
- Next by Date: How interrupts work (x86 vs. C64)
- Previous by thread: Re: how to decide the value of SF
- Next by thread: Re: how to decide the value of SF
- Index(es):
Relevant Pages
|