How to fixed this warning message

dear all:
i have written a S/W rensder use ARM inline assembly, the code fragment like bellow:

int *adrDst;
int Color[4];

adrDst = context->colordata

__asm
{
SSAT adrDst[0], #16, Color[0];
SSAT adrDst[1], #16, Color[1];
SSAT adrDst[2], #16, Color[2];
SSAT adrDst[3], #16, Color[3];
}

after compiled , the warning message appear, but i don’t know why

line xxxx: Warning: #1381-D: Type of result oprand is narrower than actual result
SSAT adrDst[0], #16, Color[0];
^
line xxxx: Warning: #1381-D: Type of result oprand is narrower than actual result
SSAT adrDst[1], #16, Color[1];
^
line xxxx: Warning: #1381-D: Type of result oprand is narrower than actual result
SSAT adrDst[2], #16, Color[2];
^
line xxxx: Warning: #1381-D: Type of result oprand is narrower than actual result
SSAT adrDst[3], #16, Color[3];
^

does anyone know that?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.