on second thought, .balign 16 always

* if someone still has an olde i[345]86 machine that b0rks... fix it then! =P
This commit is contained in:
Aaron Culliney 2014-06-07 16:01:36 -07:00
parent 71f71af834
commit 320819c829
2 changed files with 2 additions and 10 deletions

View File

@ -27,10 +27,10 @@
/* Symbol naming issues */ /* Symbol naming issues */
#ifdef NO_UNDERSCORES #ifdef NO_UNDERSCORES
#define SN(foo) foo #define SN(foo) foo
#define E(foo) .globl foo; ALIGN; foo##: #define E(foo) .globl foo; .balign 16; foo##:
#else /* !NO_UNDERSCORES */ #else /* !NO_UNDERSCORES */
#define SN(foo) _##foo #define SN(foo) _##foo
#define E(foo) .globl _##foo; ALIGN; _##foo##: #define E(foo) .globl _##foo; .balign 16; _##foo##:
#endif /* !NO_UNDERSCORES */ #endif /* !NO_UNDERSCORES */
#endif /* _A2_H_ */ #endif /* _A2_H_ */

View File

@ -11,14 +11,6 @@
#include "cpu.h" #include "cpu.h"
#if defined(__LP64__)
# error TBD
#elif defined(__i486__) || defined(__i586__) || defined(__i686__)
# define ALIGN .balign 16
#else
# define ALIGN .balign 4
#endif
#define X_Reg %bl /* 6502 X register in %bl */ #define X_Reg %bl /* 6502 X register in %bl */
#define Y_Reg %bh /* 6502 Y register in %bh */ #define Y_Reg %bh /* 6502 Y register in %bh */
#define A_Reg %cl /* 6502 A register in %cl */ #define A_Reg %cl /* 6502 A register in %cl */