1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-14 06:28:59 +00:00
xa65/xa/tests/ppdefines/test6b.a65

21 lines
384 B
Plaintext
Raw Normal View History

// testing some more complicated defines
// this is the minimum I found to trigger the hang symptom
#define max3420e_enable() nop
#define wrac(reg) \
max3420e_enable() :\
lda #(reg)
// just the definition of this macro hangs the xa indefinitely...
#define CLRBIT(reg, val) \
wrac(reg)
// *=$c000
// CLRBIT(1,2)