My old rule-of-thumb was 10 bytes of code per source line.
That was incredibly rough, but seemed to be within an order of
magnitude. You really will have to try it out with a particular
compiler, on a particular target, with a particular set of
switch settings, to get an accurate value.
-Tucker Taft [log in to unmask]