comp.lang.ada
 help / color / mirror / Atom feed
From: robin <robin_v@bigpond.nospam.com>
Subject: Re: S/390 (was Market pressures for more reliable software)
Date: Thu, 28 Jun 2001 11:44:29 GMT
Date: 2001-06-28T11:44:29+00:00	[thread overview]
Message-ID: <xME_6.9627$e5.27883@newsfeeds.bigpond.com> (raw)

Roedy Green <roedy@mindprod.com> writes: > On Thu, 28 Jun 2001 04:01:02 GMT, robin <robin_v@bigpond.nospam.com>
> wrote or quoted :
> 
> >> To load you had to adjust all the
> >> address references to account for where in RAM the program was loaded.
> >
> >No, only those words that had been specified as containing an absolute
> >address.
> 
> you only had a 12 bit displacement, so you needed great many ADCONS
> (address constants),

I'm aware that the displacement is 12 bits, having used the
assembley language for many years.
However, my original post mentioned program-relative addressing
as one of the modes.  With the BALR instruction, one or
more registers can be loaded with the absolute address of the next
instruction.  This register(s) can then be used as the
base register(s).  No address constants needed.

The number of address constants depends on the programmer.
There might be none or very few such constants.  Certainly not enough to
significantly increase program load time.

> to fill your base registers with before you could
> get at anything. On load, all these had to be adjusted to account for
> where the program was actually loaded in RAM.

Several instructions, requiring very little execution time.

> Roedy Green, Canadian Mind Products



             reply	other threads:[~2001-06-28 11:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 11:44 robin [this message]
2001-06-28 13:04 ` S/390 (was Market pressures for more reliable software) Gary Labowitz
2001-06-28 21:49 ` Roedy Green
  -- strict thread matches above, loose matches on Subject: below --
2001-06-28 23:17 robin
2001-06-28 23:46 ` Roedy Green
2001-06-29  0:27   ` John Homes
2001-06-29  6:41     ` Randy Hudson
2001-06-29 19:25     ` hack
2001-06-29  0:52   ` Gary Labowitz
2001-06-29  8:21   ` Clem Clarke
2001-06-29 12:20   ` Shmuel (Seymour J.) Metz
2001-06-29 12:19 ` Shmuel (Seymour J.) Metz
2001-06-30  6:13   ` Randy Hudson
2001-07-02  0:18     ` Shmuel (Seymour J.) Metz
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox