|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.cpu.AbstractLoader
jmce.sim.cpu.BinaryLoader
public class BinaryLoader
Sample implementation to load binary files.
Constructor Summary | |
---|---|
BinaryLoader(java.lang.String ext)
|
Method Summary | |
---|---|
void |
load(Memory m,
java.lang.String name,
int base,
LoadInfo info)
Load the file in memory |
Methods inherited from class jmce.sim.cpu.AbstractLoader |
---|
isFileSupported, setCPU, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BinaryLoader(java.lang.String ext)
Method Detail |
---|
public void load(Memory m, java.lang.String name, int base, LoadInfo info) throws SIMException
Loader
m
- - Memory where load the file.name
- - File name.base
- - 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 |