发明名称 Data processing system having a saturation arithmetic operation function
摘要 A data processing system includes an instruction decoder for decoding a string of instructions including an arithmetic operation instruction, an arithmetic operation unit controlled by the instruction decoder for executing a designated arithmetic operation for a received data, the arithmetic operation unit outputting not only the result of the designated arithmetic operation, but also a sign information and an overflow/underflow information of the result of the designated arithmetic operation, and a saturation detecting circuit receiving the sign information and the overflow/underflow information for controlling a selector in such a manner that if an overflow has occurred when the sign information indicates the positive, the selector selects a positive maximum value; if an underflow has occurred when the sign information indicates the negative, the selector selects a negative maximum value; and if neither the overflow nor the underflow has occurred, the selector selects the result of arithmetic operation outputted from the arithmetic operation unit. Furthermore, if the overflow has occurred when the sign information indicates the positive, or if the underflow has occurred when the sign information indicates the negative, the saturation detecting circuit sets a saturation flag of a PSW indicative of existence/non-existence of a saturation processing. After the saturation flag is set, the saturation flag is reset by only execution of a data transfer instruction by the arithmetic operation unit.
申请公布号 US5684728(A) 申请公布日期 1997.11.04
申请号 US19950489622 申请日期 1995.06.12
申请人 NEC CORPORATION 发明人 OKAYAMA, SACHIKO;KATSUTA, HIROSHI
分类号 G06F7/38;G06F7/00;G06F7/57;G06F7/76;G06F9/305;G06F9/32;(IPC1-7):G06F7/38 主分类号 G06F7/38
代理机构 代理人
主权项
地址