On Sunday 15 April 2007 13:08, Nigel Horne wrote:
> Stuart Brady wrote:
> > On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
> >> Can qemu emulate 16-bit machines (286?)?
> >
> > None that I'm aware of.  Is there any particular need for 286 emulation?
>
> To test my code on machines where sizeof(int) == sizeof(short), and
> sizeof(int) != sizeof(long).

Modern x86 are backwards compatible[*], so you should be able to do that 
anyway.

Paul

[*] There are a few corner cases, but these are only likely to effect 
hand-written asm doing evil things. There's probably more difference between 
qemu and real hardware than 286 and i386 real mode.


Reply via email to