mips32, pic32 use uint8_t in 8 bit scan function