#include "bcd.h" #pragma opt_code_size uint8_t bcd_getsig(__idata uint8_t*v, uint8_t len) { return v[len-1]>=0x50; }