![Axiom CML-5485 Скачать руководство пользователя страница 36](http://html.mh-extra.com/html/axiom/cml-5485/cml-5485_hardware-user-manual_3036878036.webp)
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0
0 6 / 2 2 / 0 5
35
Protected
Start
End
-----------------------------------------------------------------
dBUG code
0xFFE00000
0xFFE3FFFF
dBUG data
0x00000400
0x0000FFFF
Chip Selects
-----------------
CS0 Flash
RD - Register Display
Usage:
RD <reg>
The RD command displays the register set of the target. If no argument for
reg
is provided,
then all registers are displayed. Otherwise, the value for reg is displayed.
dBUG
preserves the registers by storing a copy of the register set in a buffer. The RD
command displays register values from the register buffer.
Examples:
To display only the program counter:
rd pc
To display all the registers and their values, the command is:
rd
Here is an example of the output from this command:
PC: 00000000 SR: 2000 [t.Sm.000...xnzvc]
An: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 01000000
Dn: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
RM - Register Modify
Usage:
RM reg data
The RM command modifies the contents of the register
reg
to data. The value for reg is the
name of the register, and the value for data may be a symbol name, or it is converted
according to the user-defined radix, normally hexadecimal.
dBUG
preserves the registers by storing a copy of the register set in a buffer. The RM
command updates the copy of the register in the buffer. The actual value will not be written to
the register until target code is executed.