Searched defs:nibble (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/PC/BIOS/
H A Dprint.c154 uint16_t arg, nibble, hibyte, format_width, hexadd; local
185 nibble = (arg >> (4 * i)) & 0x000f;
186 send (action, (nibble<=9)? (nibble+'0') : (nibble-10+hexadd));
214 nibble = ((((uint32_t)hibyte << 16) | arg) >> (4 * i)) & 0x000f;
215 send (action, (nibble<=9)? (nibble+'0') : (nibble-10+hexadd));
/vbox/src/VBox/Devices/Graphics/BIOS/
H A Dvgabios.c2054 uint16_t arg, digit, nibble; local
2077 nibble = (arg >> (4 * digit)) & 0x000f;
2078 if (nibble <= 9)
2079 outb(VBE_PRINTF_PORT, nibble + '0');
2081 outb(VBE_PRINTF_PORT, (nibble - 10) + 'A');

Completed in 139 milliseconds