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. 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 whereas patching the LA instruction itself would not work. Admittedly this is not very likely, but it is possible. And I don't advocate that we should all start coding LH Rx,=H instructions when a LA would work just for this one pathological case. 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

