update boot/page/register to be unsigned char