[Qemu-devel] Re: Qemu crashes on AAM 0

2007-04-30 Thread Joris van Rantwijk
l == 0) { +gen_exception(s, EXCP00_DIVZ, pc_start - s->cs_base); +} else { +gen_op_aam(val); +s->cc_op = CC_OP_LOGICB; +} break; case 0xd5: /* aad */ if (CODE64(s)) -- Joris. On Sat, Apr 28, 2007 at 07:52:57PM +0200, Joris van Ra

[Qemu-devel] Qemu crashes on AAM 0

2007-04-29 Thread Joris van Rantwijk
Qemu crashes with a floating point exception when emulating the "AAM 0" instruction. By "crash", I mean that the whole qemu process actually blows up (not just the program running inside Qemu). A real i386 machine would trigger a divide exception on AAM 0. This instruction form is undocumented of