From: Charles C. <cc...@cr...> - 2007-10-29 18:39:47
|
On Mon, 29 Oct 2007 07:15:54 -0700 "anonymous coward" <nas...@us...> wrote: > > + mov eax,[byte rsp+0xFF] > > + mov eax,[byte rsp-0xFF] > > Since the displacement byte is sign-extended > these two should at least warn (if not fail). As indeed they do: test.asm:35: warning: signed byte value exceeds bounds test.asm:36: warning: signed byte value exceeds bounds -- Chuck |