Mungovan,
For the < 10 I always check z and c flags after a cjne instruction. For the <= stuff, is that a pascal format for A = C, or the 'C' format for "A = A shifted C times"? If the real question is the < 10, let me know, I have many macros made for ==, <=, <, >, >=, ect...