r
The r command set and display register values.
Command Format
r [reg [value | field value]]
where:
| reg | specifies a register to display/set |
| value | value expression to set register to |
| field value | a field value, usually with special registers |
Functional description
The r command display and sets register value. Typing only the r command displays the most common registers while the command r * display all registers. To display a particular register only the name of that register can be given as argument. For example the command r r10 display the contents of register r10.
Floating point registers (if available) can be displayed by using the f* or f<n> register specification.
When assigning new values to registers a specific register must be specified along with an expression giving the new register values.
Some targets allow assignment to specific fields in typically, control, configuration and status registers.
Environment
The command uses no environment variable.
See Also
...
- Login to post comments
