Invention Grant
US09436466B2 Blank bit and processor instructions employing the blank bit 有权
使用空白位的空白位和处理器指令

Blank bit and processor instructions employing the blank bit
Abstract:
Reading a value into a register, checking to see if the value is a NULL, and then jumping out of a loop if the value is a NULL is a common task that processors perform. To speed performance of such a task, a novel “blank bit” is added to the flag register of a processor. When a first instruction (arithmetic, logic or load) is executed, the instruction operands are checked to see if any is a NULL character value. Information on the result of the check is stored in the blank bit. Execution of a second instruction uses the information stored in the blank bit to determine whether or not a second operation (for example, a jump) will be performed. By using the first and second instructions in a loop, the number of instructions executed to check for NULLs at the end of strings and arrays is reduced.
Public/Granted literature
Information query
Patent Agency Ranking
0/0