prints sp and bp inside dummy_yield_func