Export MAX_ALIGNMENT.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5330 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-12-27 22:36:28 +00:00
parent d0555c400e
commit 7d187fe92c
2 changed files with 15 additions and 3 deletions

View File

@@ -43,6 +43,19 @@
/*****************************************************************************/
/* Data */
/*****************************************************************************/
/* Maximum possible alignment. Beware: To increase the possible alignment it
* is not enough to bump this value. Check the code inside.
*/
#define MAX_ALIGNMENT 0x10000UL
/*****************************************************************************/
/* Code */
/*****************************************************************************/
@@ -55,7 +68,7 @@ unsigned long LeastCommonMultiple (unsigned long Left, unsigned long Right);
*/
unsigned long AlignAddr (unsigned long Addr, unsigned long Alignment);
/* Align an address to the given alignment */
/* Align an address to the given alignment */
unsigned long AlignCount (unsigned long Addr, unsigned long Alignment);
/* Calculate how many bytes must be inserted to align Addr to Alignment */