121. Data Conversion and Encoding-i

Question.6

A developer extracts nibbles from a register byte 0xAB for BCD display:

uint8_t reg = 0xAB;
uint8_t high = reg >> 4;
uint8_t low  = reg & 0x0F;
printf("High=%X Low=%X", high, low);

What is the output?

Need Help? Refer to the Quick Guide below

Select Answer