Package mars.assembler
package mars.assembler
-
Interface SummaryInterfaceDescriptionThis interface is intended for use by ExtendedInstruction objects to define, using the translate() method, how to translate the extended (pseudo) instruction into a sequence of one or more basic instructions, which can then be translated into binary machine code.
-
Class SummaryClassDescriptionAn Assembler is capable of assembling a MIPS program.Information about MIPS data types.Class representing MIPS assembler directives.Stores information of a macro definition.Stores information of macros defined by now.Provides utility method related to MIPS operand formats.Handy class to represent, for a given line of source code, the code itself, the program containing it, and its line number within that program.Represents a MIPS program identifier to be stored in the symbol table.Creates a table of Symbol objects.Represents one token in the input MIPS program.A tokenizer is capable of tokenizing a complete MIPS program, or a given line from a MIPS program.Represents the list of tokens in a single line of MIPS code.Constants to identify the types of tokens found in MIPS programs.