NEC PD17062 Instrukcja Użytkownika Strona 176

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 296
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 175
176
µ
PD17062
Example 2.
;
SKT1 FLG1 ; If FLG1 is set to 1,
BR LCTUNE
ST M1, R1 ; data is rewritten to M1 and M2 again.
ST M2, R2
CLR1 FLG1
;
LCTUNE :
Initial reception ; The last channel is received.
The channel indicated by
the contents of M1 and
M2 is received.
MAIN : ; Main processing
Channel change ; The changed channel is assigned to general-purpose
; registers R1 and R2.
;
SET1 FLG1 ; FLG1 is set while rewriting the last channel.
;
ST M1, R1 ; The channel is rewritten.
;
ST M2, R2
CLR1 FLG1
BR MAIN
In this example, FLG1 is set when rewriting the last channel in and . This allows data to be rewritten
in again even if CE reset is applied in .
Przeglądanie stron 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 295 296

Komentarze do niniejszej Instrukcji

Brak uwag