Browse Prior Art Database

Character Scanning Instruction

IP.com Disclosure Number: IPCOM000091444D
Original Publication Date: 1968-Feb-01
Included in the Prior Art Database: 2005-Mar-05
Document File: 2 page(s) / 18K

Publishing Venue

IBM

Related People

Rubin, F: AUTHOR

Abstract

The drawing shows the respective fields in an instruction that is useful in detecting delimiters in a text which is being scanned as a character string.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 2

Character Scanning Instruction

The drawing shows the respective fields in an instruction that is useful in detecting delimiters in a text which is being scanned as a character string.

The single character, comparand, at the second operand address B2, D2 is compared sequentially against the string of characters beginning at the first operand address B1, D1. The number of characters, (bytes), in the string is L1.

If the comparand, which can be a delimiter character, matches the Nth character in the string, the number N is set into a predetermined register, and an indicator, not shown, is set, for example setting a condition code to 1.

If the comparand does not match any character in the string, an indicator is set, such as setting the condition code to 0, and the contents of the predetermined register are not changed.

The indicator or condition code setting can be determined by a following Branch on Condition instruction.

1

Page 2 of 2

2

[This page contains 1 picture or other non-text object]