Your description is clear as mud. I presume the table is defined like this -
TABLE DC F'X1,Y1'
TABEND DC F'X3,Y3'
NUMTAB EQU (*-TABLE)/8
This definition will work for either example loop. The NUMTAB symbol calculates the number of entries in the table.
Most beginners are more comfortable with something like this -
LOOP1 C 1,4(,3)
More advanced programmers tend to prefer something like this -
LOOP2 C 1,4(,3)
In both loops, register 1 is set to the test condition, Another way to code the test would be -
LOOP L 1,4(,3)