This will usually vary by machine and model as far as M-codes, etc. and installed options.
What make and model lathe do you have?
Does it have cylindrical and polar interpolation options installed?
Do you want to use the side of the end mill (Z-axis tool) or the end of the mill (X-axis tool)?