The 2003 International Residential Code covers this:
Not exceeding 8 feet (2438 mm).
R502.8Drilling and notching. Structural floor members shall
Not be cut, bored or notched in excess of the...