Freescale-semiconductor Microcontrollers Uživatelský manuál Strana 280

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 892
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 891 892

Komentáře k této Příručce

Žádné komentáře