|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hades.models.pic.PicEprom hades.models.pic.TurboPicCore.PicMemoryEpromAdapter
Field Summary |
Fields inherited from class hades.models.pic.PicEprom |
bits, bytes, eprom, filename, labels, maxWord, mlTable |
Constructor Summary | |
(package private) |
TurboPicCore.PicMemoryEpromAdapter()
|
Method Summary | |
java.lang.String |
getLabel(int addr)
return the label corresponding to this ROM address - or null if none set. |
int |
getMemorySize()
getMemorySize reports the size of the eprom in words |
int |
getWordWidth()
getWordWidth reports the width of one word in bits |
int |
readMemory(int addr)
Read a word, from interface PicMemory |
void |
writeMemory(int addr,
int value)
Write a word, from interface PicMemory |
Methods inherited from class hades.models.pic.PicEprom |
addLabel, addMemoryListener, canChangeSize, clearLabels, getBitsPerWord, getDataArray, getDataAt, getFilename, getResourcename, getSize, hasLabel, load, load, load, loadHEX, loadLBL, loadROM, merge, parse, parseLabelLine, por, removeMemoryListener, reset, resize, save, save, setBitsPerWord, setDataArray, setDataAt, setFilename, setFilename, setResourcename, setSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
TurboPicCore.PicMemoryEpromAdapter()
Method Detail |
public int getWordWidth()
PicEprom
getWordWidth
in interface PicMemory
getWordWidth
in class PicEprom
public int getMemorySize()
PicEprom
getMemorySize
in interface PicMemory
getMemorySize
in class PicEprom
public int readMemory(int addr)
PicEprom
readMemory
in interface PicMemory
readMemory
in class PicEprom
public void writeMemory(int addr, int value)
PicEprom
writeMemory
in interface PicMemory
writeMemory
in class PicEprom
public java.lang.String getLabel(int addr)
PicEprom
getLabel
in class PicEprom
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |