In <[EMAIL PROTECTED]>, on 07/17/2005
   at 10:40 AM, Bill Fairchild <[EMAIL PROTECTED]> said:

>There is at least one case where LH  Rx,=H'5' is preferable to  LA 
>Rx,5.   The LA instruction can load a maximum value of 4095 into  the
>register, but a  half word could load a much larger number into the 
>register.

5 is always less than 4095.

Note for new code loading large values: LHI is available on any
zSeries processor.

>If you found it necessary to fix a problem by increasing the  value 
>being loaded into the  register to a number larger than 4095 but 
>could not easily change the source code  and reassemble, you could 
>possibly patch the half word in the literal pool 

That's high risk behavior.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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