About: Negative flag     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : dbo:Software, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FNegative_flag&graph=http%3A%2F%2Fdbpedia.org&graph=http%3A%2F%2Fdbpedia.org

In a computer processor the negative flag or sign flag is a single bit in a system status (flag) register used to indicate whether the result of the last mathematical operation produced a value in which the most significant bit (the left most bit) was set. In a two's complement interpretation of the result, the negative flag is set if the result was negative. For example, in an 8-bit signed number system, -37 will be represented as 1101 1011 in binary (the most significant bit, or sign bit, is 1), while +37 will be represented as 0010 0101 (the most significant bit is 0).

AttributesValues
rdf:type
rdfs:label
  • Příznak znaménka (cs)
  • Indicateur de signe (fr)
  • Negative flag (en)
rdfs:comment
  • Příznak znaménka (zkracováno někdy SF z anglického sign flag, někdy N z anglického negative) je jeden z bitů registru příznaků některých procesorů. Je nastavován tehdy, když je výsledkem matematické operace záporné číslo, což je v široce používané reprezentaci pomocí dvojkového doplňku tehdy, má-li výsledek operace nastaven nejvýznamnější bit (plnící funkci znaménkového bitu). Příznak může být nastavován početními operacemi, logickými operacemi i instrukcí porovnání. JSskočí, je-li nastaven příznak znaménkaJNSskočí, není-li nastaven příznak znaménka a jiné podmíněné znaménkovým porovnáním čísel. (cs)
  • In a computer processor the negative flag or sign flag is a single bit in a system status (flag) register used to indicate whether the result of the last mathematical operation produced a value in which the most significant bit (the left most bit) was set. In a two's complement interpretation of the result, the negative flag is set if the result was negative. For example, in an 8-bit signed number system, -37 will be represented as 1101 1011 in binary (the most significant bit, or sign bit, is 1), while +37 will be represented as 0010 0101 (the most significant bit is 0). (en)
  • Dans un processeur d'ordinateur l'indicateur de signe est un bit unique dans le registre d'état permettant d'indiquer si le résultat de la dernière opération mathématique a donné une valeur dont le bit de poids fort a été défini. Dans l’interprétation du résultat d'un complément à deux, l'indicateur de signe est positionné selon le signe du résultat, le bit de poids fort correspondant au bit de signe. Si on se réfère au manuel de l'Intel 80386, la série des processeurs x86 met l'indicateur de signe selon le résultat des instructions suivantes : (fr)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • Příznak znaménka (zkracováno někdy SF z anglického sign flag, někdy N z anglického negative) je jeden z bitů registru příznaků některých procesorů. Je nastavován tehdy, když je výsledkem matematické operace záporné číslo, což je v široce používané reprezentaci pomocí dvojkového doplňku tehdy, má-li výsledek operace nastaven nejvýznamnější bit (plnící funkci znaménkového bitu). Příznak může být nastavován početními operacemi, logickými operacemi i instrukcí porovnání. Na základě nastavení příznaku znaménka se mohou realizovat podmíněné skoky, například procesory z rodiny x86 mají přímo instrukce: JSskočí, je-li nastaven příznak znaménkaJNSskočí, není-li nastaven příznak znaménka Kromě toho je samozřejmě příznak znaménka brán v úvahu i při vyhodnocování srovnání čísel se znaménkem, například instrukcí JLskočí, je-li příznak znaménka různý od příznaku přetečení. Podobně na procesorech z rodiny ARM jsou možné podmíněné instrukce s podmínkami: MI(minus) proveď instrukci, je-li nastaven příznak znaménkaPL(plus) proveď instrukci, není-li nastaven příznak znaménka a jiné podmíněné znaménkovým porovnáním čísel. (cs)
  • In a computer processor the negative flag or sign flag is a single bit in a system status (flag) register used to indicate whether the result of the last mathematical operation produced a value in which the most significant bit (the left most bit) was set. In a two's complement interpretation of the result, the negative flag is set if the result was negative. For example, in an 8-bit signed number system, -37 will be represented as 1101 1011 in binary (the most significant bit, or sign bit, is 1), while +37 will be represented as 0010 0101 (the most significant bit is 0). The negative flag is set according to the result in the x86 series processors by the following instructions (referring to the Intel 80386 manual): * All arithmetic operations except multiplication and division; * compare instructions (equivalent to subtract instructions without storing the result); * Logical instructions – XOR, AND, OR; * TEST instructions (equivalent to AND instructions without storing the result). (en)
  • Dans un processeur d'ordinateur l'indicateur de signe est un bit unique dans le registre d'état permettant d'indiquer si le résultat de la dernière opération mathématique a donné une valeur dont le bit de poids fort a été défini. Dans l’interprétation du résultat d'un complément à deux, l'indicateur de signe est positionné selon le signe du résultat, le bit de poids fort correspondant au bit de signe. Par exemple, dans un système de chiffre signés en 8 bits, −37 sera représenté sous la forme binaire 1101 1011 (le bit de poids fort est de 1), alors que +37 sera représenté sous la forme binaire 0010 0101 (le bit de poids fort est 0). Si on se réfère au manuel de l'Intel 80386, la série des processeurs x86 met l'indicateur de signe selon le résultat des instructions suivantes : * Toutes les opérations arithmétiques à l'exception de la multiplication et de la division; * Les instructions de comparaison (équivalent aux instructions de soustractions sans stocker le résultat); * Instructions logiques - XOR, AND, OR; * L'instruction TEST (équivalent aux /instructions AND sans stocker le résultat). (fr)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage redirect of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3331 as of Sep 2 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 44 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software