head	1.1;
branch	1.1.1;
access;
symbols
	ver0_1:1.1.1.1
	release_0_1:1.1.1;
locks; strict;
comment	@// @;


1.1
date	2002.09.05.11.31.34;	author zhong;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.09.05.11.31.34;	author zhong;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@// scMult.cpp: implementation of the scMult class.
//
//////////////////////////////////////////////////////////////////////

#include "scMult.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

scMult::scMult(uint32_t i)
{
	cout<<"uncomplete scMult"<<endl;
}

scMult::~scMult()
{

}
const char* scMult::kind_string="Multiply";
const char* scMult::kind()
{
  return kind_string;
}

uint32_t scMult::A()
{

  if(ir.set==1)
  {
	return 0;
  }else 
  {
     return ir.rn;   
  }

 
}

REGS scMult::Rd()
{
  return REGS(ir.rd);
}

bool scMult::is_mult()
{
  return true;
}

uint32_t scMult::B()
{
  return ir.rm;
}

uint32_t scMult::dist()
{
  return ir.rs;
}

bool scMult::is_rs()
{
  return true;
}


OPCODE scMult::op()
{
  return OPCODE(ir.opcode);
}
@


1.1.1.1
log
@v0_1
@
text
@@
