![Intel ITANIUM ARCHITECTURE Скачать руководство пользователя страница 388](http://html.mh-extra.com/html/intel/itanium-architecture/itanium-architecture_manual_2073403388.webp)
Volume 4: Base IA-32 Instruction Reference
4:381
TEST—Logical Compare
Description
Computes the bit-wise logical AND of first operand (source 1 operand) and the second
operand (source 2 operand) and sets the SF, ZF, and PF status flags according to the
result. The result is then discarded.
Operation
TEMP
SRC1 AND SRC2;
SF
MSB(TEMP);
IF TEMP = 0
THEN ZF
0;
ELSE ZF
1;
FI:
PF
BitwiseXNOR(TEMP[0:7]);
CF
0;
OF
0;
(*AF is Undefined*)
Flags Affected
The OF and CF flags are cleared to 0. The SF, ZF, and PF flags are set according to the
result (see “Operation” above). The state of the AF flag is undefined.
Additional Itanium System Environment Exceptions
Itanium Reg Faults NaT Register Consumption Abort.
Itanium Mem FaultsVHPT Data Fault, Nested TLB Fault, Data TLB Fault, Alternate Data
TLB Fault, Data Page Not Present Fault, Data NaT Page Consumption
Abort, Data Key Miss Fault, Data Key Permission Fault, Data Access
Rights Fault, Data Access Bit Fault, Data Dirty Bit Fault
Opcode
Instruction
Description
A8
ib
TEST AL,
imm8
AND
imm8
with AL; set SF, ZF, PF according to result
A9
iw
TEST AX,
imm16
AND
imm16
with AX; set SF, ZF, PF according to result
A9
id
TEST EAX,
imm32
AND
imm32
with EAX; set SF, ZF, PF according to result
F6 /0
ib
TEST
r/m8,imm8
AND
imm8
with
r/m8
; set SF, ZF, PF according to result
F7 /0
iw
TEST
r/m16,imm16
AND
imm16
with
r/m16
; set SF, ZF, PF according to result
F7 /0
id
TEST
r/m32,imm32
AND
imm32
with
r/m32
; set SF, ZF, PF according to result
84 /
r
TEST
r/m8,r8
AND
r8
with
r/m8
; set SF, ZF, PF according to result
85 /
r
TEST
r/m16,r16
AND
r16
with
r/m16
; set SF, ZF, PF according to result
85 /
r
TEST
r/m32,r32
AND
r32
with
r/m32
; set SF, ZF, PF according to result
Содержание ITANIUM ARCHITECTURE
Страница 1: ......
Страница 7: ...402 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 199: ...4 192 Volume 4 Base IA 32 Instruction Reference FWAIT Wait See entry for WAIT ...
Страница 269: ...4 262 Volume 4 Base IA 32 Instruction Reference LES Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 270: ...Volume 4 Base IA 32 Instruction Reference 4 263 LFS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 273: ...4 266 Volume 4 Base IA 32 Instruction Reference LGS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 288: ...Volume 4 Base IA 32 Instruction Reference 4 281 LSS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 352: ...Volume 4 Base IA 32 Instruction Reference 4 345 ROL ROR Rotate See entry for RCL RCR ROL ROR ...
Страница 368: ...Volume 4 Base IA 32 Instruction Reference 4 361 SHL SHR Shift Instructions See entry for SAL SAR SHL SHR ...
Страница 373: ...4 366 Volume 4 Base IA 32 Instruction Reference SIDT Store Interrupt Descriptor Table Register See entry for SGDT SIDT ...
Страница 589: ...4 582 Volume 4 IA 32 SSE Instruction Reference ...
Страница 590: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index ...
Страница 591: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 603: ...INDEX Index 12 Index for Volumes 1 2 3 and 4 ...
Страница 604: ......