Newsgroups: comp.arch Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: What's Worked in Computer Science Message-ID: Date: Wed, 9 Dec 2015 21:35:47 GMT References: <70fe5832-2917-4c4b-a90e-29430dae1365@googlegroups.com> <90b4cdf8-ceb1-46ed-bbc2-02d01b9b17bc@googlegroups.com> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Lines: 18 X-Received-Bytes: 1630 X-Received-Body-CRC: 2100931429 Xref: csiph.com comp.arch:31692 In article , Quadibloc wrote: >Well, you need some way to save all the registers without disturbing any of >them first. You can still have to save them one at a time. Lots of computers >did that without the interrupt automatically doing the saving, and without a >save multiple instruction either. What you _did_ need, though, was at least... > >either the interrupt automatically saved at least one of the base registers for >you, > >or you had a form of memory-reference instruction that had a full-length >absolute address. Or none of the above. You can have a zero register and then use small offsets from it to save a register or two, and then from there, you can then do everything else. Or, you can have 1 register that you simply know where it points and use small offsets from it to save a register or two... Or have a fixed register, or you can have low memory addressing instructions, or you can have..