================================================
-----Original Message-----
From: "(IBM Mainframe Discussion List)" <[EMAIL PROTECTED]>
Sent: 6/29/2006 12:37 PM
To: "[email protected]" <[email protected]>
Subject: Re: Using different storage key's
 
In a message dated 6/29/2006 1:27:14 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

>It would have to be done (as in the old days, if one didn't cheat  and use
>key0) by going to keyA, fetch load data into a register, go to  keyB, store
>data, repeat until done.
How about a faster version using a temporary cheat?  Check first and  last 
byte of first argument for key A, fail if not true; check first argument  for 
crossing 2K boundary, fail if true; check first and last byte of second  
argument for key B, fail if not true; check second argument for crossing 2K  
boundary, fail if true; save current key, go to key 0, move the bytes, go back  
to 
original key; end.

Bill  Fairchild
================================================
Unless you're running disabled and as a single unit
of operation, it won't be bulletproof.


Jeffrey D. Smith
Farsight Systems Corporation
24 BURLINGTON DR
LONGMONT, CO 80501
303-774-9381 direct
303-709-8153 cell
303-484-6170 fax

----------------------------------------------------------------------
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