cmsx.assembly Namespace

Classes

public class Assembler
public class AssemblyInstruction
public class AssemblyInstructionMap
public class At
public class BSpecInstruction
public class BinaryExpression
public class BranchInstruction
public class ByteInstruction
public class CallInstruction
public class CharacterConstant
public class ClsIdConstant
public abstract class Constant
public class DecimalConstant
public class ESpecInstruction
public class ExternInstruction
public class FloatingPointInstruction
public class FloatingRoundingInstruction
public class GetInstruction
public class GoInstruction
public class HexConstant
public class Instruction
public abstract class IntegralConstant
public class IsInstruction
public class JumpInstruction
public class LinkOnceInstruction
public class LoadInstruction
public class NegateInstruction
public abstract class Node
public class OctaInstruction
public class OpCode
public class OperandList
public class ParenthesizedExpression
public class PseudoOpMap
public class PutInstruction
public class RegisterInstruction
public class RetInstruction
public class ScopedAssemblyLexerPtr
public class SetInstruction
public class StoreConstantInstruction
public class StoreInstruction
public class StringConstant
public class SwymInstruction
public class SymbolNode
public class TetraInstruction
public class TrapInstruction
public class UnaryExpression
public class Visitor
public class WydeImmediateInstruction
public class WydeInstruction

Functions

public void Error(const String<char>& message, const Span& span)
public String<char> GetOpCodeStr(int opCode)
public CharacterConstant* MakeCharConstant(const Span& span, const Token& token)
public ClsIdConstant* MakeClsIdConstant(const Span& span, const Token& token)
public HexConstant* MakeHexConstant(const Span& span, const Token& token)
public SymbolNode* MakeLocalSymbolNode(const Span& span, const Token& token)
Instruction* MakeModeInst(const Span& span, const Token& token)
public nothrow OpCode* MakeOpCode(const Span& span, const String<uchar>& name)
public StringConstant* MakeStringConstant(const Span& span, const Token& token)
public SymbolNode* MakeSymbolNode(const Span& span, const Token& token)
public void ProcessAssemblyFile(int index, const String<char>& assemblyFilePath, bool verbose, const String<char>& outdir)

Enumerated Types

public enum Direction
public enum Operator
public enum Stage

Constants

public const ulong BEGINCLEANUP = 6u
public const ulong BEGINTRY = 3u
public const int BSPEC = 272
public const int BYTE = 263
public const ulong CATCH = 5u
public const int CODE = 267
public const int DATA = 268
public const int DEBUG = 269
public const ulong ENDCLEANUP = 7u
public const int ENDF = 260
public const int ENDS = 262
public const ulong ENDTRY = 4u
public const int ESPEC = 273
public const int EXTERN = 257
public const ulong FILEINFO = 0u
public const int FUNC = 259
public const ulong FUNCINFO = 1u
public const int IS = 256
public const int LDA = 270
public const ulong LINEINFO = 2u
public const int LINKONCE = 258
public const int OCTA = 266
public const int SET = 271
public const int STRUCT = 261
public const int TETRA = 265
public const int WYDE = 264
public const int numInsts = ESPEC + 1

Function Details

Error Function

public void Error(const String<char>& message, const Span& span)

Definition
Line 28 of cmsxa/Assembler.cm


GetOpCodeStr Function

public String<char> GetOpCodeStr(int opCode)

Definition
Line 123 of cmsxa/Assembly.cm


MakeCharConstant Function

public CharacterConstant* MakeCharConstant(const Span& span, const Token& token)

Definition
Line 206 of cmsxa/Assembly.cm


MakeClsIdConstant Function

public ClsIdConstant* MakeClsIdConstant(const Span& span, const Token& token)

Definition
Line 267 of cmsxa/Assembly.cm


MakeHexConstant Function

public HexConstant* MakeHexConstant(const Span& span, const Token& token)

Definition
Line 182 of cmsxa/Assembly.cm


MakeLocalSymbolNode Function

public SymbolNode* MakeLocalSymbolNode(const Span& span, const Token& token)

Definition
Line 335 of cmsxa/Assembly.cm


MakeModeInst Function

Instruction* MakeModeInst(const Span& span, const Token& token)

Definition
Line 464 of cmsxa/Assembly.cm


MakeOpCode Function

public nothrow OpCode* MakeOpCode(const Span& span, const String<uchar>& name)

Definition
Line 420 of cmsxa/Assembly.cm


MakeStringConstant Function

public StringConstant* MakeStringConstant(const Span& span, const Token& token)

Definition
Line 229 of cmsxa/Assembly.cm


MakeSymbolNode Function

public SymbolNode* MakeSymbolNode(const Span& span, const Token& token)

Definition
Line 340 of cmsxa/Assembly.cm


ProcessAssemblyFile Function

public void ProcessAssemblyFile(int index, const String<char>& assemblyFilePath, bool verbose, const String<char>& outdir)

Definition
Line 485 of cmsxa/Assembly.cm