[comp.sys.sgi] Structure Alignment Violation Wanted...

root@MCIRPS2.MED.NYU.EDU (08/05/90)

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@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               \**\__________________________________________ |
+-----------------------------------------------------------------------------+