Atmel C51 Ficha Técnica Página 22

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 127
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 21
22
AT89C51RB2/RC2
4180E–8051–10/06
INC is a short (2 Bytes) and fast (12 clocks) way to manipulate the DPS bit in the
AUXR1 SFR. However, note that the INC instruction does not directly force the DPS bit
to a particular state, but simply toggles it. In simple routines, such as the block move
example, only the fact that DPS is toggled in the proper sequence matters, not its actual
value. In other words, the block move routine works the same whether DPS is '0' or '1'
on entry. Observe that without the last instruction (INC AUXR1), the routine will exit with
DPS in the opposite state.
Vista de página 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 126 127

Comentários a estes Manuais

Sem comentários