User`s guide
Inline Assembly Language and Intrinsics
Intrinsic Functions
150
Targeting MC56F83xx/DSP5685x Controllers
Example
long la = 0x40000000; /* 0.5 */
long lb = 0xE0000000; /* -0.25 */
long result;
result = L_sub(la,lb);
// Expected value of result: 0x60000000 = 0.75
Control
The intrinsic functions of the control group are:
• stop
• wait
• turn_off_conv_rndg
• turn_off_sat
• turn_on_conv_rndg
• turn_on_sat
stop
Generates a STOP instruction which places the processor in the low power STOP
mode.
Prototype
void stop(void)
Usage
stop();