Programming using IAS instruction set
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Programming using IAS instruction set

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
Computer Architecture Stu
Guest





Posted: Sat Oct 22, 2005 4:15 pm    Post subject: Programming using IAS instruction set Reply with quote

Hi guys!
IAS instructions DON'T include any indirect addressing mode like LOAD
M(M(X)). As most of you already know that in order to come up with a
counter controlled loop, we really need indirect addressing mode. If
the only addressing mode in IAS is direct mode, then how can we come up
with a controlled loop?
Thank you inadvance.
Back to top
Joe Seigh
Guest





Posted: Sat Oct 22, 2005 4:15 pm    Post subject: Re: Programming using IAS instruction set Reply with quote

Computer Architecture Student wrote:
Quote:
Hi guys!
IAS instructions DON'T include any indirect addressing mode like LOAD
M(M(X)). As most of you already know that in order to come up with a
counter controlled loop, we really need indirect addressing mode. If
the only addressing mode in IAS is direct mode, then how can we come up
with a controlled loop?
Thank you inadvance.

You can always add the base and index register together in a third

register and use that to address your data. Right?

--
Joe Seigh

When you get lemons, you make lemonade.
When you get hardware, you make software.
Back to top
John Mashey
Guest





Posted: Sun Oct 23, 2005 12:15 am    Post subject: Re: Programming using IAS instruction set Reply with quote

Joe Seigh wrote:
Quote:
Computer Architecture Student wrote:
Hi guys!
IAS instructions DON'T include any indirect addressing mode like LOAD
M(M(X)). As most of you already know that in order to come up with a
counter controlled loop, we really need indirect addressing mode. If
the only addressing mode in IAS is direct mode, then how can we come up
with a controlled loop?
Thank you inadvance.

You can always add the base and index register together in a third
register and use that to address your data. Right?

Wrong.
IAS machines, like others of that era, didn't have base or index
registers, jsut a couple accumulators that did not participate in
address formation. The only addressing was an n-bit memory address
contained in an instruction.

People did array programming by modifying the instructions. In some
cases, there were special instructions that stored the low-order n-bits
of an accumulator into the address bits of an instruction.

The Manchester Mark I is usually credited as the first to have index
registers; see http://en.wikipedia.org/wiki/Index_register.

Note: ofthe IAS-derived machines, I think the only one left is RAND's
Johnniac, happily preserved from the dumpster (but only by the greatest
of luck) at the Computer History Museum, wwew.computerhistory.org
Back to top
Rob Warnock
Guest





Posted: Mon Oct 24, 2005 2:36 pm    Post subject: Re: Programming using IAS instruction set Reply with quote

John Mashey <old_systems_guy@yahoo.com> wrote:
+---------------
| People did array programming by modifying the instructions. In some
| cases, there were special instructions that stored the low-order n-bits
| of an accumulator into the address bits of an instruction.
+---------------

Like the "R" & "Y" instructions of an LGP-30, to cite another case
of a machine with no base or index registers. "R" was specialized
for storing subroutine return addresses into the return jumps, and
"Y" [store AC<addr_field> ==> mem<addr_field>] was used for general
computed addresses, such as array addressing.


-Rob

-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607
Back to top
John Savard
Guest





Posted: Mon Oct 31, 2005 1:15 am    Post subject: Re: Programming using IAS instruction set Reply with quote

On 22 Oct 2005 06:00:38 -0700, "Computer Architecture Student"
<nivine.dalleh@gmail.com> wrote, in part:

Quote:
IAS instructions DON'T include any indirect addressing mode like LOAD
M(M(X)). As most of you already know that in order to come up with a
counter controlled loop, we really need indirect addressing mode. If
the only addressing mode in IAS is direct mode, then how can we come up
with a controlled loop?

You use self-modifying code, if you don't have index registers.

Don't these youngsters nowadays know _anything_?

John Savard
http://home.ecn.ab.ca/~jsavard/index.html
http://www.quadibloc.com/index.html
_________________________________________
Usenet Zone Free Binaries Usenet Server
More than 140,000 groups
Unlimited download
http://www.usenetzone.com to open account
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB