|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicAlu
PicAlu - The ALU implemented in Microchip-microcontrollers
Constructor Summary | |
PicAlu(PicByteReg _statusReg)
Share the status bits with the register bank |
Method Summary | |
int |
alu(int instruction,
int operand1,
int operand2)
Perform an Alu-Operation, operand1 is a register and operand2 is the working register |
int |
bitAlu(int instruction,
int operand,
int bitNumber)
Perform an Bit-Operation, operand is a register and bit is the affected bit number |
boolean |
getSkip()
|
int |
literalAlu(int instruction,
int operand1,
int operand2)
Perform an Alu-Operation, operand1 is a literal and operand2 is the working register |
void |
por()
|
void |
reset()
|
void |
setSkip(boolean newSkip)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PicAlu(PicByteReg _statusReg)
Method Detail |
public void por()
public void reset()
public void setSkip(boolean newSkip)
public boolean getSkip()
public int alu(int instruction, int operand1, int operand2)
public int literalAlu(int instruction, int operand1, int operand2)
public int bitAlu(int instruction, int operand, int bitNumber)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |