void co_register_put(co_register reg, int32 value);
This function puts a data value to a register object. This function must be called from within a process run function.
The arguments for co_register_put are as follows:
If the register is wider than 32 bits, the data value is written into the least-significant bytes of the register and higher-order bytes are unchanged. If the register is smaller than 32 bits, the least-significant bytes of the value are written to the register until it is full.