I believe the CLC would be CLC 2(9,R7) although in actual code it would
probably be executed with Rn containing R8 - 1.

On 2024-06-05 11:02 a.m., Seymour J Metz wrote:
EXTERNAL EMAIL ALERT This email originated from outside of DataKinetics. Do not 
click links or open any attachments unless you both recognize the sender, and 
know the content is safe.

What's wrong with

CHKOPTS1 LA    R7,TABLE1+2             ADDRESS OF FIRST ELEMENT
          LA    R9,TABLE1+2             ADDRESS OF BEGINNING OF TABLE
          AH    R9,TABLE1               CALC ADDR OF END OF TABLE

LOOP1   LH    R8,0(R7)                 entry length for BXLE
          CLC   0(9,R7),=C'FFFFFFFFF'
          JE    FOUND                   ENTRY FOUND = RC=0
          BXLE  R7,R8,LOOP1             LOOPING UNTIL OPT FOUND

Specifying the length field on your USING?

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר


Gary Weinhold
Senior Application Architect
DATAKINETICS | Data Performance & Optimization
Phone:+1.613.523.5500 x216
Email: [email protected]
Visit us online at www.DKL.com
E-mail Notification: The information contained in this email and any 
attachments is confidential and may be subject to copyright or other 
intellectual property protection. If you are not the intended recipient, you 
are not authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from your 
mail system.

Reply via email to