>Where do you actually see the results. >The function does not seem to return any values. Shouldn't the last line >read something like END FN=result? I don't know much assembly, but I don't >see anywhere in this function where the result is returned. Am I just >missing it? You could try looking in register d0----Toolbox fns often return a result there. Use the register command: result=REGISTER(D0) HTH. ____________ wave (Toronto, Canada)