Texas Instruments MSP430x1xx Manual do Utilizador Página 82

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 432
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 81
Instruction Set
3-46
RISC 16−Bit CPU
JGE Jump if greater or equal
Syntax JGE label
Operation If (N .XOR. V) = 0 then jump to label: PC + 2 × offset −> PC
If (N .XOR. V) = 1 then execute the following instruction
Description The status register negative bit (N) and overflow bit (V) are tested. If both N
and V are set or reset, the 10-bit signed offset contained in the instruction LSBs
is added to the program counter. If only one is set, the instruction following the
jump is executed.
This allows comparison of signed integers.
Status Bits Status bits are not affected.
Example When the content of R6 is greater or equal to the memory pointed to by R7,
the program continues at label EDE.
CMP @R7,R6 ; R6 (R7)?, compare on signed numbers
JGE EDE ; Yes, R6 (R7)
...... ; No, proceed
......
......
Vista de página 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 431 432

Comentários a estes Manuais

Sem comentários