Hallo,

hat man große Datenmengen kann man das auch in Assembler abbilden

void CCpconS7::PcShort2SpsInt(short *pVal)
{
__asm
{
mov ebx,pVal
mov ax,[ebx]
xchg al,ah
ror al,8
mov [ebx],ax
}
}

void CCpconS7::SpsInt2PcShort(short *pVal)
{
__asm
{
mov ebx,pVal
mov ax,[ebx]
xchg al,ah
ror ah,8
mov [ebx],ax
}
}
Grüße K aus B