On Thu, 9 Sep 2010 15:53:49 -0400, Thomas David Rivers <[email protected]> wrote:
> I'm trying to determine why this would assemble the > instruction at line #3. > > (We have to make some kind of assumption that > allows the negative absolute value as the first > operand of the USING, which both HLASM and ASM H > appear to do.) > > Then, at line #3, there is no base register specified, so > the USING of R1 comes into play. > > Thus, the offset to place in the instruction is > X'FFFFF000' - 4 which is X'FFFFEFFC'. That seems > to be way outside of the range 0 - 4095, so why > isn't there an error? How about this interpretation? The offset is 4092 from the value in R1, since R1 addresses from -4096 to -1, and -4 - (-4096) is 4092. 4092 = FFC. -- Walt
