Re: Is 4 byte -1 invalid code on most/all architectures?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the x86 processor is in 16-bit mode, -1 resolves to:

      pop sp
      js    0x69

If the x86 processor is in 32-bit or 64-bit mode, -1 resolves to:

      pop esp
      js    0x69

I'm a student around here, but I think the way you're doing this is daft. Do it properly.

Richard






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux