| delorie.com/archives/browse.cgi | search |
| Date: | Fri, 29 Sep 95 21:18 MDT |
| From: | mat AT ardi DOT com (Mat Hostetter) |
| To: | digisoft AT eis DOT net DOT au |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | Re: Actual sizes of structs under djgpp? |
| References: | <199509300212 DOT MAA03817 AT tinny DOT eis DOT net DOT au> |
>>>>> "Paul" == Paul <digisoft AT eis DOT net DOT au> writes:
Paul> It's much the same as on the 68000. The 80x86 chips work
Paul> better with the proper alignment of data structures. Longs
Paul> align on 4 byte boundaries, chars align on byte boundaries.
Paul> I think short's align on 2 byte boundaries, but I havn't had
Paul> occasion to check this in a long while.
Actually, the 680x0 series only want longs to be aligned modulo 2 bytes.
-Mat
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |