Does anyone know how to determine whithin a MPASM macro whether a parameter has been specified? For example: eeset MACRO label, addr, default, min, max if (min) retlw min else retlw 0x00 endif blah blah blah In other words, if I invoked the macro as: eeset HITEMP, 01, 0x55,, I could tell within the macro that I had not specified certain parameters and allow the macro to use standard defaults for those parameters. I have tried: if (min) if min if !(min) if !min if !((min)==()) if (min) != () all of these return errors. I also tried: ifdef (min) ifdef min but those always return false whether or not the parameter is present or not. Any ideas? Dwayne Reid Trinity Electronics Systems Ltd Edmonton, Alberta, CANADA (403) 489-3199 voice (403) 487-6397 fax