hades.models.pic
Class PicCalcIORWF

java.lang.Object
  extended byhades.models.pic.PicCalc
      extended byhades.models.pic.PicCalcIORWF

class PicCalcIORWF
extends PicCalc

IORWF-Operation


Field Summary
static int CARRY
           
static int DIGITCARRY
           
protected  boolean skip
           
protected  PicByteReg statusReg
           
static int ZERO
           
 
Constructor Summary
PicCalcIORWF(PicByteReg statusReg)
           
 
Method Summary
 int calc(int op1, int op2)
           
 boolean getSkip()
           
protected  void testCarry(int value)
           
protected  void testDigitCarry(int value)
           
protected  void testZero(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statusReg

protected PicByteReg statusReg

skip

protected boolean skip

CARRY

public static int CARRY

DIGITCARRY

public static int DIGITCARRY

ZERO

public static int ZERO
Constructor Detail

PicCalcIORWF

public PicCalcIORWF(PicByteReg statusReg)
Method Detail

calc

public int calc(int op1,
                int op2)
Overrides:
calc in class PicCalc

testZero

protected void testZero(int value)

testCarry

protected void testCarry(int value)

testDigitCarry

protected void testDigitCarry(int value)

getSkip

public boolean getSkip()