Structure Alignment Violation Wanted...
root at MCIRPS2.MED.NYU.EDU
root at MCIRPS2.MED.NYU.EDU
Sun Aug 5 19:35:44 AEST 1990
I am reading binary data from a DEC machine, and I want to
interpert floats (=dec reals) and ints after I swab bytes.
The dec machine does not align ints and floats on mips word boundries.
I am finding that the structure I template has unwanted holes and
wrong offsets. Is there an 'Unaligned' int and float available ?
Also, what is the bit pattern for mips float ?
I assume that float are NOT promoted to doubles in 3.3(Right ?)
dan.
+-----------------------------------------------------------------------------+
| karron at nyu.edu Dan Karron |
| . . . . . . . . . . . . . . New York University Medical Center |
| 560 First Avenue \ \ Pager <1> (212) 397 9330 |
| New York, New York 10016 \**\ <2> 10896 <3> <your-number-here> |
| (212) 340 5210 \**\__________________________________________ |
+-----------------------------------------------------------------------------+
More information about the Comp.sys.sgi
mailing list