To make things more readable, then I would recommend using LOCTR.

Define one location counter for the code, and another one for the data
areas

a   csect
static  loctr  ,       You will need to set up addressability to this area
code  loctr
.
.
.
                clc      chk_string,0(r6)
static      loctr   ,
chk_string     dc    x'58f0 0014 58ff'
code      loctr  ,
.
.
.
*    or for an execute
                EX     R15,Execute_target
static      loctr
Execute_target    clc   operand1(0),operand2
code      loctr

One big advantage of this technique is that the USING environment for the
target is the same as the EXecute instruction.

Hope that this helps

John

Reply via email to