hades.models.pic
Class PicCalcCOMF

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

class PicCalcCOMF
extends PicCalc

COMF-Operation


Field Summary
static int CARRY
           
static int DIGITCARRY
           
protected  boolean skip
           
protected  PicByteReg statusReg
           
static int ZERO
           
 
Constructor Summary
PicCalcCOMF(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

PicCalcCOMF

public PicCalcCOMF(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()