2016-10-21 09:30 AM
Hi, have a really strange problem if I use
#define fred 0 and then LD A,#fred, A = 6 (Wrong)If I use #define fred 00 and then LD A,#fred, A = 0 (Right)If I use #define fred $0 and then LD A,#fred, A = 0 (Right)If I move the the #define fred 0 to different area of code it also works okI see there is a max of 4096 #define statements that can be used but I am nowhere near that.Any thoughtsRegards, Brian