Author: aandrejevic Date: Sun Sep 29 23:45:06 2013 New Revision: 60462
URL: http://svn.reactos.org/svn/reactos?rev=60462&view=rev Log: [SOFT386] Fetching the immediate operand once is sufficient.
Modified: branches/ntvdm/lib/soft386/opgroups.c
Modified: branches/ntvdm/lib/soft386/opgroups.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opgroups.c?rev... ============================================================================== --- branches/ntvdm/lib/soft386/opgroups.c [iso-8859-1] (original) +++ branches/ntvdm/lib/soft386/opgroups.c [iso-8859-1] Sun Sep 29 23:45:06 2013 @@ -464,13 +464,6 @@ USHORT Immediate = (USHORT)((SHORT)ImmByte); // Sign extend USHORT Value, Dummy;
- /* Fetch the immediate operand */ - if (!Soft386FetchWord(State, &Immediate)) - { - /* Exception occurred */ - return FALSE; - } - /* Read the operands */ if (!Soft386ReadModrmWordOperands(State, &ModRegRm, &Dummy, &Value)) {