Freescale Semiconductor Microcontrollers User Manual

Page 281

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

281

Microcontrollers Debugger Manual

lda 7,x ; get the message data
sta CT0DSR1
lda 8,x ; get the message data
sta CT0DSR2
lda 9,x ; get the message data
sta CT0DSR3
lda 0a,x ; get the message data
sta CT0DSR4
lda 0b,x ; get the message data
sta CT0DSR5
lda 0c,x ; get the message data
sta CT0DSR6
lda 0d,x ; get the message data
sta CT0DSR7
ldhx #Msg2_Desc ; set up transmission message 2
lda 0,x ; get message address
lsla
lsla
lsla
sta CT1IDR0
lda 1,x ; get next byte in message address
and #$E0
lsra
lsra
lsra
lsra
lsra
ora CT1IDR0
sta CT1IDR0
lda 1,x ; get next byte in message address
and #$1C
lsla
lsla
lsla
ora #$18
sta CT1IDR1
lda 1,x ; get next byte in message address
and #$03
lsla
ora CT1IDR1
sta CT1IDR1
lda 2,x ; get next byte in message address
and #$80
rola
rola
ora CT1IDR1
sta CT1IDR1
lda 2,x ; get next byte in message address

Advertising