|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a PIC that offers internal access and other features to make it debuggable.
You can read the source of this interface here.
Method Summary | |
int |
getBreakpoint(int n)
Retunrs the address of the nth breakpoint. |
java.lang.String[] |
getBreakpointsForDisplay()
Returns the breakpoints for display. |
DebuggableFileRegisters |
getFileRegisters()
Returns the DebuggableFileRegisters. |
java.lang.String[] |
getFlashForDisplay()
Returns the program loaded into the flash for display. |
DebuggableFlash |
getFlashMemory()
Returns the DebuggableFlash. |
java.lang.String |
getFlashRefresh(int n,
java.lang.String s)
Refreshes the flash program. |
int |
getPC()
Returns the program counter. |
int |
getSP()
Returns the stack pointer. |
int |
getStack(int Level)
Returns the Level element of the stack. |
java.lang.String[] |
getStackForDisplay()
Returns the stack for display. |
java.lang.String[] |
getStateForDisplay()
Returns the state of the PIC. |
int |
getW()
Returns the W register. |
boolean |
isBreakpoint(int n)
Returns true if there already is a breakpoint at address n. |
void |
removeBreakpoint(int n)
Removes the breakpoint at address n. |
void |
setBreakpoint(int n)
Sets a breakpoint to address n. |
void |
setPC(int n)
Sets the program counter. |
void |
setSP(int n)
Sets the stack pointer. |
void |
setStack(int Level,
int n)
Sets the Level element of the stack. |
void |
setW(int n)
Sets the W register. |
void |
Trace()
Executes one instruction. |
Methods inherited from interface PIC |
addComponentToNotify,
ExecInstruction,
ReprogramFlash,
Reset,
Run |
Methods inherited from interface DigitalComponent |
connectPin,
getState,
isPinConnected,
notifyOneCycle,
setPinState,
setPinStateDontNotify |
Method Detail |
public void Trace()
public int getPC()
public void setPC(int n)
public int getW()
public void setW(int n)
public int getSP()
public void setSP(int n)
public int getStack(int Level)
public void setStack(int Level, int n)
public DebuggableFlash getFlashMemory()
public DebuggableFileRegisters getFileRegisters()
public java.lang.String[] getStateForDisplay()
public java.lang.String[] getStackForDisplay()
public java.lang.String[] getFlashForDisplay()
public java.lang.String getFlashRefresh(int n, java.lang.String s)
n
- The address of the instruction to refresh.public java.lang.String[] getBreakpointsForDisplay()
public void setBreakpoint(int n)
public int getBreakpoint(int n)
public boolean isBreakpoint(int n)
public void removeBreakpoint(int n)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |