Make sp, ip registers more general; add vp register instead of vars.