Motorola MVME162LX 300 Series Installation And Use Manual page 115

Embedded controller
Table of Contents

Advertisement

Example: A portion of the listing file of an assembled, relocatable
1
2
3
4
5
6
7
8
9
10
11
12
13
14
******
******
The above program was loaded at address $0001327C.
The disassembled code is shown next:
162Bug>
0001327C 48E78080
00013280 4280
00013282 1018
00013284 5340
00013286 12D8
00013288 51C8FFFC
0001328C 4CDF0101
00013290 4E75
162Bug>
http://www.mcg.mot.com/literature
module is shown below:
0 00000000 48E78080
0 00000004 4280
0 00000006 1018
0 00000008 5340
0 0000000A 12D8
0 0000000C 51C8FFFC
0 00000010 4CDF0101
0 00000014 4E75
TOTAL ERRORS
0——
TOTAL WARNINGS
0——
MD 1327C;DI
Entering Debugger Command Lines
*
* MOVE STRING SUBROUTINE
*
MOVESTR
MOVEM.L
D0/A0,—(A7)
CLR.L
D0
MOVE.B
(A0)+,D0
SUBQ.W
#1,D0
LOOP
MOVE.B
(A0)+,(A1)+
MOVS
DBRA
D0,LOOP
MOVEM.L
(A7)+,D0/A0
RTS
END
MOVEM.L
D0/A0,—(A7)
CLR.L
D0
MOVE.B
(A0)+,D0
SUBQ.W
#1,D0
MOVE.B
(A0)+,(A1)+
DBF
D0,$13286
MOVEM.L
(A7)+,D0/A0
RTS
4
4-7

Advertisement

Table of Contents
loading

Table of Contents