/* Convert a hex number to its ASCII code. */
UINT8 EFIAPI AsciiFromHex(IN UINT8 Hex)
/* Convert a hex number to its ASCII code. */
UINT8 EFIAPI AsciiFromHex(IN UINT8 Hex)
{
  if (Hex < 10) {
    return (UINT8)(Hex + '0');
  }
  if (Hex < 16) {
    return (UINT8)(Hex - 10 + 'A');
  }
  ASSERT (FALSE);
  return (UINT8)-1;
}