摘要 |
PURPOSE:To improve a compression processing speed by storing data inputted in each two bytes in a buffer part in each byte, providing plural comparing parts to compare whether the succeeding input data are the same or not in each byte in parallel and detecting the continuity of characters from a compared results. CONSTITUTION:The upper side data IU of input data consisting of one word (two bytes) are inputted to comparing parts 1, 2, 5, a buffer part 4 and a data forming part 7. The lower side data ID are inputted to comparing parts 1, 6, a buffer part 3 and the data forming part 7. The buffer parts 3, 4 store the preceding input data. The comparing parts 1, 2, 5, 6 output respective compared results CMP1 to CMP1 to the data forming part 7. The data forming part 7 detects the continuity of characters from the compared results CMP1, CMP2, and outputs a compression code for continued characters. The data forming part 7 detects the repeat of a character string consisting of two characters by means of the compared results CMP5, CMP6, in addition to the compared results CMP1, CMP2 and outputs a compression code. |