package codegen
- Alphabetic
- Public
- All
Type Members
- class AssemblyModel extends AnyRef
- class AssemblyModelException extends Exception
- case class AssignmentValue(data: Int, line: Line, symbolType: SymbolType.Value) extends SourcedValue with Product with Serializable
- case class CasedSymbolName extends Product with Serializable
- class CodeGenerationException extends Exception
- class CodeGenerator extends AnyRef
-
class
OffsetTransformer extends TransputerDirectInstructions
Transforms Statements by converting embedded Offsets in expressions (which have no address state) to OffsetFroms (which are relative to an address).
Transforms Statements by converting embedded Offsets in expressions (which have no address state) to OffsetFroms (which are relative to an address). Also converts DxDUP to a list of repeated expressions that can then be encoded as Dx - whilst evaluating the address of any Offset/OffsetFrom in them.
Other Statements are not transformed.
-
class
Pass2Structure extends AnyRef
State store for Pass 2 addresses, lines/statements to be assembled in Pass 2, and the size of the block assembled in Pass 1.
State store for Pass 2 addresses, lines/statements to be assembled in Pass 2, and the size of the block assembled in Pass 1. Created in If1/Else/Endif processing.
- sealed abstract class SourcedValue extends AnyRef
- class StatementTransformationException extends Exception
- case class Storage(address: Int, cellWidth: Int, data: Array[Int], line: Line, exprs: List[Expression]) extends SourcedValue with Product with Serializable
- class StorageForwardReferenceFixups extends AnyRef
- class SymbolForwardReferenceFixupState extends AnyRef
- class SymbolForwardReferenceFixups extends AnyRef
- case class SymbolTableEntry(casedSymbolName: CasedSymbolName, value: Int) extends Product with Serializable
- case class UnresolvableSymbol(line: Line, symbolType: SymbolType.Value, casedSymbolName: CasedSymbolName, expr: Expression) extends Product with Serializable
Value Members
- object CasedSymbolName extends Product with Serializable
- object DirectInstructionEncoder
- object Endianness extends Enumeration
- object SymbolType extends Enumeration