mirror of https://github.com/bochs-emu/Bochs
(cpu64) Merged mult8.cc
This commit is contained in:
parent
5e93ae3cd9
commit
9393b0046c
|
@ -66,7 +66,6 @@ OBJS32 = \
|
|||
data_xfer32.o \
|
||||
logical32.o \
|
||||
stack32.o \
|
||||
mult8.o \
|
||||
data_xfer8.o \
|
||||
logical8.o \
|
||||
ctrl_xfer8.o \
|
||||
|
@ -103,6 +102,7 @@ OBJSXX = \
|
|||
stack16.o \
|
||||
protect_ctrl.o \
|
||||
protect_ctrl_pro.o \
|
||||
mult8.o \
|
||||
|
||||
|
||||
# Objects which are only used for x86-64 code, but which have been
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: mult8.cc,v 1.6 2001-10-03 13:10:37 bdenney Exp $
|
||||
// $Id: mult8.cc,v 1.7 2002-09-13 21:34:00 kevinlawton Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
|
@ -46,7 +46,7 @@ BX_CPU_C::MUL_ALEb(BxInstruction_t *i)
|
|||
|
||||
/* op2 is a register or memory reference */
|
||||
if (i->mod == 0xc0) {
|
||||
op2 = BX_READ_8BIT_REG(i->rm);
|
||||
op2 = BX_READ_8BIT_REGx(i->rm,i->extend8bit);
|
||||
}
|
||||
else {
|
||||
/* pointer, segment address pair */
|
||||
|
@ -80,7 +80,7 @@ BX_CPU_C::IMUL_ALEb(BxInstruction_t *i)
|
|||
|
||||
/* op2 is a register or memory reference */
|
||||
if (i->mod == 0xc0) {
|
||||
op2 = BX_READ_8BIT_REG(i->rm);
|
||||
op2 = BX_READ_8BIT_REGx(i->rm,i->extend8bit);
|
||||
}
|
||||
else {
|
||||
/* pointer, segment address pair */
|
||||
|
@ -120,7 +120,7 @@ BX_CPU_C::DIV_ALEb(BxInstruction_t *i)
|
|||
|
||||
/* op2 is a register or memory reference */
|
||||
if (i->mod == 0xc0) {
|
||||
op2 = BX_READ_8BIT_REG(i->rm);
|
||||
op2 = BX_READ_8BIT_REGx(i->rm,i->extend8bit);
|
||||
}
|
||||
else {
|
||||
/* pointer, segment address pair */
|
||||
|
@ -165,7 +165,7 @@ BX_CPU_C::IDIV_ALEb(BxInstruction_t *i)
|
|||
|
||||
/* op2 is a register or memory reference */
|
||||
if (i->mod == 0xc0) {
|
||||
op2 = BX_READ_8BIT_REG(i->rm);
|
||||
op2 = BX_READ_8BIT_REGx(i->rm,i->extend8bit);
|
||||
}
|
||||
else {
|
||||
/* pointer, segment address pair */
|
||||
|
|
Loading…
Reference in New Issue