NEC PD17062 Manual do Utilizador Página 176

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 296
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 .
Vista de página 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 295 296

Comentários a estes Manuais

Sem comentários