Binary-coded decimal Binary-coded decimal In computing and electronic systems, binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used for a sign or for other indications (e.g., error or overflow). In byte-oriented systems (i.e. most modern computers), the term "unpacked" BCD usually implies a full byte for each digit (often including a sign), whereas "packed" BCD typically encodes two decimal digits within a single byte by taking advantage of the fact that four bits are enough to represent
Packed pixel Packed pixel In packed pixel or chunky framebuffer organization, the bits defining each pixel are grouped together. For example, if there are 16 bits per pixel, each pixel is represented in two consecutive (contiguous) 8-bit bytes in the framebuffer (a.k.a. screen buffer). If there are 4 bits per pixel (16 colors), each frame buffer byte defines two pixels, one in each nibble. The latter example is as opposed to storing perhaps half of the bits—2 bits—for each of four pixels in one byte and the other two bits for each of those four pixels in another byte or bytes. It