#include uint8_t uint8_topbit_01(uint8_t x) { x >>= 7; return (1 & x); }