Page 159 has the coupon counting routine for bonds, and pages 165-169 discuss the valuation of securities between coupon dates.
159 165 166 167 168 169