Texas-instruments MSP430x4xx Manual do Utilizador Página 52

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 512
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 51
Instruction Set
3-18 RISC 16-Bit CPU
3.4.1 Double-Operand (Format I) Instructions
Figure 39 illustrates the double-operand instruction format.
Figure 39. Double Operand Instruction Format
B/W D-Reg
15 0
Op-code
AdS-Reg
8714 13 12 11 10 9 6 5 4 3 2 1
As
Table 311 lists and describes the double operand instructions.
Table 311.Double Operand Instructions
Mnemonic S-Reg,
Operation Status Bits
D-Reg
VNZC
MOV(.B)
src,dst src dst
ADD(.B) src,dst src + dst dst ****
ADDC(.B) src,dst src + dst + C dst ****
SUB(.B) src,dst dst + .not.src + 1 dst ****
SUBC(.B) src,dst dst + .not.src + C dst ****
CMP(.B) src,dst dst src ****
DADD(.B) src,dst src + dst + C dst (decimally) * * * *
BIT(.B) src,dst src .and. dst 0 * * *
BIC(.B) src,dst .not.src .and. dst dst −−−−
BIS(.B) src,dst src .or. dst dst −−−−
XOR(.B) src,dst src .xor. dst dst ****
AND(.B)
src,dst src .and. dst dst 0 * * *
* The status bit is affected
The status bit is not affected
0 The status bit is cleared
1 The status bit is set
Note: Instructions CMP and SUB
The instructions CMP and SUB are identical except for the storage of the
result. The same is true for the BIT and AND instructions.
Vista de página 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 511 512

Comentários a estes Manuais

Sem comentários