Where did you learn about the LHI instruction. I that a Load Halfword
immediate? I looked at the hlasm books and they deal mostly with macros.
I also looked at principle of operations manuals, but seem to have all
the old assembler instructions and not any new ones.

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Alan Altmark
Sent: Friday, August 01, 2008 9:15 AM
To: [email protected]
Subject: Re: Missing the "nonames" option on SFS commands

On Friday, 08/01/2008 at 09:44 EDT, Kris Buelens
<[EMAIL PROTECTED]> 
wrote:
>   REGEQU
>   USING *,R15
>   L     R15,=A(32)
>   BR    R14

Just to help folks advance their assembler programming, this program
would 
these days consist of
    REGEQU
    LHI  R15,32
    BR   R14

In S/390 architecture, Load Halfword Immediate sign-extends the 16-bit 
second operand to 32 bits.  Note also the lack of the USING.

I know it's off-topic, but it IS Friday!  :-)

Alan Altmark
z/VM Development
IBM Endicott
==========================
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity
to which they are addressed. If you have received this email in error please 
notify the system manager. This message
contains confidential information and is intended only for the individual 
named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please notify the 
sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your system. 
If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this
information is strictly prohibited.

Reply via email to