摘要 |
A pointer processing method, in which a pointer value is converted into the corresponding row and column numbers identifying the position of a synchronous payload envelope (SPE) within a data frame. In certain embodiments of the invention, the row number is obtained from the pointer value using a single comparison operation. This is accomplished by using a truncated pointer value to identify the location of the first byte of the SPE envelope to within at most two adjacent rows. The actual row number can then be determined by comparing the full pointer value with a boundary value corresponding to the two identified rows.
|