Method and apparatus for signed and unsigned bounds check
Abstract
A typical feature of a data processor is a bounds check. A bounds check is achieved when a determination is made as to whether a check value, typically an address or datum, is within predetermined bounds. Such check values may be signed or unsigned. By requiring that the upper bound be numerically larger than the lower bound for doing a signed check, and requiring that the upper bound be logically larger than the lower bound for doing an unsigned check, the bounds check is performed by the data processor without the need of receiving a signal which informs the data processor in advance as to whether the check is to be signed or unsigned.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a data processor having means for storing an upper bound and a lower bound, a method for determining if a check value, which may be signed or unsigned, is within the upper and lower bounds, comprising the steps of: providing a within-bounds signal if any of the following conditions are met: the lower bound equals the check value; or the lower bound is less than the check value, and the upper bound is greater than or equal to the check value; or the lower bound is less than the check value, the upper bound is not greater than or equal to the check value, and the upper bound is less than
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗