---------------------<snip>------------------------
The (in)famous CLC 0(R9,R8),FILTER 'filter('found?
was actually based on one of the IRREVX01 samples included in
SYS1.SAMPLIB(RACEXITS):
LA R7,L'USERKEY
CLC 0(R7,R5),USERKEY
with USERKEY defined as:
USERKEY DC C'USER(' a PASSWORD keyword
Fascinating. I didn't know CLC was (also) an RX instruction.
I wonder how often the above code excerpt actually finds 'USER('? :-)
-jc-
That dog don't hunt! And the example is in IBM code just that way. As if
the CLC used the value in the register as the length. Of course, since
R7 is a self-defining term, the code assembles just fine. But it won't
work as intended!
-------------------<unsnip>-----------------
Maybe it was written by a student in a Assembler class? :-)
----------------------------------------------------------------------
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