void OPPROTO glue(glue(op_movs, SUFFIX), STRING_SUFFIX)(void)
{
int v, inc;
- inc = (DF << SHIFT);
v = glue(ldu, SUFFIX)(SI_ADDR);
glue(st, SUFFIX)(DI_ADDR, v);
inc = (DF << SHIFT);
v = glue(ldu, SUFFIX)(DI_ADDR);
inc = (DF << SHIFT);
INC_DI();
- CC_SRC = EAX;
+ CC_SRC = v;
CC_DST = EAX - v;
}
if (v1 != v2)
break;
} while (CX != 0);
- CC_SRC = v1;
+ CC_SRC = v2;
CC_DST = v1 - v2;
CC_OP = CC_OP_SUBB + SHIFT;
}
if (v1 == v2)
break;
} while (CX != 0);
- CC_SRC = v1;
+ CC_SRC = v2;
CC_DST = v1 - v2;
CC_OP = CC_OP_SUBB + SHIFT;
}
inc = (DF << SHIFT);
INC_SI();
INC_DI();
- CC_SRC = v1;
+ CC_SRC = v2;
CC_DST = v1 - v2;
}
if (v1 != v2)
break;
} while (CX != 0);
- CC_SRC = v1;
+ CC_SRC = v2;
CC_DST = v1 - v2;
CC_OP = CC_OP_SUBB + SHIFT;
}
if (v1 == v2)
break;
} while (CX != 0);
- CC_SRC = v1;
+ CC_SRC = v2;
CC_DST = v1 - v2;
CC_OP = CC_OP_SUBB + SHIFT;
}
int v, dx, inc;
dx = EDX & 0xffff;
v = glue(ldu, SUFFIX)(SI_ADDR);
- glue(cpu_x86_out, SUFFIX)(dx, v);
+ glue(cpu_x86_out, SUFFIX)(env, dx, v);
inc = (DF << SHIFT);
INC_SI();
}
dx = EDX & 0xffff;
while (CX != 0) {
v = glue(ldu, SUFFIX)(SI_ADDR);
- glue(cpu_x86_out, SUFFIX)(dx, v);
+ glue(cpu_x86_out, SUFFIX)(env, dx, v);
INC_SI();
DEC_CX();
}
{
int v, dx, inc;
dx = EDX & 0xffff;
- v = glue(cpu_x86_in, SUFFIX)(dx);
+ v = glue(cpu_x86_in, SUFFIX)(env, dx);
glue(st, SUFFIX)(DI_ADDR, v);
inc = (DF << SHIFT);
INC_DI();
inc = (DF << SHIFT);
dx = EDX & 0xffff;
while (CX != 0) {
- v = glue(cpu_x86_in, SUFFIX)(dx);
+ v = glue(cpu_x86_in, SUFFIX)(env, dx);
glue(st, SUFFIX)(DI_ADDR, v);
INC_DI();
DEC_CX();