1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-06 15:28:59 +00:00
xa65/xa/tests/ppdefines/test6b.a65
2012-08-17 18:08:00 +02:00

21 lines
384 B
Plaintext

// 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)