11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

S1 SO Scaling Mode Signed Integer Portion0 0 No Scaling Bits 55, 54, .... 48,470 1 Scale Down Bits 55, 54, .... 49, 481 0 Scale Up Bits 55, 54, .... 47,46Note that the signed Integer portion <strong>of</strong> an accumulator IS NOT necessarily the same asthe extension register portion <strong>of</strong> that accumulator. The signed integer portion <strong>of</strong> an accumulatorconsists <strong>of</strong> the MS 8, 9, or 10 bits <strong>of</strong> that accumulator, depending on the scalingmode being used. The extension register portion <strong>of</strong> an accumulator (A2 or B2) is always theMS 8 bits <strong>of</strong> that accumulator. The E bit refers to the signed integer portion <strong>of</strong> an accumulatorand NOT the extension register portion <strong>of</strong> that accumulator. For example, ifthe current scaling mode is set for no scaling (Le., 81 =SO=O), the signed integer portion <strong>of</strong>the A or B accumulator consists <strong>of</strong> bits 47 through 55. If the A accumulator contained thesigned 56-bit value $00:800000:000000 as a result <strong>of</strong> a data ALU operation, the E bitwould be set (E=1) since the 9 MS bits <strong>of</strong> that accumulator were not all the same (Le., neither00 .. 00 nor 11 .. 11). This means that data limiting will occur if that 56-bit value isspecified as a source operand in a move-type operation. This limiting operation will result ineither a positive or negative, 24-bit or 48-bit saturation constant being stored in the specifieddestination. The only situation in which the signed integer portion <strong>of</strong> an accumulator and theextension register portion <strong>of</strong> an accumulator are the same is in the "Scale Down" scalingmode (i.e., S1 =0 and SO=1).U (Un normalized Bit)N (Negative Bit)Z (Zero Bit)v (Overflow Bit)Set if the two MS bits <strong>of</strong> the MSP portion <strong>of</strong> the A or B result are thesame. Cleared otherwise. The MSP portion is defined by the scalingmode. The U bit is computed as follows:S1o1SOo1oScaling ModeNo ScalingScale DownScale UpU Bit ComputationU=(Bit 47 ffi Bit 46)U=(Bit 48 ffi Bit 47)U=(Bit 46 ffi Bit 45)Set if the MS bit 55 <strong>of</strong> the A or B result is set. Cleared otherwise.Set if the A or B result equals zero. Cleared otherwise.-Set if an arithmetic overflow occurs in the 56-bit A or B result. Thisindicates that the result cannot be represented in the 56-bit accumulator;thus, the accumulator has overflowed. Cleared otherwise.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!