Uses of Class
mars.mips.hardware.AddressErrorException
Packages that use AddressErrorException
-
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 TypeMethodDescriptionstatic void
Memory.enforceDoublewordAlignment
(int address, int exceptionCause) Ensure that a given address is aligned on a doubleword boundary, throwing an exception otherwise.static void
Memory.enforceHalfwordAlignment
(int address, int exceptionCause) Ensure that a given address is aligned on a halfword boundary, throwing an exception otherwise.static void
Memory.enforceWordAlignment
(int address, int exceptionCause) Ensure that a given address is aligned on a word boundary, throwing an exception otherwise.int
Memory.fetch
(int address, int length, boolean notify) Fetch a byte, halfword, or word from memory at a given address, which must be aligned properly.int
Memory.fetchByte
(int address, boolean notify) Fetch a byte from memory at a given address.long
Memory.fetchDoubleword
(int address, boolean notify) Fetch a doubleword from memory at a given address, which must be aligned to a word boundary.int
Memory.fetchHalfword
(int address, boolean notify) Fetch a halfword from memory at a given address, which must be aligned to a halfword boundary.Memory.fetchNullTerminatedString
(int address) Reads a null-terminated string from memory starting at the given address.Memory.fetchStatement
(int address, boolean notify) Fetch a statement from memory at a given address, which must be aligned to a word boundary.int
Memory.fetchWord
(int address, boolean notify) Fetch a word from memory at a given address, which must be aligned to a word boundary.Memory.fetchWordOrNull
(int address) Fetch a word from memory at a given address, which must be aligned to a word boundary.int
Memory.getAddressOfFirstNullWord
(int firstAddress, int lastAddress) Search for first "null" memory value in an address range, as indicated by the return value ofMemory.fetchWordOrNull(int)
.void
Memory.store
(int address, int value, int length, boolean notify) Store a byte, halfword, or word in memory at a given address, which must be aligned properly.void
Memory.storeByte
(int address, int value, boolean notify) Store a byte in memory at a given address.void
Memory.storeDoubleword
(int address, long value, boolean notify) Store a doubleword in memory at a given address, which must be aligned to a word boundary.void
Memory.storeHalfword
(int address, int value, boolean notify) Store a halfword in memory at a given address, which must be aligned to a halfword boundary.void
Memory.storeStatement
(int address, BasicStatement statement, boolean notify) Store a statement in memory at a given address, which must be aligned to a word boundary.void
Memory.storeWord
(int address, int value, boolean notify) Store a word in memory at a given address, which must be aligned to a word boundary. -
Uses of AddressErrorException in mars.simulator
Constructors in mars.simulator with parameters of type AddressErrorExceptionModifierConstructorDescriptionSimulatorException
(BasicStatement statement, AddressErrorException exception) Constructor for ProcessingException to handle address runtime exceptionsSimulatorException
(AddressErrorException exception) Constructor for ProcessingException.