|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loader
Interface used to load a program / data in the cpu memory
Method Summary | |
---|---|
boolean |
isFileSupported(java.lang.String name)
Test if the interface support one file. |
void |
load(Memory m,
java.lang.String name,
int address,
LoadInfo info)
Load the file in memory |
void |
setCPU(CPU cpu)
|
Method Detail |
---|
boolean isFileSupported(java.lang.String name)
name
- - File to be tested.
void setCPU(CPU cpu)
void load(Memory m, java.lang.String name, int address, LoadInfo info) throws SIMException
m
- - Memory where load the file.name
- - File name.address
- - Base address where start loading.info
- - Load information must be set after loading is
completed.
SIMException
LoadInfo
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |