3.4.1 Read
The following table provides the command syntax for Reg value read before initialization.
| Command Syntax | MCHPRT REGR X | |||||
|---|---|---|---|---|---|---|
| REGR |
| |||||
| X | X refers to the register number that reads and prints the value | |||||
| Example | MCHPRT REGR 0 Reg 0 value will be printed | |||||
The following figure shows the example of reg value read before initialization.

The following table provides the command syntax for Reg value read after initialization.
| Command Syntax | MCHPRT 16 REGR X |
|---|---|
| X | X refers to the register number that reads and prints the value |
| Example | MCHPRT 16 REGR 0 Reg 0 value will be printed |
The following figure shows the example of reg value read after initialization.

