Gee, in my impression, and in my expectations, a USING range check is just
that: a check to make sure that the displacement in within the limits
specified.

I would not expect it to have any effect on relative jumps.

Yes, local-scope labels would be a wonderful thing, but that's a *big*
enhancement, and in any event, not what the displacement range check does
(although it could be used in limited circumstances to provide a limited
amount of locality checking).

I use the range check for an "uh-oh, you're in danger of running out of your
4096 bytes of addressability" check. Does anyone know of another "intended"
use?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Gilmartin
Sent: Sunday, November 19, 2006 12:52 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: assembler question (strong typing)

On Sun, 19 Nov 2006 09:02:47 -0700, Jeffrey D. Smith
<[EMAIL PROTECTED]> wrote:
> 
> I had a subroutine with ranged USING to prevent based references
> beyond the bounds of the subroutine.
> 
By experiment a while back, a ranged using properly prohibited references
above the top of the range, but allowed references below the bottom of
the range.  Is this still true, or has it been fixed?

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to