Re: how to decide the value of SF



Sebastian Biallas <spamtrap@xxxxxxxxxx> writes:

Tim Roberts wrote:
spamtrap@xxxxxxxxxx wrote:
if sub ax,ax(two numbers compared,the resulst is neither a plus nor
a negative )
how to determine the value of SF?

0 is a positive number.

No. By the usual mathematical definition, 0 is neither positiv nor negative.

By the usual x86 definition, 0 is positive.

Is this comp.lang.asm.maths or comp.lang.asm.x86?

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./.

.



Relevant Pages

  • Re: how to decide the value of SF
    ... By the usual mathematical definition, 0 is neither positiv nor negative. ... By the usual x86 definition, ... Even in mathematics there is no unique definition of natural numbers. ...
    (comp.lang.asm.x86)
  • Re: how to decide the value of SF
    ... By the usual mathematical definition, 0 is neither positiv nor negative. ... One of the set of positive whole numbers; a positive integer. ... You seem to fail to realise how much convention plays a part in communication, ...
    (comp.lang.asm.x86)
  • Re: how to decide the value of SF
    ... Phil Carmody wrote: ... By the usual mathematical definition, 0 is neither positiv nor negative. ... The SF is set iff the result is negative (i.e. the MSB is set). ...
    (comp.lang.asm.x86)