How did the successor to the 6502, the 65816 handle this? At least in the Apple IIgs, high level languages like C and Pascal were very common. Did it just take the performance penalty of function calls like the 6502 did, or did it have better methods?