Ci-dessous, les différences entre deux révisions de la page.
back2root:ibm-pc-ms-dos:instr:or [2023/02/25 20:41] – créée frater | back2root:ibm-pc-ms-dos:instr:or [2023/02/25 20:50] (Version actuelle) – frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== OR ====== | ====== OR ====== | ||
+ | ===== OR - Logical Or ===== | ||
+ | |||
+ | Logical inclusive OR of the two operands returning the result in the destination. Any bit set in either operand will be set in the destination. | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | OR dest, | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | CF PF AF ZF SF OF | ||
+ | |||
+ | //AF undefined// | ||
+ | </ | ||
+ | |||
+ | ^ ^ Clocks | ||
+ | ^ Operands | ||
+ | | reg, | ||
+ | | mem, | ||
+ | | reg, | ||
+ | | reg, | ||
+ | | mem8, | ||
+ | | mem16, | ||
+ | | accum, | ||
- | #redirect and-or-not-xor | ||