Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!boring!jack From: jack@boring.UUCP Newsgroups: net.arch Subject: Re: Addressing modes Message-ID: <6797@boring.UUCP> Date: Tue, 25-Feb-86 19:53:07 EST Article-I.D.: boring.6797 Posted: Tue Feb 25 19:53:07 1986 Date-Received: Fri, 28-Feb-86 08:42:37 EST References: <137@hhb.UUCP> <736@ism780c.UUCP> Reply-To: jack@mcvax.UUCP (Jack Jansen) Organization: AMOEBA project, CWI, Amsterdam Lines: 17 Apparently-To: rnews@mcvax In article <736@ism780c.UUCP> tim@ism780c.UUCP (Tim Smith) writes: >In article <137@hhb.UUCP> mlopes@hhb.UUCP (Marco Lopes) writes: >> >> Functionally, there is no problem with register direct and >> register indirect as the only addressing modes. Any other modes >> can be simulated with them. Immediate addressing would be >> simulated by allocating a memory location for the immediate >> value, and loading its address into a register. Now you you can > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> use register indirect to load the value into another register. > >But how do you load THAT register? Ahh, that's simple. You just use the trick Marco Lopes described above...... -- Jack Jansen, jack@mcvax.UUCP The shell is my oyster.