Re: Negative displacements in 64-bit mode

2010-09-15 Thread John R. Ehrman (408-463-3543 T/543-)
Think of it this way: the USING specifies Max-16 and the implied address specifies -(Max-16) so the difference between the two that's needed for the displacement is the implied address minus the USING value, or (-(Max-16)-(Max-16))=(-2*Max)+16+16=32, which to 31 bits is 32=X'020'. John Ehrman

Re: Negative displacements in 64-bit mode

2010-09-15 Thread Paul Gilmartin
On Sep 14, 2010, at 18:27, John R. Ehrman (408-463-3543 T/543-) wrote: Think of it this way: the USING specifies Max-16 and the implied address specifies -(Max-16) so the difference between the two that's needed for the displacement is the implied address minus the USING value, or