Freescale-semiconductor StarCore SC140 Manual do Utilizador Página 483

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 760
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 482
EOR.W
SC140 DSP Core Reference Manual A-169
EOR.W Bitwise Exclusive OR on EOR.W
a 16-Bit Operand in Memory (BMU)
Description
These operations read from memory, modify the retrieved value, and write the new value back to the same
memory address, resulting in two memory accesses. The absolute addresses, offsets, and address register
values must be word-aligned.
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
None.
Operation Assembler Syntax
#u16(R) (R)
EOR.W #u16,(Rn){0 u16 < 2
16
}
#u16 (SP–u5) (SP–u5)
EOR.W #u16,(SP-u5){0 u16 < 2
16
}{0 u5 < 64,W}
#u16 (SP + s16) (SP + s16)
EOR.W #u16,(SP+s16){0 u16 < 2
16
}{-2
15
s16 < 2
15
,W}
#u16 (a16) (a16)
EOR.W #u16,(a16){0 u16 < 2
16
}{0 a16 < 2
16
,W}
EOR.W #u16,(Rn)
Performs a bitwise exclusive OR between an immediate unsigned word and the contents of a memory
address, pointed to by the contents of an address register (Rn). Stores the result in the same memory
address. This instruction is assembler-mapped to BMCHG.W #u16,(Rn) with the immediate value.
EOR.W #u16,(SP–u5)
Performs a bitwise exclusive OR between an immediate unsigned word and the contents of a memory
address. Stores the result in the same memory address. The memory address is calculated as the active
stack pointer (SP) minus a 5-bit unsigned offset value. This instruction is assembler-mapped to
BMCHG.W #u16,(SP–u5) with the immediate value.
EOR.W #u16,(SP+s16)
Performs a bitwise exclusive OR between an immediate unsigned word and the contents of a memory
address. Stores the result in the same memory address. The memory address is calculated as the active
stack pointer (SP) plus a 16-bit signed offset value. This instruction is assembler-mapped to
BMCHG.W #u16,(SP+s16) with the immediate value.
EOR.W #u16,(a16)
Performs a bitwise exclusive OR between an immediate unsigned word and the contents of an absolute
memory address. Stores the result in the same memory address. This instruction is assembler-mapped to
BMCHG.W #u16,(a16) with the immediate value.
Register Address Bit Name Description
SR[18] EXP Determines which stack pointer is used when the stack pointer is an
operand. Otherwise, the instruction is not affected by SR.
Vista de página 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 759 760

Comentários a estes Manuais

Sem comentários