Processor for character strings of variable length
PCT No. PCT/EP94/03045 Sec. 371 Date Mar. 26, 1996 Sec. 102(e) Date Mar. 26, 1996 PCT Filed Sep. 12, 1994 PCT Pub. No. WO95/10803 PCT Pub. Date Apr. 20, 1995A processor for character strings A, B of variable length serves for the fast detection of match, mismatch and comparative difference condition...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | PCT No. PCT/EP94/03045 Sec. 371 Date Mar. 26, 1996 Sec. 102(e) Date Mar. 26, 1996 PCT Filed Sep. 12, 1994 PCT Pub. No. WO95/10803 PCT Pub. Date Apr. 20, 1995A processor for character strings A, B of variable length serves for the fast detection of match, mismatch and comparative difference conditions between them. The character strings, whose lengths are delimited by character string termination marks, are split into consecutive substrings with a byte count corresponding to the data path width, and processed to detect a match, a mismatch and an end-of-byte mark. Each substring is routed via operand registers (16,18) in parallel to an arithmetic unit (20), a logic unit (22) and a comparator unit (24) and simultaneously processed. The arithmetic unit (20) subtracts one substring from the other substring, the logic unit (22) compares both substrings with each other and the comparator unit (24) compares the bytes of both substrings with the contents of a marking register (26), previously set to the end-of-string mark. These operations are executed in one machine cycle. Output signals from the comparator unit serve to indicate the equality of both substrings, output signals from the logic unit serve to indicate the inequality of both substrings and a carry signal from the arithmetic unit serves at the same time to indicate which of the two substrings is the greater or the lesser. |
---|