Laurent Vivier wrote: >> Why dst.val is not 0x53e10 ? >> > > I can answer myself to this one: > > emulate_2op_SrcB("sal", c->src, c->dst, ctxt->eflags); > > does nothing if dst.byte == 0 > > So next question is the good question... > > >> Why dst.byte is 0 ? >> >>
Because dst.bytes is only set if dst.type == OP_MEM, or ad hoc in the instruction itself. Better to set it unconditionally (and adjust in the instruction if necessary). -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel