| |||||
Technical Support Support Resources
Product Information | C166: ERROR 167 (DECLARATION/ACTIVATION ERROR) FOR _MMOV_Information in this article applies to:
SYMPTOMSI have written the following code to call the intrinsic _mmov_ function in order to use the ST10 MAC unit:
#include "reg262.h"
#include <st10mac.h>
void GetRasters(unsigned int near *pfont, unsigned int near *pCharcell, unsigned int Height)
{
_mmov_((void near *)pCharcell,(void near *) pfont, Height);
}
I get the following error: *** ERROR 167 .\STD.C: intrinsic '_mmov_': declaration/activation error CAUSEThere are a couple of restrictions on the mmov instruction:
RESOLUTIONHere are the two ways the _mmov_ function may be called:
#include <reg167.h>
#include <st10mac.h>
void main(void)
{
unsigned int *s, *p;
_mmov_(s, p, 2);
while(1);
}
void GetRasters(unsigned int near *pfont, unsigned int near *pCharcell, unsigned int Height) {
_mmov_((void near *)pCharcell,(void near *) pfont, 10);
}
MORE INFORMATIONLast Reviewed: Tuesday, January 31, 2006 | ||||
| |||||