Motorola 700 Series Installation And Use Manual page 104

Embedded controller
Table of Contents

Advertisement

Using the 162Bug Debugger
4
4-8
8
0 00000008 5340
9
0 0000000A 12D8
10
0 0000000C 51C8FFFC
11
0 00000010 4CDF0101
12
0 00000014 4E75
13
14
****** TOTAL ERRORS
****** TOTAL WARNINGS 0——
The above program was loaded at address $0001327C.
The disassembled code is shown next:
162-Bug>MD 1327C;DI
0001327C 48E78080
00013280 4280
00013282 1018
00013284 5340
00013286 12D8
00013288 51C8FFFC
0001328C 4CDF0101
00013290 4E75
162-Bug>
By using one of the offset registers, the disassembled code
addresses can be made to match the listing file addresses as follows:
162-Bug>OF R0
R0 =00000000 00000000? 1327C. <CR>
162Bug>MD 0+R0;DI <CR>
00000+R0 48E78080
00004+R0 4280
00006+R0 1018
00008+R0 5340
0000A+R0 12D8
0000C+R0 51C8FFFC
00010+R0 4CDF0101
00014+R0 4E75
162-Bug>
LOOP
MOVS
END
0——
MOVEM.L
CLR.L
MOVE.B
SUBQ.W
MOVE.B
DBF
MOVEM.L
RTS
MOVEM.L
CLR.L
MOVE.B
SUBQ.W
MOVE.B
DBF
MOVEM.L
RTS
SUBQ.W#1,D0
MOVE.B(A0)+,(A1)+
DBRA
D0,LOOP
MOVEM.L(A7)+,D0/A0
RTS
END
D0/A0,—(A7)
D0
(A0)+,D0
#1,D0
(A0)+,(A1)+
D0,$13286
(A7)+,D0/A0
D0/A0,—(A7)
D0
(A0)+,D0
#1,D0
(A0)+,(A1)+
D0,$A+R0
(A7)+,D0/A0

Advertisement

Table of Contents
loading

This manual is also suitable for:

800 seriesMvme162lx

Table of Contents