home *** CD-ROM | disk | FTP | other *** search
- Path: munnari.OZ.AU!metro!metro!news
- From: accolyte@wr.com.au (Accolyte)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ds.l
- Date: 8 Feb 1996 05:08:55 GMT
- Organization: Information Services, The University of Sydney, NSW, Australia
- Distribution: inet
- Message-ID: <391.6612T966T1819@wr.com.au>
- References: <497.6609T1129T586@mbox3.swipnet.se> <4faqf4$39b@oreig.uji.es>
- NNTP-Posting-Host: dialup21.wr.com.au
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- >> When using FileInfoBlock it must be long word aligned.
- >> Q: In asm you have 'ds.l'. Is there any equal in C?
- >
- > IMHO dynamic memory is longword aligned.
-
- I think it's aligned to 8 bytes isn't it?
-
- > For static memory, reserve bytesneeded+3 bytes, get a pointer to the
- > reserved position and AND it with 0xfffffffc
-
- Or alternatively, the start of any segment is aligned (to 8 bytes?)
-
-
-