Hi xwb,
In and output only in code. In Fortran 90 on a VMS system.
Like:
X and Y as var in code
X = -14
Y = ??
Y will be send to the BE machine
What I've read now it should be for negative numbers the 2th complement + 1 and then a byteswap? Is that correct? If so I'll try that myself.
Hi,
Does anybody now how to convert a negative 2-byte integer on a Little Endian Operating System/CPU to a machine with Big Endian (Motorola)??
Any help would be welcome.
Kind regards,
6HEbo1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.