Содержание

Таблица воздействия команд на флаги

Используемые обозначения

+----------------------------------------------------------------+ | T - команда проверяет флаг | | M - команда изменяет флаг (устанавливает или | | очищает флаг в зависимости от операндов) | | 0 - команда сбрасывает флаг | | 1 - команда устанавливает флаг | | - - действие команды на флаг не определено | | R - команда восстанавливает предыдущее значение флага | | пробел - команда не оказывает действия на флаг | +----------------------------------------------------------------+ +--------------------+---+---+---+---+---+---+---+---+---+---+---+ | Команда | OF| SF| ZF| AF| PF| CF| TF| IF| DF| NT| RF| +--------------------+---+---+---+---+---+---+---+---+---+---+---+ | AAA | - | - | - |TM | - | M | | | | | | | AAD | - | M | M | - | M | - | | | | | | | AAM | - | M | M | - | M | - | | | | | | | AAS | - | - | - |TM | - | M | | | | | | | ADC | M | M | M | M | M |TM | | | | | | | ADD | M | M | M | M | M | M | | | | | | | AND | 0 | M | M | - | M | 0 | | | | | | | ARPL | | | M | | | | | | | | | | BOUND | | | | | | | | | | | | | BSF/BSR | - | - | M | - | - | - | | | | | | | BSWAP | | | | | | | | | | | | | BT/BTS/BTR/BTC | - | - | - | - | - | M | | | | | | | CALL | | | | | | | | | | | | | CBW | | | | | | | | | | | | | CLC | | | | | | 0 | | | | | | | CLD | | | | | | | | | 0 | | | | CLI | | | | | | | | 0 | | | | | CLTS | | | | | | | | | | | | | CMC | | | | | | M | | | | | | | CMP | M | M | M | M | M | M | | | | | | | CMPS | M | M | M | M | M | M | | | | | | | CMPXCHG | M | M | M | M | M | M | | | | | | | CWD | | | | | | | | | | | | | DAA | - | M | M |TM | M |TM | | | | | | | DAS | - | M | M |TM | M |TM | | | | | | | DEC | M | M | M | M | M | | | | | | | | DIV | - | - | - | - | - | - | | | | | | | ENTER | | | | | | | | | | | | | ESC | | | | | | | | | | | | | HLT | | | | | | | | | | | | | IDIV | - | - | - | - | - | - | | | | | | | IMUL | M | - | - | - | - | M | | | | | | | IN | | | | | | | | | | | | | INC | M | M | M | M | M | | | | | | | | INS | | | | | | | | | T | | | | INT | | | | | | | 0 | | | 0 | | | INTO | T | | | | | | 0 | | | 0 | | | INVD | | | | | | | | | | | | | INVPLG | | | | | | | | | | | | | IRET | R | R | R | R | R | R | R | R | R | T | | | J условие | T | T | T | | T | T | | | | | | | JCXZ | | | | | | | | | | | | | JMP | | | | | | | | | | | | | LAHF | | | | | | | | | | | | | LAR | | | M | | | | | | | | | | LDS/LES/LSS/LFS/LGS| | | | | | | | | | | | | LEA | | | | | | | | | | | | | LEAVE | | | | | | | | | | | | | LGDT/LIDT/LLDT/LMSW| | | | | | | | | | | | | LOCK | | | | | | | | | | | | | LODS | | | | | | | | | T | | | | LOOP | | | | | | | | | | | | | LOOPE/LOOPNE | | | T | | | | | | | | | | LSL | | | M | | | | | | | | | | LTR | | | | | | | | | | | | | MOV | | | | | | | | | | | | | MOV упр., отладка | - | - | - | - | - | - | | | | | | | MOVS | | | | | | | | | T | | | | MOVSX/MOVZX | | | | | | | | | | | | | MUL | M | - | - | - | - | M | | | | | | | NEG | M | M | M | M | M | M | | | | | | | NOP | | | | | | | | | | | | | NOT | | | | | | | | | | | | | OR | 0 | M | M | - | M | 0 | | | | | | | OUT | | | | | | | | | | | | | OUTS | | | | | | | | | T | | | | POP/POPA | | | | | | | | | | | | | POPF | R | R | R | R | R | R | R | R | R | R | | | PUSH/PUCHA/PUSHF | | | | | | | | | | | | | RCL/RCR 1 | M | | | | |TM | | | | | | | RCL/RCR число | - | | | | |TM | | | | | | | REP/REPE/REPNE | | | | | | | | | | | | | RET | | | | | | | | | | | | | ROL/ROR 1 | M | | | | | M | | | | | | | ROL/ROR число | - | | | | | M | | | | | | | SAHF | - | R | R | R | R | R | | | | | | | SAL/SAR/SHL/SHR 1 | M | M | M | - | M | M | | | | | | | SAL/SAR/SHL/SHR | - | M | M | - | M | M | | | | | | | число | | | | | | | | | | | | | SBB | M | M | M | M | M |TM | | | | | | | SCAS | M | M | M | M | M | M | | | T | | | | SET условие | T | T | T | | T | T | | | | | | | SGDT/SIDT/SLDT/SMSW| | | | | | | | | | | | | SHLD/SHRD | - | M | M | - | M | M | | | | | | | STC | | | | | | 1 | | | | | | | STD | | | | | | | | | 1 | | | | STI | | | | | | | | 1 | | | | | STOS | | | | | | | | | T | | | | STR | | | | | | | | | | | | | SUB | M | M | M | M | M | M | | | | | | | TEST | 0 | M | M | - | M | 0 | | | | | | | VERR/VERRW | | | M | | | | | | | | | | WAIT | | | | | | | | | | | | | WBINVD | | | | | | | | | | | | | XADD | M | M | M | M | M | M | | | | | | | XCHG | | | | | | | | | | | | | XLAT | | | | | | | | | | | | | XOR | 0 | M | M | - | M | 0 | | | | | | +--------------------+---+---+---+---+---+---+---+---+---+---+---+
Содержание
Сайт создан в системе uCoz