> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jack Kelly
> Sent: Friday, December 28, 2007 10:10 AM
> To: [email protected]
> Subject: Re: Shifting nibbles to the end of a register
> 
> 
> Seems like you're trying to move a byte to the high order. Instead of 
> shifting why not just ICM? 
> 
> Jack Kelly

The problem with ICM is that it doesn't clear the rest of the register
bytes to x'00'. However, on the newer processors, there is the "Load
Logical Character" instructions which load a byte into bit positions
56-63 of the register and clears the rest of the register, 0-55 or
32-55, with x'00's depending on whether the "Grande" form is used or
not. Manys the times that I've done an SLR followed by an ICM with a
mask of B'0001'.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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