Motorola MVME162 User Manual
Using the 162Bug Debugger
4-8
MVME162 Embedded Controller Installation Guide
4
By using one of the offset registers, the disassembled code addresses can be
made to match the listing file addresses as follows:
made to match the listing file addresses as follows:
162Bug>
OF R0
R0 =00000000 00000000?
1327C.
<
CR
>
162Bug>
MD 0+R0;DI
<
CR
>
00000+R0 48E78080 MOVEM.L D0/A0,—(A7)
00004+R0 4280 CLR.L D0
00006+R0 1018 MOVE.B (A0)+,D0
00008+R0 5340 SUBQ.W #1,D0
0000A+R0 12D8 MOVE.B (A0)+,(A1)+
0000C+R0 51C8FFFC DBF D0,$A+R0
00010+R0 4CDF0101 MOVEM.L (A7)+,D0/A0
00014+R0 4E75 RTS
162Bug>
For additional information about the offset registers, refer to the Debugging
Package for Motorola 68K CISC CPUs User’s Manual.
Package for Motorola 68K CISC CPUs User’s Manual.
Port Numbers
Some 162Bug commands give you the option to choose the port to be used to
input or output. Valid port numbers which may be used for these commands
are as follows:
input or output. Valid port numbers which may be used for these commands
are as follows:
1.
MVME162 EIA-232-D Debug (Terminal Port 0 or 00) (PORT 1 on the
MVME162 P2 connector). Sometimes known as the "console port", it is
used for interactive user input/output by default.
MVME162 P2 connector). Sometimes known as the "console port", it is
used for interactive user input/output by default.
2.
MVME162 EIA-232-D (Terminal Port 1 or 01) (PORT 2 on the MVME162
P2 connector). Sometimes known as the "host port", this is the default for
downloading, uploading, concurrent mode, and transparent modes.
P2 connector). Sometimes known as the "host port", this is the default for
downloading, uploading, concurrent mode, and transparent modes.
N
ote
These logical port numbers (0 and 1) are shown in the
pinouts of the MVME162 module as "SERIAL PORT 1" and
"SERIAL PORT 2", respectively. Physically, they are all part
of connector P2. They are also available at the front panel
DB-25 connectors J15 (for PORT 1 or A) and J9 (for PORT 2
or B).
pinouts of the MVME162 module as "SERIAL PORT 1" and
"SERIAL PORT 2", respectively. Physically, they are all part
of connector P2. They are also available at the front panel
DB-25 connectors J15 (for PORT 1 or A) and J9 (for PORT 2
or B).