|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReadableMemory
Represents the memory that exports only read access.
| Method Summary | |
|---|---|
int |
getByte(int addr)
Returns a single byte, unsigned, read from the address in the memory. |
int |
getSize()
Returns the size of the memory. |
int |
getWord(int addr)
Returns the word value at the given address. |
| Method Detail |
|---|
int getWord(int addr)
addr - the address, from where to fetch the word
int getByte(int addr)
addr - the byte address of the byte to read from the memory
int getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||