|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicIndfReg
PicIndfReg - Register for indirect addressing, if indf itself is addressed indirect then a shadow-register will be used to prevent recursive dead - actually this shadow-register is not a real register, it is implemented as a PicNoReg with no functionality
Field Summary | |
PicNoReg |
byte0
|
PicWordReg |
fsr
|
PicReg[] |
reg
|
PicByteReg |
status
|
Constructor Summary | |
PicIndfReg(PicBreakPoint newBp,
PicWordReg newFsr,
PicByteReg newStatus,
PicReg[] newReg)
|
Method Summary | |
protected PicReg |
findSource()
|
boolean |
getBit(int selectedBit)
test a specified bit |
int |
getBreakPoint()
Get BreakPoint returns the value that has been set by setBreakPoint |
int |
getSize()
How many bits are accessable with read() and write() ? |
int |
getSizeAll()
How many bits are accessable with readAll() and writeAll() ? |
void |
por()
Power-on-reset |
int |
read()
Read the normal content of the register |
int |
readAll()
Read the extended content of the register |
void |
reset()
Normal reset, often this will be the same as por() |
void |
setBit(int selectedBit,
boolean newValue)
set a specified bit |
void |
setBreakPoint(int value)
Set BreakPoint: value >= 0 : break if content equals value value = -1 : no breakpoint value = -2 : break if content has changed |
protected void |
testBreakPoint()
|
void |
write(int newValue)
write a new value into the register |
void |
writeAll(int newValue)
Write the extended content of the register |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public PicNoReg byte0
public PicWordReg fsr
public PicReg[] reg
public PicByteReg status
Constructor Detail |
public PicIndfReg(PicBreakPoint newBp, PicWordReg newFsr, PicByteReg newStatus, PicReg[] newReg)
Method Detail |
public int getSize()
PicReg
getSize
in interface PicReg
public int getSizeAll()
PicReg
getSizeAll
in interface PicReg
protected PicReg findSource()
public void por()
PicReg
por
in interface PicReg
public void reset()
PicReg
reset
in interface PicReg
public int read()
PicReg
read
in interface PicReg
public int readAll()
PicReg
readAll
in interface PicReg
public void write(int newValue)
write
in interface PicReg
public void writeAll(int newValue)
PicReg
writeAll
in interface PicReg
public void setBit(int selectedBit, boolean newValue)
setBit
in interface PicReg
public boolean getBit(int selectedBit)
getBit
in interface PicReg
public void setBreakPoint(int value)
PicReg
setBreakPoint
in interface PicReg
public int getBreakPoint()
PicReg
getBreakPoint
in interface PicReg
protected void testBreakPoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |