mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-23 11:31:41 +00:00
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:
parent
71f71af834
commit
320819c829
@ -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_ */
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user