Uses of Enum Class
mars.assembler.OperandType
Packages that use OperandType
Package
Description
-
Uses of OperandType in mars.assembler
Methods in mars.assembler that return OperandTypeModifier and TypeMethodDescriptionstatic OperandType
Operand.getType()
static OperandType
OperandType.union
(OperandType type1, OperandType type2) static OperandType
Returns the enum constant of this class with the specified name.static OperandType[]
OperandType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in mars.assembler with parameters of type OperandTypeModifier and TypeMethodDescriptionboolean
OperandType.accepts
(OperandType fromType) Determine whether this type "accepts" another type; that is, whether an operand with the given type can be interpreted as having this type.boolean
OperandType.acceptsLoosely
(OperandType fromType) Determine whether this type "accepts" another type; that is, whether an operand with the given type can be interpreted as having this type.Operand.convertToType
(OperandType targetType, StatementSyntax syntax, Assembler assembler, int address) static OperandType
OperandType.union
(OperandType type1, OperandType type2) Operand.withType
(OperandType type) Constructors in mars.assembler with parameters of type OperandType -
Uses of OperandType in mars.assembler.extended
Methods in mars.assembler.extended that return OperandTypeModifier and TypeMethodDescriptionFlagSubstitutionOperand.getType()
OperandModifier.getType
(OperandType inputType) OperandSubstitution.getType()
TemplateOperand.getType()
Methods in mars.assembler.extended with parameters of type OperandTypeModifier and TypeMethodDescriptionOperandModifier.getType
(OperandType inputType) FlagSubstitutionOperand.withType
(OperandType type) OperandSubstitution.withType
(OperandType type) TemplateOperand.withType
(OperandType type) Constructors in mars.assembler.extended with parameters of type OperandTypeModifierConstructorDescriptionFlagSubstitutionOperand
(AssemblerFlag flag, TemplateOperand enabledValue, TemplateOperand disabledValue, OperandType type) OperandSubstitution
(int operandIndex, List<OperandModifier> modifiers, OperandType originalType) Constructor parameters in mars.assembler.extended with type arguments of type OperandTypeModifierConstructorDescriptionTemplateParser
(List<OperandType> originalTypes, Iterator<SourceLine> sourceLines) -
Uses of OperandType in mars.assembler.syntax
Methods in mars.assembler.syntax that return OperandType -
Uses of OperandType in mars.mips.instructions
Methods in mars.mips.instructions that return types with arguments of type OperandTypeMethod parameters in mars.mips.instructions with type arguments of type OperandTypeModifier and TypeMethodDescriptionboolean
Instruction.acceptsOperands
(List<OperandType> givenTypes) boolean
Instruction.acceptsOperandsLoosely
(List<OperandType> givenTypes) static String
Instruction.formatOperands
(List<OperandType> operandTypes, List<String> operands) static String
Instruction.formatSyntax
(String mnemonic, List<OperandType> operandTypes, List<String> operands, boolean align) Instruction.generateExampleOperands
(String mnemonic, List<OperandType> operandTypes) Constructor parameters in mars.mips.instructions with type arguments of type OperandTypeModifierConstructorDescriptionBasicInstruction
(String mnemonic, List<OperandType> operandTypes, InstructionFormat format, boolean isCTI, String title, String description, String encoding, SimulationFunction function) Create a newBasicInstruction
.ExtendedInstruction
(String mnemonic, List<OperandType> operandTypes, String title, String description) Create a newExtendedInstruction
.protected
Instruction
(String mnemonic, List<OperandType> operandTypes, String title, String description)