TEST (x86 instruction) (original) (raw)
In the x86 assembly language, the TEST instruction performs a bitwise AND on two operands. The flags SF, ZF, PF are modified while the result of the AND is discarded. The OF and CF flags are set to 0, while AF flag is undefined. There are 9 different opcodes for the TEST instruction depending on the type and size of the operands. It can compare 8-bit, 16-bit, 32-bit or 64-bit values. It can also compare registers, immediate values and register indirect values.
Property | Value |
---|---|
dbo:abstract | In the x86 assembly language, the TEST instruction performs a bitwise AND on two operands. The flags SF, ZF, PF are modified while the result of the AND is discarded. The OF and CF flags are set to 0, while AF flag is undefined. There are 9 different opcodes for the TEST instruction depending on the type and size of the operands. It can compare 8-bit, 16-bit, 32-bit or 64-bit values. It can also compare registers, immediate values and register indirect values. (en) 에서 TEST 명령어는 두 피연산자들에 대한 비트 연산인 AND를 수행한다. SF, ZF, PF 플래그가 수정되며 AND의 결과는 버려진다. OF와 CF 플래그는 0으로 설정되며 AF 플래그는 정의되지 않는다. 종류와 피연자들의 크기에 따라 TEST 명령어를 위한 9가지 다른 옵코드가 존재한다. 이것은 8비트, 16비트, 32비트 또는 64비트 값을 비교할 수 있다. 또한 레지스터, 즉시값 그리고 레지스터 간접 값을 비교할 수도 있다. (ko) |
dbo:wikiPageID | 13918823 (xsd:integer) |
dbo:wikiPageLength | 2350 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1107966446 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:Opcode dbr:Bitwise_AND dbr:Bitwise_operation dbr:Operand dbr:X86_assembly_language dbr:Addressing_mode dbc:X86_instructions dbr:Bit_numbering dbr:FLAGS_register dbr:Least_significant_byte dbr:Xnor dbr:Register_(computing) dbr:Register_indirect dbr:Instruction_(computing) |
dbp:wikiPageUsesTemplate | dbt:Reflist dbt:Software-stub dbt:Hardware-stub |
dct:subject | dbc:X86_instructions |
rdf:type | owl:Thing dbo:Software schema:CreativeWork dbo:Work wikidata:Q386724 wikidata:Q7397 yago:WikicatX86Instructions yago:Abstraction100002137 yago:Communication100033020 yago:Direction106786629 yago:Message106598915 |
rdfs:comment | In the x86 assembly language, the TEST instruction performs a bitwise AND on two operands. The flags SF, ZF, PF are modified while the result of the AND is discarded. The OF and CF flags are set to 0, while AF flag is undefined. There are 9 different opcodes for the TEST instruction depending on the type and size of the operands. It can compare 8-bit, 16-bit, 32-bit or 64-bit values. It can also compare registers, immediate values and register indirect values. (en) 에서 TEST 명령어는 두 피연산자들에 대한 비트 연산인 AND를 수행한다. SF, ZF, PF 플래그가 수정되며 AND의 결과는 버려진다. OF와 CF 플래그는 0으로 설정되며 AF 플래그는 정의되지 않는다. 종류와 피연자들의 크기에 따라 TEST 명령어를 위한 9가지 다른 옵코드가 존재한다. 이것은 8비트, 16비트, 32비트 또는 64비트 값을 비교할 수 있다. 또한 레지스터, 즉시값 그리고 레지스터 간접 값을 비교할 수도 있다. (ko) |
rdfs:label | TEST (x86 명령어) (ko) TEST (x86 instruction) (en) |
owl:sameAs | freebase:TEST (x86 instruction) yago-res:TEST (x86 instruction) wikidata:TEST (x86 instruction) dbpedia-ko:TEST (x86 instruction) https://global.dbpedia.org/id/4ve3a |
prov:wasDerivedFrom | wikipedia-en:TEST_(x86_instruction)?oldid=1107966446&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:TEST_(x86_instruction) |
is dbo:wikiPageDisambiguates of | dbr:Test |
is dbo:wikiPageWikiLink of | dbr:X86_assembly_language dbr:Test dbr:X86_instruction_listings dbr:Negative_flag |
is foaf:primaryTopic of | wikipedia-en:TEST_(x86_instruction) |