target/register: use an array of uint8_t for register's value