Browse Prior Art Database

Traversing Data Chucks with Callbacks

IP.com Disclosure Number: IPCOM000104858D
Original Publication Date: 1993-Jun-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 2 page(s) / 34K

Publishing Venue

IBM

Related People

Cantor, MR: AUTHOR [+3]

Abstract

Within a computer system there are many instruction traversal engines. The Graphics Processor, the Math Co-processor, and other processors all traverse buffers of instructions. These buffers are often prepared with care. An optimizing compiler will insure that only known and useful instructions are sent to the central processing unit. What happens if a series of instructions are sent to the traversal engine that the traversal engine does not understand?

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 90% of the total text.

Traversing Data Chucks with Callbacks

      Within a computer system there are many instruction traversal
engines.  The Graphics Processor, the Math Co-processor, and other
processors all traverse buffers of instructions.  These buffers are
often prepared with care.  An optimizing compiler will insure that
only known and useful instructions are sent to the central processing
unit.  What happens if a series of instructions are sent to the
traversal engine that the traversal engine does not understand?

      There are three answers to the question posed herein.  The
first solution is to ignore the series of instructions until a proper
instruction is reached.  The second solution is to stop processing
and return an error.  The final possibility is to not ignore the
series of instructions but to perform some other action.

      If the unknown instructions are not going to interrupt the
processing, they must somehow be converted into known instructions.
One method by which this can occur is to compile the known and
unknown instructions into a buffer that would contain a special
field.  This special field would contain the name of the function to
call in order to parse the unknown series of instructions.  All other
instructions before the function is called are sent directly to the
traversal engine.  When the unknown instructions are reached, the
associated function call is made and, upon its return, instructions
are once again sent to the traversal engine...