Details on how it has been implemented,but its not working...
1. Judge8- is the linear assembly file.
2. Function prototyping at the begining of the file of a C++-file , where it is called.
Code - as called in C++ file
int Judge8(char idmean, unsigned char *pRGB, unsigned char *imean );
void main()
{
result = Judge8(indexmean, pRGB, imean);
}
linear Assembly- Judge8.sa - code is given as below :
.global _Judge8
_Judge8: .cproc indexmean, pRGB, imean
.reg RGB, mean, result1,unpk1, unpk2, dot1,dot2,result,mask
ZERO dot1
ZERO dot2
------------------
---------------
* On compiling the code it gives a "Undefined symbol for Judge8". Can anybody help if the C++ and linear assembly code have to be linked in any different way on CCS3.3 ??