See: Description
Class | Description |
---|---|
MARSSimulator |
An interface to the MARS MIPS simulator.
|
MemoryObserver |
Track changes to memory so that we can verify that memory has not changed unexpectedly.
|
ModifiedMIPSprogram |
Subclass of the
MIPSProgram class in MARS that allows us to more efficiently load and manipulate the
code under test. |
MUnit |
These methods allow
MUnit test writers to set up and query the state of the simulated CPU. |
MUnit.Label |
Represents a label in a file's
.data section. |
MUnitCore |
A JUnit-based testing suite for MIPS assembly.
|
MUnitCore.Parameters |
Enum | Description |
---|---|
MARSSimulator.SymbolType |
Identifies Symbol as a label in either the .text section or the .data section.
|
MUnit.DoubleRegister |
List of MIPS floating-point registers that can be used for double-precision data.
|
MUnit.FloatRegister |
List of all MIPS floating-point registers.
|
MUnit.Register |
List of MIPS general purpose registers
|
Exception | Description |
---|---|
MARSSimulator.DuplicateLabelException |
Exception raised when attempting to create a label when a label of the same name already exists.
|
MARSSimulator.InvalidRegisterException |
Exception thrown if invalid register number is given.
|
MARSSimulator.LabelNotFoundException |
Exception thrown if user specifies a label that does not exist
|
MARSSimulator.LabelTypeException |
Exception raised when a label is of the wrong type.
|
MARSSimulator.MUNITAddressErrorException |
Exception raised when requesting an invalid memory address.
|
MARSSimulator.MUNITProcessingException |
Exception raised when the MARS simulator raises a
ProcessingException while simulating assembly code. |
MARSSimulator.NullLabelException |
Exception raised when passing
null as a label. |