|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mars.mips.hardware.AccessNotice | +--mars.mips.hardware.MemoryAccessNotice
Object provided to Observers of runtime access to MIPS memory. Observer can get the access type (R/W), address and length in bytes (4,2,1).
Field Summary |
Fields inherited from class mars.mips.hardware.AccessNotice |
READ, WRITE |
Method Summary | |
int |
getAddress()
Fetch the memory address that was accessed. |
int |
getLength()
Fetch the length in bytes of the access operation (4,2,1). |
int |
getValue()
Fetch the value of the access operation (the value read or written). |
java.lang.String |
toString()
String representation indicates access type, address and length in bytes |
Methods inherited from class mars.mips.hardware.AccessNotice |
accessIsFromGUI, accessIsFromMIPS, getAccessType, getThread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getAddress()
public int getLength()
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |