11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MPY Signed Multiply MPYExplanation <strong>of</strong> Example 1: Prior to execution, the 24-bit X1 register contains the value$800000 (-1.0), the 24-bit Y1 register contains the value $COOOOO, (-0.5), and the 56-bitA accumulator contains the value $00:000000:000000 (0.0). The execution <strong>of</strong> the MPY­X1 ,Y1 ,A instruction multiples the 24-bit signed value in the X1 register by the 24-bitsigned value in the Y1 register, negates the 48-bit product, and stores the result in the56-bit A accumulator (-X1 *Y1 =-0.5=$FF:COOOOO:000000=A).Condition Codes:S -L -E -U -N -Z -V -15 14 13 12 11 10 9 8 7 6 5 4 3 2 0I LF I DM I T I •• I 81 I 80 I 11 I 10 I 8 I LIE I u I N I z v I : I.~ MR •. ~ CCR _.Computed according to the definition in A.5 CONDITION CODE COMPUTATIONSet if limiting occurred during parallel moveSet if the signed integer portion <strong>of</strong> A or B result is in useSet if A or B result is unnormalizedSet if bit 55 <strong>of</strong> A or B result is setSet if A or B result equals zeroSet if overflow has occurred in A or B resultNot~: The definitions <strong>of</strong> the E and U bits vary according to the scaling mode being used.Refer to Section A.5 CONDITION CODE COMPUTATION for complete details.Instruction Format 1:MPY (±)S1,S2,0MPY (±)S2,S1,0Opcode 1:23DATA BUS MOVE FIELDOPTIONAL EFFECTIVE ADDRESS EXTENSION8 7 4 3I 1 Q Q Q I d koo

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

Saved successfully!

Ooh no, something went wrong!