发明名称 Mask generator usable with addressing schemes in either big endian or little endian format
摘要 A mask generator for use with at least first and second addressing schemes in a microprocessor system, wherein a first addressing scheme is in little endian format and a second addressing scheme is in big endian format. The mask generator, based upon data input as to the number of bytes to be written and the byte address of the first byte, will generate a mask containing as many contiguous 1's as there are bytes to be written. The byte address is then used to rotate the generated mask to align it accordingly with respect to the position of the bytes within the portion of the word that is to be written. The mask generator employs a simple 1's complement together with a specially generated term K for the most significant bit of the mask output, and the rotator is constructed with 0, 2 and 4 bit rotates in a first stage, and 0, 1, 4 and 5 bit rotates in a second stage. This approach enables a single generated mask with appropriate rotation function to serve for both big and little endian address formats without requiring an adder to perform a 2's complementing operation.
申请公布号 US5655065(A) 申请公布日期 1997.08.05
申请号 US19950385851 申请日期 1995.02.09
申请人 TEXAS INSTRUMENTS INCORPORATED 发明人 ROBERTSON, IAIN;JEACOCKE, JONATHAN;SIMPSON, RICHARD
分类号 G06F12/04;G06F7/76;G06F13/40;(IPC1-7):G06F15/00 主分类号 G06F12/04
代理机构 代理人
主权项
地址
您可能感兴趣的专利