prints ct's bp/sp before and after f()