As Far As I Know, there are no built-ins for 32 bit math in CCS. Look at MATH.C in the examples for some inline assembly routines which work as long as you are in bank 0 or 1 RAM. Lucky me, I am debugging 32 bit and 48 bit math for the general case (variables in Bank 2 and 3 also). Does Hi-Tech support 32 bit int as a built in type ?!! ------------ Barry King, KA1NLH Engineering Manager NRG Systems "Measuring the Wind's Energy" Hinesburg, Vermont, USA barry@nrgsystems.com "The witty saying has been deleted due to limited EPROM space"