Motorola M68HC11EVB User Manual page 71

Table of Contents

Advertisement

OPERATING INSTRUCTIONS
EXAMPLE PROGRAM
C01B STX $00FF
27 F9
C01D STX
$4D65
B6 10 2F
C020 STAA $00,Y
18 A7 00
C023 STX
$00FF
08
C024 TEST
18 08
C026 ASRB
8C C4 1F
C029 ASLD
27 03
C02B STX
$00FF
7E C0 0C
C02E MUL
20 FE
C030 ILLOP
>
The routines, on the next page, are performed on the SCI program loop just assembled:
Connector P1 pins 20 and 21 are connected (connects SCI
transmitter to the receiver) in order to perform the following
routines.
4-36
PROGRAM DESCRIPTION
>BEQ C016<CR>
>LDAA 102F<CR>
>STAA 0,Y<CR>
>INX<CR>
>INY<CR>
>CPX #C41F<CR>
>BEQ C02E<CR>
>JMP C00C<CR>
>BRA C02E<CR>
>(CTRL)A
NOTE
Branch true = SCI RDR not full.
Branch false = SCI RDR full.
Read data from SCI RDR.
Store data byte.
Increment fetch pointer.
Increment storage pointer.
Done sending data?
No, get next data byte.
Yes, stop here.
Exit assembler/dissembler mode.
M68HC11EVB/D

Advertisement

Table of Contents
loading

Table of Contents