wraps function call in assembly that saves and loads dispatch's sp and bp