摘要 |
A data processing apparatus which can carry out an accumulation operation spanning a plurality of packets within the same generation at high speed without increasing hardware cost includes an internal circular path for circulating an extended packet provided with an accumulated value field ACC, an operation unit, an arithmetic circuit, an adder, and a shifter. The operation unit adds an input data and a value of ACC according to an instruction code using the arithmetic circuit, the adder, and the shifter, and updates a data field of an output packet or the ACC field. The contents of the data field and the ACC field can be varied by changing the way of selecting in a selector. A packet without the ACC field is utilized for external input/output, so that the apparatus converts the form of the packet upon input/output. |