# Copyright (c) 1979 Regents of the University of California
# sccsid[] = "@(#)GOTO.s 1.1 10/29/80";
movl *4(ap),frame #save parameters
moval unwind,PC(fp) #begin unwinding
tstl (fp) #check for exception vector
cmpl ap,__disply+8 #check for past global procedure
moval unwind,PC(fp) #blow away this stack frame
cmpl ap,frame #check for requested frame
bgtru egoto #lost it somewhere
jmp *jmplbl #proceed in this section
pushl -4(fp) #level of this frame
calls $1,*(fp) #call the exception handler
movq -12(fp),*-4(fp) #restore the display
moval unwind,PC(fp) #blow away this stack frame