|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmars.mips.dump.AbstractDumpFormat
mars.mips.dump.IntelHexDumpFormat
public class IntelHexDumpFormat
Intel's Hex memory initialization format
Constructor Summary | |
---|---|
IntelHexDumpFormat()
Constructor. |
Method Summary | |
---|---|
void |
dumpMemoryRange(java.io.File file,
int firstAddress,
int lastAddress)
Write MIPS memory contents according to the Memory Initialization File (MIF) specification. |
Methods inherited from class mars.mips.dump.AbstractDumpFormat |
---|
getCommandDescriptor, getDescription, getFileExtension, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntelHexDumpFormat()
Method Detail |
---|
public void dumpMemoryRange(java.io.File file, int firstAddress, int lastAddress) throws AddressErrorException, java.io.IOException
dumpMemoryRange
in interface DumpFormat
dumpMemoryRange
in class AbstractDumpFormat
file
- File in which to store MIPS memory contents.firstAddress
- first (lowest) memory address to dump. In bytes but
must be on word boundary.lastAddress
- last (highest) memory address to dump. In bytes but
must be on word boundary. Will dump the word that starts at this address.
AddressErrorException
- if firstAddress is invalid or not on a word boundary.
java.io.IOException
- if error occurs during file output.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |