beautypg.com

Motorola ColdFire MCF5281 User Manual

Page 97

background image

Enhanced Multiply-Accumulate Unit (EMAC)

Freescale Semiconductor

3-19

result[47:0] = 0xffff_ffff_ffff

}

/* transfer the result to the accumulator */

ACCx[47:0] = result[47:0]

}

MACSR.V = MACSR.PAVn

MACSR.N = ACCx[47]

if (ACCx[47:0] == 0x0000_0000_0000)

then MACSR.Z = 1

else MACSR.Z = 0

if (ACCx[47:32] == 0x0000)

then MACSR.EV = 0

else MACSR.EV = 1

break;

}

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

This manual is related to the following products: