On 20 September 2010 11:04, Thomas David Rivers <[email protected]> wrote:
> Just f.y.i...
>
> Here's the latest output from the Dignus
> assembler regarding the negative displacement
> questions:
>
> 00000000                00000000 0000000C      1 NEGDISP  CSECT
>                        FFFFF000               2          USING -4096,1
> 00000000 4132 1FFC               FFFFFFFC      3          LA    3,-4(2)
> 00000004 4132 0004               00000004      4          LA    3,4(2)
> 00000008 0000 0000               00000000      5          LA    3,-4(,2)
> ** DASM034E Operand is beyond active USING range by -4 bytes
> ** DASM435I Record 5 in negdisp.asm
>                                               6          END
>
> I'm not sure what message would be proper in that last instance,
> but that's what we came up with here...

I think it's confusing to mention USING at all. A USING range is
brought into play only when the assembler resolves an address through
some information that was provided by a USING statement (and it can be
argued that there is an implicit USING for non-relocatable address 0
on register 0).

In this case the base register is specified explicitly, and USING just
doesn't come into it.

Tony H.

Reply via email to