3.4.2 Write
The following table provides the command syntax for Reg value write before initialization.
| Command Syntax | MCHPRT REGW X Y | |||||
|---|---|---|---|---|---|---|
| REGW |
| |||||
| X | X refers to the register number that writes the register location | |||||
| Y | Y refers to the write register value that writes the register value | |||||
| Example | MCHPRT REGW 0 8 Reg 0 value will change to 8 | |||||
The following figure shows the example of Reg value write before initialization.

The following table provides the command syntax for Reg value write after initialization.
| Command Syntax | MCHPRT 16 REGW X Y | |||||
|---|---|---|---|---|---|---|
| X | X refers to the register number that writes the register location | |||||
| Y | Y refers to the write register value that writes the register value | |||||
| Example | MCHPRT 16 REGW 0 8 Reg 0 value will change to 8 | |||||

