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 23:17:43 GMT
Date: 2001-06-28T23:17:43+00:00	[thread overview]
Message-ID: <rWO_6.10272$e5.30402@newsfeeds.bigpond.com> (raw)

Roedy Green <roedy@mindprod.com> writes: > On Thu, 28 Jun 2001 11:44:29 GMT, robin <robin_v@bigpond.nospam.com>
> wrote or quoted :
> 
> >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 BALR was S/360's rather odd subroutine jump instruction.
> 
> BALR 14,15 would put the return address in reg 14 and jump to the
> subroutine addressed by reg 15.

But when the second address is zero, it does not branch, and
the address of the next instruction is placed in the nominated
register.  (e.g., BALR 3,0)

This value (contents) is then used as the base for addressing purposes.

> Roedy Green, Canadian Mind Products
> Custom computer programming since 1963. Ready to take on new work.




             reply	other threads:[~2001-06-28 23:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 23:17 robin [this message]
2001-06-28 23:46 ` S/390 (was Market pressures for more reliable software) 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
  -- strict thread matches above, loose matches on Subject: below --
2001-06-28 11:44 robin
2001-06-28 13:04 ` Gary Labowitz
2001-06-28 21:49 ` Roedy Green
replies disabled

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