taylor1982
Member
Hello everybody,
I have a communication to a Linux-PC via sockets. So I created a quite large UDT with all the content.
Unfortunately we have to swap the low and highbyte. Of course there is the SWPB instruction. But it seems to me that this is not applicable for structures (?)
Can you give me some advices how to solve this?
Thanks a lot!
I have a communication to a Linux-PC via sockets. So I created a quite large UDT with all the content.
Unfortunately we have to swap the low and highbyte. Of course there is the SWPB instruction. But it seems to me that this is not applicable for structures (?)
Can you give me some advices how to solve this?
Thanks a lot!