These days, LHI serves the purpose much more easily.
Bob
Bill Fairchild wrote:
In a message dated 7/17/2005 9:25:01 A.M. Central Daylight Time,
[EMAIL PROTECTED] writes:
Your comments about "LH r,=H'5'" being an atrocity is certainly on
the mark.
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.
<snip>
Bill Fairchild
----------------------------------------------------------------------
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