On Mon, 29 Apr 2013 03:58:41 -0500, Ron Thomas wrote:

>Ok. in that case what does this statement does?
>
>OC    INSTR1+1(1),0(R5)
>
>I believe this will have the function either CLI,NI,TM,OI,XI.  so why this  
>"OR" aganist XL8'8040201008040201'.  So how is the result going to be ?
>

The OC is part of a loop that is building the bits of a mask byte from an 
8-character string. Each charcter '1' in the string will result in a 
corresponding bit being turned on in the mask byte. The first time through the 
loop, R5 points to the first byte of  XL8'8040201008040201', so the mask byte 
will be or'd with hex 80. The second time, R5 will point to the hex 40, and so 
on.

Bill

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to