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