Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsb!robison From: robison@uiucdcsb.cs.uiuc.edu Newsgroups: comp.arch Subject: Re: An idea I'm kicking around Message-ID: <165100006@uiucdcsb> Date: Sun, 19-Apr-87 19:13:00 EST Article-I.D.: uiucdcsb.165100006 Posted: Sun Apr 19 19:13:00 1987 Date-Received: Tue, 21-Apr-87 01:24:02 EST References: <137@auvax.UUCP> Lines: 20 Nf-ID: #R:auvax.UUCP:137:uiucdcsb:165100006:000:786 Nf-From: uiucdcsb.cs.uiuc.edu!robison Apr 19 18:13:00 1987 In article <12884@watnot.UUCP>, ccplumb@watnot.UUCP writes: > I've been dreaming up A RISCy architecture in my spare time, and [...] > I ran into the problem of handling JSR's. > [ ... ] > What if JSR moved the return address into another register? > -Colin Plumb (watmath!watnot!ccplumb) The PC/RT processor chip stores the return address in a register. This method is quite simple, since upon entry to most subroutines, the processor saves a block of registers on the stack anyway. In the case of a leaf procedure (a procedure with no embedded procedure calls), the processor can avoid the save. Arch D. Robison University of Illinois at Urbana-Champaign CSNET: robison@UIUC.CSNET UUCP: {ihnp4,pur-ee,convex}!uiucdcs!robison ARPA: robison@B.CS.UIUC.EDU (robison@UIUC.ARPA)