Minor tweak to the function start detection.  Also added another helper to asm.inc.