摘要 |
PURPOSE:To allow detection of EOL codes at a high speed with simple constitution and to offer flexibility with respect to code length of special codes by making it possible to detect EOL codes with a special format in a code strng by processing at every word without bit handling. CONSTITUTION:A sum of the number outputted by a register 4 and that of zero its which continue from the highest order of eight-bit data of an input to the lower order are outputted at an A side of a logical operation circuit 2. The number of zero bits which continue from the lower order to the higher order is outputted at a B side. A comparator 5 inputs the value of the logical operation circuit 2 at the A side, decides whether it is beyond 11, and when it is beyond 11, the comparator 5 outputs a detection signal of an EOL code. When fourth bit of the output signal at the B side is zero, a selector 3 is controlled, and the output value at the B side is inputted to an input of the registor 4. Then addition of new continuous zero bits is started. When fourth bit of the output signal at the B side is one, the output at the A side is set to an input of the registor 4 by a selector 3.
|