On 2015-05-18, at 08:30, glen herrmannsfeldt wrote:
> 
> Someone from Tachyonsoft has told me the answer, though I am still
> not sure that I understand it.  It goes like:
> 
> XXX     START 1000
>        USING XXX,0
> 
> In the usual case, the displacement is computed by subtracting
> the desired offset from the offset in the base register, 1000
> in this case. But it seems that the assembler instead subtracts
> zero.
>  
This feels like the behavior I mentioned earlier in this thread:
It seems that when R0 is mentioned in USING, it it taken to mean
the beginning of the CSECT, ignoring the offset mentioned in the
USING statement.

Is it acceptable to accommodate this by inserting

         DS    1000C

???

A warning ought to be issued at the point of the USING; this
behavior is unexpected.

> I haven't yet tried:
> 
>        USING XXX,0,1
> 
> to see if it subtracts 4096, and generates displacements
> from register 1.
>  
That would be an interesting experiment.

-- gil

Reply via email to