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 voidAbstractDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents according to the specification for this format.voidAsciiTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Interpret MIPS memory contents as ASCII characters.voidBinaryDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents in pure binary format.voidBinaryTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents in binary text format.voidDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents according to the specification for this format.voidHexTextDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents in hexadecimal text format.voidIntelHexDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents according to the Memory Initialization File (MIF) specification.voidMIFDumpFormat.dumpMemoryRange(File file, int firstAddress, int lastAddress) Write MIPS memory contents according to the Memory Initialization File (MIF) specification.voidSegmentWindowDumpFormat.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 voidMemory.enforceDoublewordAlignment(int address, int exceptionCause) Ensure that a given address is aligned on a doubleword boundary, throwing an exception otherwise.static voidMemory.enforceHalfwordAlignment(int address, int exceptionCause) Ensure that a given address is aligned on a halfword boundary, throwing an exception otherwise.static voidMemory.enforceWordAlignment(int address, int exceptionCause) Ensure that a given address is aligned on a word boundary, throwing an exception otherwise.intMemory.fetch(int address, int length, boolean notify) Fetch a byte, halfword, or word from memory at a given address, which must be aligned properly.intMemory.fetchByte(int address, boolean notify) Fetch a byte from memory at a given address.longMemory.fetchDoubleword(int address, boolean notify) Fetch a doubleword from memory at a given address, which must be aligned to a word boundary.intMemory.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.intMemory.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.intMemory.getAddressOfFirstNullWord(int firstAddress, int lastAddress) Search for first "null" memory value in an address range, as indicated by the return value ofMemory.fetchWordOrNull(int).voidMemory.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.voidMemory.storeByte(int address, int value, boolean notify) Store a byte in memory at a given address.voidMemory.storeDoubleword(int address, long value, boolean notify) Store a doubleword in memory at a given address, which must be aligned to a word boundary.voidMemory.storeHalfword(int address, int value, boolean notify) Store a halfword in memory at a given address, which must be aligned to a halfword boundary.voidMemory.storeStatement(int address, BasicStatement statement, boolean notify) Store a statement in memory at a given address, which must be aligned to a word boundary.voidMemory.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.