Zilog Z16F2810 Manual de usuario Pagina 147

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 146
UM018809-0611 OR Instruction
ZNEO
®
CPU Core
User Manual
131
OR
Definition
Logical OR
Syntax
OR dst, src
Operation
dst
dst OR src
Description
The source operand is logically ORed with the destination operand and the destination operand
stores the result. The contents of the source operand are unaffected. An OR operation stores 1 in
the destination bit when either of the corresponding bits in the two operands is a 1. Otherwise, the
OR operation stores a 0 bit. Table 22 summarizes the OR operation.
Flags
Table 22. Truth Table for OR
dst src Result (dst)
00 0
10 1
01 1
11 1
76543210
C Z S V B CIRQE IRQE
–**0*–
Legend
C = No change.
Z = Set to 1 if the result is zero; otherwise, set to 0.
S = Set to 1 if the result msb is 1; otherwise set to 0.
V = Cleared to 0.
B = Set to 1 if the initial destination or source value is 0; otherwise set to 0.
CIRQE = No change.
IRQE = No change.
Vista de pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 215 216

Comentarios a estos manuales

Sin comentarios