89s52 function introduction and application