Hardware Reference
In-Depth Information
Example 3.5
▼
+
move 1000 10ff 1100
.
▲
rd
The
rd
(
register display
) command is used to display the HCS12 CPU registers, including
the
ppage
register.
Example 3.6
▼
+
rd
PP PC
SP
X
Y
D
5
A:B
CCR
5
SXHI
NZVC
38 1521
3C00
2014
0000
6E:14
1001
0100
xx: 1521
9C42
CPD
$0042
.
▲
rm
The
rm
(
register modify
) command is used to examine and/or modify the contents of the
CPU12 registers interactively. As each register and its contents are displayed, D-Bug12 allows
the user to enter a new value for the register in hex. If modification of the displayed register
is not desired, entering a carriage return will cause the next CPU register and its contents
to be displayed on the next line. When the last of the CPU registers has been examined and/
or modified, the rm command displays the first register, giving the user an opportunity to
make additional modifications to the CPU register contents. Typing a period as the first non-
space character on the line will exit the interactive mode of the register modify command and
return to the D-Bug12 command prompt. The registers are displayed in the following order,
one register per line: PC, SP, X, Y, A, B, CCR. The PPAGE register (represented by PP) is not
displayed.
Example 3.7
▼
+
rm
PC
5
0000
1500
SP
5
0A00
IX
5
0000
0100
IY
5
0000
A
5
00
B
5
00
ff
CCR
5
90
d1
PC
5
1500 .
.
▲
Search WWH ::
Custom Search