Freescale Semiconductor Microcontrollers Manuale Utente Pagina 280

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 279
HC08 Full Chip Simulation
Configuration Procedure
280
Microcontrollers Debugger Manual
lda 1,x ; get next byte in message address
and #$E0
lsra
lsra
lsra
lsra
lsra
ora CT0IDR0
sta CT0IDR0
lda 1,x ; get next byte in message address
and #$1C
lsla
lsla
lsla
ora #$18
sta CT0IDR1
lda 1,x ; get next byte in message address
and #$03
lsla
ora CT0IDR1
sta CT0IDR1
lda 2,x ; get next byte in message address
and #$80
rola
rola
ora CT0IDR1
sta CT0IDR1
lda 2,x ; get next byte in message address
and #$7F
lsla
sta CT0IDR2
lda 3,x ; get next byte in message address
and #$80
rola
rola
ora CT0IDR2
sta CT0IDR2
lda 3,x ; get next byte in message address
and #$7F
lsla
sta CT0IDR3
lda 4,x ; get the message priority
sta CT0TBPR
lda 5,x ; get the message length
sta CT0DLR
sta datacount
lda 6,x ; get the message data
sta CT0DSR0
Vedere la pagina 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 891 892

Commenti su questo manuale

Nessun commento