Atmel C51 Scheda Tecnica Pagina 22

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 127
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 126 127

Commenti su questo manuale

Nessun commento