|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Watch
interface represents a user watch that is fired when a watchpoint detects
an access to an address where this watch has been inserted.
Nested Class Summary | |
static class |
Simulator.Watch.Empty
The Simulator.Watch.Empty class acts as a base class with empty methods for
each fireXXX() method. |
Method Summary | |
void |
fireAfterRead(State state,
int data_addr,
byte value)
The fireAfterRead() method is called after the data address is read by the program. |
void |
fireAfterWrite(State state,
int data_addr,
byte value)
The fireAfterWrite() method is called after the data address is written by the
program. |
void |
fireBeforeRead(State state,
int data_addr)
The fireBeforeRead() method is called before the data address is read by the program. |
void |
fireBeforeWrite(State state,
int data_addr,
byte value)
The fireBeforeWrite() method is called before the data address is written by the
program. |
Method Detail |
public void fireBeforeRead(State state, int data_addr)
fireBeforeRead()
method is called before the data address is read by the program.
state
- the state of the simulationdata_addr
- the address of the data being referencedpublic void fireBeforeWrite(State state, int data_addr, byte value)
fireBeforeWrite()
method is called before the data address is written by the
program.
state
- the state of the simulationdata_addr
- the address of the data being referencedvalue
- the value being written to the memory locationpublic void fireAfterRead(State state, int data_addr, byte value)
fireAfterRead()
method is called after the data address is read by the program.
state
- the state of the simulationdata_addr
- the address of the data being referencedvalue
- the value of the memory location being readpublic void fireAfterWrite(State state, int data_addr, byte value)
fireAfterWrite()
method is called after the data address is written by the
program.
state
- the state of the simulationdata_addr
- the address of the data being referencedvalue
- the value being written to the memory location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |