Uses of Class
mars.mips.hardware.AddressErrorException
Packages that use AddressErrorException
-
Uses of AddressErrorException in mars
Constructors in mars with parameters of type AddressErrorExceptionModifierConstructorDescriptionConstructor for ProcessingException.Constructor for ProcessingException to handle address runtime exceptions -
Uses of AddressErrorException in mars.mips.dump
Methods in mars.mips.dump that throw AddressErrorExceptionModifier and TypeMethodDescriptionabstract void
AbstractDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents according to the specification for this format.void
AsciiTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Interpret MIPS memory contents as ASCII characters.void
BinaryDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents in pure binary format.void
BinaryTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents in binary text format.void
DumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents according to the specification for this format.void
HexTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents in hexadecimal text format.void
IntelHexDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents according to the Memory Initialization File (MIF) specification.void
MIFDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents according to the Memory Initialization File (MIF) specification.void
SegmentWindowDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress)
Write MIPS memory contents in Segment Window format. -
Uses of AddressErrorException in mars.mips.hardware
Methods in mars.mips.hardware that throw AddressErrorExceptionModifier and TypeMethodDescriptionvoid
Memory.addObserver(Observer obs, int addr)
Method to accept registration from observer for specific address.void
Memory.addObserver(Observer obs, int startAddr, int endAddr)
Method to accept registration from observer for specific address range.int
Memory.get(int address, int length)
Starting at the given word address, read the given number of bytes (max 4).int
Memory.getAddressOfFirstNull(int baseAddress, int limitAddress)
Look for first "null" memory value in an address range.int
Memory.getByte(int address)
Reads specified Memory byte into low order 8 bits of int.int
Memory.getHalf(int address)
Starting at the given word address, read a 2 byte word into lower 16 bits of int.int
Memory.getRawWord(int address)
Starting at the given word address, read a 4 byte word as an int.Memory.getRawWordOrNull(int address)
Starting at the given word address, read a 4 byte word as an int and return Integer.Memory.getStatement(int address)
Gets ProgramStatement from Text Segment.Memory.getStatementNoNotify(int address)
Gets ProgramStatement from Text Segment without notifying observers.int
Memory.getWord(int address)
Starting at the given word address, read a 4 byte word as an int.int
Memory.getWordNoNotify(int address)
Starting at the given word address, read a 4 byte word as an int.int
Memory.set(int address, int value, int length)
Starting at the given address, write the given value over the given number of bytes.int
Memory.setByte(int address, int value)
Writes low order 8 bits of given value into specified Memory byte.double
Memory.setDouble(int address, double value)
Writes 64 bit double value starting at specified Memory address.int
Memory.setHalf(int address, int value)
Starting at the given halfword address, write the lower 16 bits of given value into 2 bytes (a halfword).int
Memory.setRawWord(int address, int value)
Starting at the given word address, write the given value over 4 bytes (a word).void
Memory.setStatement(int address, ProgramStatement statement)
Stores ProgramStatement in Text Segment.int
Memory.setWord(int address, int value)
Starting at the given word address, write the given value over 4 bytes (a word). -
Uses of AddressErrorException in mars.util
Methods in mars.util that throw AddressErrorExceptionModifier and TypeMethodDescriptionstatic int
MemoryDump.getAddressOfFirstNull(int baseAddress, int limitAddress)
Look for first "null" memory value in an address range.