An Entity of Type: book, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

A status register, flag register, or condition code register (CCR) is a collection of status flag bits for a processor. Examples of such registers include FLAGS register in the x86 architecture, flags in the program status word (PSW) register in the IBM System/360 architecture through z/Architecture, and the application program status register (APSR) in the ARM Cortex-A architecture.

Property Value
dbo:abstract
  • Registr příznaků je jeden z procesorových registrů. Na rozdíl od většiny ostatních není interpretován jako číslo, ale každý z jeho bitů má zvláštní význam, jedná se o soubor příznaků procesoru. Provedení některých instrukcí může měnit hodnotu některých příznaků. Nastavení jednotlivých příznaků je pak buď možno přímo číst, nebo je nepřímo využíváno tak, že ovlivňuje chování některých instrukcí. Typickým příkladem jsou instrukce podmíněných skoků, které provedou skok v závislosti na stavu konkrétních příznaků – tedy v závislosti na výsledku předchozích instrukcí. Velikost registru příznaků, počet, pozice i význam jednotlivých bitů závisí na typu procesoru, respektive na jeho architektuře. Například v rámci architektury x86 byl původně registr příznaku 16bitový a u procesorů typu 8086 byly ještě některé bity nevyužívané, ale od procesorů 80386 výš už byl 32bitový. Příznaky lze dělit na aritmetické-logické a na řídící. Příklady aritmeticko-logických příznaků jsou: * příznak přenosu: Je nastavován například operacemi sčítání a odčítání, dojde-li k výpůjčce nebo k přenosu z nejvýznamnějšího bitu. Také jej mohou nastavovat bitové operace. * : Je nastavován, je-li výsledkem operace nula. * příznak znaménka: Je nastavován, má-li výsledek operace nastaven nejvýznamnější bit (tedy znaménkový bit), tedy je-li při interpretaci jako číslo v dvojkovém doplňku záporný * příznak přetečení: Je nastavován, pokud se výsledek operace nevejde do registru při počítání ve dvojkovém doplňku. * příznak parity: Je nastavován podle toho, je-li počet nastavených bitů výsledku poslední operace sudý či lichý. a příklady řídících příznaků jsou: * : Je-li nastaven, je po každé instrukci zavoláno přerušení. * : Je-li nastaven, jsou povolena maskovatelná přerušení (cs)
  • Das Statusregister (auch Zustandsregister, englisch condition code register (CCR), oder Programmstatuswort, englisch program status word (PSW)) ist ein spezielles Register im Rechenwerk eines Mikroprozessors. Da man diese Bits auch als Flags bezeichnet, wird das Statusregister auch Flagregister genannt. Es enthält eine Reihe von Flags, die von der arithmetisch-logischen Einheit (ALU) in Abhängigkeit von der zuletzt durchgeführten Rechenoperation (z. B. Überlauf, negatives Ergebnis) gesetzt werden. Einige Flags können auch durch direkte Anweisungen geändert werden. Manche Prozessoren – z. B. der 6502 – setzen die meisten Statusflags auch schon bei reinen Ladeoperationen. (de)
  • Se conoce como registro de estado a los registros de memoria en los que se deja constancia de algunas condiciones que se dieron en la última operación realizada y que podrán ser tenidas en cuenta en operaciones posteriores. Por ejemplo, en el caso de hacer una resta, en el registro de estado queda constancia de si el resultado fue cero, positivo o negativo, o si se sobrepasó la capacidad de representación. Cada modelo de procesador tiene sus propios registros de estados, pero los más comunes son: * Z = Zero flag: El resultado es cero. * S = Sign flag: El resultado es negativo. * V = Overflow flag: El resultado supera el número de bits que puede manejar la ALU. * P = Parity flag: Paridad del número de 1 en los datos. * I = Interrupt flag: Se ha producido una interrupción. * C = Carry flag: Acarreo de la operación realizada. (es)
  • A status register, flag register, or condition code register (CCR) is a collection of status flag bits for a processor. Examples of such registers include FLAGS register in the x86 architecture, flags in the program status word (PSW) register in the IBM System/360 architecture through z/Architecture, and the application program status register (APSR) in the ARM Cortex-A architecture. The status register is a hardware register that contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor. The status register lets an instruction take action contingent on the outcome of a previous instruction. Typically, flags in the status register are modified as effects of arithmetic and bit manipulation operations. For example, a Z bit may be set if the result of the operation is zero and cleared if it is nonzero. Other classes of instructions may also modify the flags to indicate status. For example, a string instruction may do so to indicate whether the instruction terminated because it found a match/mismatch or because it found the end of the string. The flags are read by a subsequent conditional instruction so that the specified action (depending on the processor, a jump, call, return, or so on) occurs only if the flags indicate a specified result of the earlier instruction. Some CPU architectures, such as the MIPS and Alpha, do not use a dedicated flag register. Others do not implicitly set and/or read flags. Such machines either do not pass implicit status information between instructions at all, or they pass it in an explicitly selected general purpose register. A status register may often have other fields as well, such as more specialized flags, interrupt enable bits, and similar types of information. During an interrupt, the status of the thread currently executing can be preserved (and later recalled) by storing the current value of the status register along with the program counter and other active registers into the machine stack or some other reserved area of memory. (en)
  • Le registre d'état, ou registre de drapeaux, est un ensemble de bits représentant des drapeaux au sein d'un processeur. Le registre RFLAGS est un exemple de registre d'état propre à l'architecture de processeurs x64. Les bits composant le registre d'état sont indépendants les uns des autres, et la valeur de chacun apporte une information supplémentaire quant au résultat d'une opération antérieure. En effet, au cours d'un calcul, le processeur va automatiquement mettre à jour le registre d'état, en plus de fournir le résultat de l'opération. Le registre d'état comporte en général un minimum de quatre drapeaux, que sont les indicateurs de nullité (résultat égal à zéro), de retenue (l'opération a produit une retenue), de dépassement de capacité (le signe du résultat diffère du signe des opérandes), ainsi que de négativité (le résultat est inférieur à zéro). Ces drapeaux peuvent ensuite être utilisés, notamment pour déterminer si une opération conditionnelle doit être exécutée ou non. Une utilisation fréquente de ce registre consiste à déterminer si un branchement (saut vers une portion spécifique du code) doit être effectué. Pour cela, on effectue tout d'abord une comparaison entre deux valeurs, qui consiste dans les faits à réaliser une soustraction entre les deux valeurs, opération qui met à jour le registre d'état. Ensuite, il suffit par exemple de tester la valeur du registre indiquant un résultat négatif pour savoir laquelle des deux valeurs était la plus grande, et en fonction de cette valeur, réaliser ou non le branchement. (fr)
  • 상태 레지스터 또는 플래그 레지스터는 마이크로프로세서에서 다양한 산술 연산 결과의 상태를 알려주는 플래그 비트들이 모인 레지스터이다. 주로, 조건문과 같은 실행 순서의 분기에 사용된다. (ko)
  • Il registro di stato (noto anche come status register, flag register, PSW o condition code register (CCR)) è un insieme di flag presenti nella CPU che indicano lo stato di diversi risultati di operazioni matematiche. Questi flag sono comunemente usati per confrontare e testare condizioni richieste dai programmi. L'ordine, il numero e il significato dei flag del registro di stato varia da processore a processore, a causa delle diverse configurazioni ed architetture che sussistono per ognuno di esso. Ad esempio, l'architettura x86 possiede come registro di stato il . (it)
  • Rejestr stanu lub rejestr flag (niepoprawnie: rejestr statusu) – rejestr procesora opisujący i kontrolujący jego stan. Zawartość tego rejestru może zależeć od ostatnio wykonanej operacji (zmiana pośrednia), bądź trybu pracy procesora, który można ustawiać (zmiana bezpośrednia). Budowa rejestru stanu zależy od modelu programowego danego procesora, w szczególności może on mieć różne rozmiary (zwykle jest to ściśle związane z rodzajem architektury), jednak zwykle ma długość będąca wielokrotnością bajtu, czyli najczęściej oktetu: 8, 16, 32 lub 64 bitów. Pojedynczy bit rejestru stanu nazywa się flagą bądź znacznikiem. (pl)
  • ステータスレジスタは、コンピュータのプロセッサなどにおいて、フラグのビットの集まったワードをその内容とするレジスタである。フラグレジスタやフラグバイト、コンディションコードレジスタなどとも呼ばれる。 その仕様は一般に、プロセッサの命令セットと密接に結びついており、命令セットアーキテクチャ(ISA)毎に決まっている。 (ja)
  • Регістр стану (англ. Program State Word — PSW, англ. Flag Register — RF, англ. Condition Code Register — CCR) — це частина процесора, що зберігає важливу інформацію про стан обчислювальної системи, наприклад, біти-прапорці, які характеризують результати виконання арифметичних чи логічних операцій та порівнянь. Залежно від архітектурних особливостей, вміст регістра стану може бути частиною так званого контексту, що записується в стек при перериванні, або це покладено на плечі програміста. Часто система команд передбачає спеціальні інструкції для читання та запису бітів регістра стану, оскільки вони застосовуються зі специфічною метою: для зміни природного порядку слідування команд та управління процесором. (uk)
dbo:wikiPageID
  • 600118 (xsd:integer)
dbo:wikiPageLength
  • 9623 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1097923555 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • Das Statusregister (auch Zustandsregister, englisch condition code register (CCR), oder Programmstatuswort, englisch program status word (PSW)) ist ein spezielles Register im Rechenwerk eines Mikroprozessors. Da man diese Bits auch als Flags bezeichnet, wird das Statusregister auch Flagregister genannt. Es enthält eine Reihe von Flags, die von der arithmetisch-logischen Einheit (ALU) in Abhängigkeit von der zuletzt durchgeführten Rechenoperation (z. B. Überlauf, negatives Ergebnis) gesetzt werden. Einige Flags können auch durch direkte Anweisungen geändert werden. Manche Prozessoren – z. B. der 6502 – setzen die meisten Statusflags auch schon bei reinen Ladeoperationen. (de)
  • 상태 레지스터 또는 플래그 레지스터는 마이크로프로세서에서 다양한 산술 연산 결과의 상태를 알려주는 플래그 비트들이 모인 레지스터이다. 주로, 조건문과 같은 실행 순서의 분기에 사용된다. (ko)
  • Il registro di stato (noto anche come status register, flag register, PSW o condition code register (CCR)) è un insieme di flag presenti nella CPU che indicano lo stato di diversi risultati di operazioni matematiche. Questi flag sono comunemente usati per confrontare e testare condizioni richieste dai programmi. L'ordine, il numero e il significato dei flag del registro di stato varia da processore a processore, a causa delle diverse configurazioni ed architetture che sussistono per ognuno di esso. Ad esempio, l'architettura x86 possiede come registro di stato il . (it)
  • Rejestr stanu lub rejestr flag (niepoprawnie: rejestr statusu) – rejestr procesora opisujący i kontrolujący jego stan. Zawartość tego rejestru może zależeć od ostatnio wykonanej operacji (zmiana pośrednia), bądź trybu pracy procesora, który można ustawiać (zmiana bezpośrednia). Budowa rejestru stanu zależy od modelu programowego danego procesora, w szczególności może on mieć różne rozmiary (zwykle jest to ściśle związane z rodzajem architektury), jednak zwykle ma długość będąca wielokrotnością bajtu, czyli najczęściej oktetu: 8, 16, 32 lub 64 bitów. Pojedynczy bit rejestru stanu nazywa się flagą bądź znacznikiem. (pl)
  • ステータスレジスタは、コンピュータのプロセッサなどにおいて、フラグのビットの集まったワードをその内容とするレジスタである。フラグレジスタやフラグバイト、コンディションコードレジスタなどとも呼ばれる。 その仕様は一般に、プロセッサの命令セットと密接に結びついており、命令セットアーキテクチャ(ISA)毎に決まっている。 (ja)
  • Registr příznaků je jeden z procesorových registrů. Na rozdíl od většiny ostatních není interpretován jako číslo, ale každý z jeho bitů má zvláštní význam, jedná se o soubor příznaků procesoru. Provedení některých instrukcí může měnit hodnotu některých příznaků. Nastavení jednotlivých příznaků je pak buď možno přímo číst, nebo je nepřímo využíváno tak, že ovlivňuje chování některých instrukcí. Typickým příkladem jsou instrukce podmíněných skoků, které provedou skok v závislosti na stavu konkrétních příznaků – tedy v závislosti na výsledku předchozích instrukcí. (cs)
  • Se conoce como registro de estado a los registros de memoria en los que se deja constancia de algunas condiciones que se dieron en la última operación realizada y que podrán ser tenidas en cuenta en operaciones posteriores. Por ejemplo, en el caso de hacer una resta, en el registro de estado queda constancia de si el resultado fue cero, positivo o negativo, o si se sobrepasó la capacidad de representación. Cada modelo de procesador tiene sus propios registros de estados, pero los más comunes son: (es)
  • Le registre d'état, ou registre de drapeaux, est un ensemble de bits représentant des drapeaux au sein d'un processeur. Le registre RFLAGS est un exemple de registre d'état propre à l'architecture de processeurs x64. (fr)
  • A status register, flag register, or condition code register (CCR) is a collection of status flag bits for a processor. Examples of such registers include FLAGS register in the x86 architecture, flags in the program status word (PSW) register in the IBM System/360 architecture through z/Architecture, and the application program status register (APSR) in the ARM Cortex-A architecture. (en)
  • Регістр стану (англ. Program State Word — PSW, англ. Flag Register — RF, англ. Condition Code Register — CCR) — це частина процесора, що зберігає важливу інформацію про стан обчислювальної системи, наприклад, біти-прапорці, які характеризують результати виконання арифметичних чи логічних операцій та порівнянь. Залежно від архітектурних особливостей, вміст регістра стану може бути частиною так званого контексту, що записується в стек при перериванні, або це покладено на плечі програміста. (uk)
rdfs:label
  • Registr příznaků (cs)
  • Statusregister (de)
  • Registro de estado (es)
  • Registre d'état (fr)
  • Registro di stato (it)
  • 상태 레지스터 (ko)
  • ステータスレジスタ (ja)
  • Rejestr stanu (pl)
  • Status register (en)
  • Регістр стану (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is dbp:branching of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License